Monthly Archives: February 2012
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.
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.
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.
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.