Monthly Archives: February 2012
Clamav
Clamav is an open source antivirus engine. It have been used for virus scanning engine in a lot of project, e.g. email scanning, web proxy scanning. This post will help you go through some simple steps to install the clamav in your system.
Squid cache proxy
The post will guide you to install a squid-cache server which supporting LDAP authentication and ready for virus scanning and URL filtering. Transparent proxying will be setup for internal network while external user require LDAP authentication to access the proxy.
Backup & Restore using rsnapshot
rsnapshot is a superior utility for remote and local backup. By using rsync and hard links, it could keep multiple full backup by storing only the difference which could preserve a lot of disk space. Moreover, windows machine could be backup by using SAMBA mount.
Linux watching dmb-th broadcasting
dmb-th is the digital TV broadcasting standard using in HK (China). Recent linux kernel included support for these dmb-th device, such that, Linux could watching / capturing digital broadcasting TV stream in HK.
Debugging sendmail queue delivery
Sometime, you may want to force sendmail to do queue delivery and maybe you would like to get the detail traffic of sending.
Extend a lvm partition
In modern Linux system, everyone could extend the lvm space and re-size the filesystem online without down time.
Non-root user install perl modules
Finding perl included path perl -e “print qq(@INC)” Extend the library path Use PERL5LIB PERL5LIB=/home/xxx/myperllib:/another/path/lib; export PERL5LIB Use -I parameter > perl -I /home/xxx/myperllib abc.pl Add the path into your script #!/usr/bin/perl use lib “/home/xxx/myperllib”; use MyPerlLibModule; Using local::lib to install perl module without root Get the package perl Makefile.PL –bootstrap make make test make install Setup the environment variable into your shell, you may echo ‘eval $(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib)’ >>~/.bashrc Now, you can run perl -MCAPN -eshell to install perl module.
Openldap administration
Outline common openldap administration tasks, including reindexing, changing schema, etc., to make everyone have a quick reference.
Openssh
Add an extra instance of sshd which supporting PAM for Slackware 13.37. The aim as adding extra instance is to enabling pam_ldap for sshd.