Activities

August 2020
M T W T F S S
« Apr    
 12
3456789
10111213141516
17181920212223
24252627282930
31  

Throttle The Disk I/O Rate: Limit disk I/O for rsync Tool

I run a backup script called /root/backup.sh which runs rsync command. However, rsync makes a lots of disk I/O and network I/O. I’d like to reduce both disk I/O and network I/O. I’ve 10Mbps server connection and 160GiB SATA hard disk. How do reduce disk I/O so that the entire system doesn’t die or become […]

Debian-Package Installations

######### How to install java on debian###################### Add the follwing repository into /etc/apt/sources.list #Local Mirror deb ftp://gulus.usherbrooke.ca/debian/ etch main contrib non-free #deb-src ftp://gulus.usherbrooke.ca/debian/ etch main contrib non-free #Security deb http://security.debian.org/ etch/updates main contrib non-free #deb-src http://security.debian.org/ etch/updates main contrib non-free

#Multimedia, from local mirror deb ftp://gulus.usherbrooke.ca/debian-multimedia/ etch main #deb-src ftp://gulus.usherbrooke.ca/debian-multimedia/ etch main

#Beryl deb http://debian.beryl-project.org […]

Check the status of a Crontab entry

How to check a cronjob is working properly

1.From the terminal exicute $ crontab -e * * * * * date >>/home/cronstatus.txt

then save and open the /home/cronstatus.txt using any editor check the time intervel between the date printed on the file.

Note: the above cron job will execute every second .So you need to […]

Installing Apache 1.3 with SSL

Installing Apache with SSL support

1. Download openssl source from http://www.openssl.org. 2. untar the source into /usr/local/src 3. cd /usr/local/src/openssl-0.9.7b 4. ./config –prefix=/usr/local/openssl 5. make 6. make install 7. Download apache 1.3.x from http://httpd.apache.org/dist/ 8. untar in /usr/local/src/ 9. Download modssl from http://www.modssl.org 10. untar the source into /usr/local/src 11. cd /usr/local/src/mod_ssl-2.8.14-1.3.27 12. ./configure –with-apache=../apache_1.3.27/ […]