[04 May 2013] Debian 7.0 Wheezy released

May 13th, 2013

his release includes numerous updated software packages, such as:

Apache 2.2.22
Asterisk 1.8.13.1
GIMP 2.8.2
an updated version of the GNOME desktop environment 3.4
GNU Compiler Collection 4.7.2
Icedove 10 (an unbranded version of Mozilla Thunderbird)
Iceweasel 10 (an unbranded version of Mozilla Firefox)
KDE Plasma Workspaces and KDE Applications 4.8.4
kFreeBSD kernel 8.3 and 9.0
LibreOffice 3.5.4
Linux 3.2
MySQL 5.5.30
Nagios 3.4.1
OpenJDK 6b27 and 7u3
Perl 5.14.2
PHP 5.4.4
PostgreSQL 9.1
Python 2.7.3 and 3.2.3
Samba 3.6.6
Tomcat 6.0.35 and 7.0.28
Xen Hypervisor 4.1.4
the Xfce 4.8 desktop environment
X.Org 7.7

new debian ftpsync script installed

November 28th, 2012

new debian ftpsync script installed version 21/05/2012 which should solve sync errors and warning.

DirectAdmin pre backup check free disk space script

September 17th, 2012

Hello guys,

after really long time of non writing here; finally I’m happy to announce a small handy pre backup script hook for DA (Directadmin) server control panel system.

The idea behind is to check free disk space (in percents) of a particular partition, before (previously to) DA will fire up it’s backup script. This will work for user backups along with admin level backups.

For many years I found that I always face the problem that the local backups are eating up all the disk space on the server hence a nice (per user/account) pre backup free disk space will save you later problems with 100% disk full.

DA has a wonderful feature for calling pre/post scripts for various functions in the system, which one of them is the built-in backup system.

According to the DA knowledge base  documentation (and with John’s advice), we need simply create a bash/shell script called ‘user_backup_pre.sh’ and put it exactly here:

/usr/local/directadmin/scripts/custom/user_backup_pre.sh

DA knows that if such files exists in this path with this name, it should first run it and receive a NULL (false) response, otherwise it will not continue with the backup process.

I modified their ‘highload’ checker example script and created this one:

#!/bin/sh
PARTITION=/dev/sda1
MAXUSED=90

checkfree()
{
DISKUSED=`df -P $PARTITION | awk ‘{print $5}’ | grep % | cut -d% -f1`
echo “$DISKUSED < $MAXUSED” | bc
}
if [ `checkfree` -eq 0 ]; then
echo “$PARTITION disk usage is above $MAXUSED% Aborting back
up.”;
exit 1;
fi
exit 0;

Just set your maximum allowed used disk space variable MAXUSED (the value is in percents, just exactly the value you get with the df command in the USE% column).

Then the subject PARTITION (if you have separate /home partition then set it to, since, as you know, DA stores his admin_backups at /home/admin/admin_backups/ path). In my example it’s /dev/sda1 because this server uses single partition for everything.

Finally chmod this script to 755

chmod 755 /usr/local/directadmin/scripts/custom/user_backup_pre.sh

Find your biggest user and make sure that the maximum disk usage will be kept below his size.

Direct download user_backup_pre.sh

Debian Israel mirror updated and synced

October 29th, 2011

Our Debian repository mirror has been updated, synced and upgraded. New fresh upstream Debian mirror updated.

New syncing module and fixed indexes.

The mirror is moved to an Apache web server from Lighttpd for  better compliance of Debian clients.

 

lighttpd-1.2.28 with mod_h264 support deb package

September 8th, 2011

Hello,

I’ve precompiled a Lighttpd 1.2.28 Debian’s version with mod_h264 (version 2) streaming module support on Squeeze amd64 system.

Ready for use, grab from here

Usage (lighttpd.conf):

server.modules = (
“mod_access”,
“mod_alias”,
“mod_compress”,
“mod_redirect”,
#       “mod_rewrite”,
  “mod_h264_streaming”,
)
h264-streaming.extensions = ( “.mp4″ )

Tested on Debian Squeeze, using it on production system.

 

Debian 6.0 “Squeeze” released!

February 8th, 2011

Debian 6.0 “Squeeze” released!
Our ISO’s mirror is fully synced with the new Squeeze release.

Packages mirror is ready and might be used.

lighttpd writev

September 1st, 2010

I was suffering from performance problem on lighttpd running a http-progressive flv media server on a Sata Seagate Baracuda drive (24×7 server edition).
The bandwidth didn’t pass the 150-160mbit limit and the disk utilization was on 99.9% const.
I found a suggestion on some forum to change the network backend to ‘writev’ (which is good for large files serving) and walla the bandwidth just jumped up by 150% to 220-240mbit/sec.

writev

While the disk utilization (checked by iostat) is around 81-90% only.

To set ‘writev’ on lighttpd, edit lighttpd.conf and put this:

server.network-backend = “writev”

again this might not help everybody, but it worth a test.

Israel Centos Mirror

June 6th, 2010

New Israel centos mirror announcement.

This mirror synced twice a day and contains all Centos Packages and ISOs.

new Israeli php mirror!

May 17th, 2010

i want to introduce the new Israeli PHP mirror which is available for your free use, enjoy!

lighttpd dir-generator-plus.php

April 30th, 2010

I’ve patched a little bit the wonderful dir list generator from Evan Fosmark, i’ve added ability to add hidden files list which you would like to hide from being displayed.

For instance you don’t want to show the dir-generator-plus.php file and the included folder images directory; I also include footers sometimes so i prefer to them as well.

download it dir-generator-plus.php

The usage is simple, edit your lighttpd.conf file at the host area:

dir-listing.activate = "enable"

index-file.names = ( "/dir-generator.php" )

for more info about the usage of Lighttpd dir listing please visit the lighttpd wiki