Set Up Ubuntu-Server 6.10 As A Firewall/Gateway For Your Small Business Environment - Page 11
|
Next do: cd /root Version numbers in the next commands apply to the latest stable source at the time of writing this article. Adjust as needed. wget http://surfnet.dl.sourceforge.net/sourceforge/clamav/clamav-0.88.7.tar.gz Like before, pick a mirror close to you. groupadd clamav useradd -g clamav -s /bin/false -c "Clam Antivirus" clamav tar -zxvf clamav-0.88.7.tar.gz cd clamav-0.88.7 ./configure --sysconfdir=/etc make make install touch /var/log/freshclam.log chmod 600 /var/log/freshclam.log chown clamav /var/log/freshclam.log Now edit /etc/clamd.conf. Comment out "EXAMPLE" (without quotes). Next do the same in/etc/freshclam.conf. Next do: /usr/local/bin/freshclam Now make this a cron job and run it every hour. Preferably not on the hour or anywhere near, as the clamav servers will be flooded when everybody does so. Choose a smart time for this job. The service is absolutely FREE! Let's keep it that way. /etc/init.d/mailscanner restart Now I want to do some perl jobs. If you actually use the ancient hardware I did to make this tuto, be advised that it is going to take some time. Note that you can do without this, for starters. You may wish to schedule this job anywhere soon. If you choose so, you are DONE!Alternatively go all the way right now and do: perl -MCPAN -e shell Accept all defaults, except for the question where you can answer "UNINST=1" (without the quotes). I think it is best to actually do UNINST=1. Now do: install ExtUtils::CBuilder reload cpan The "reload cpan" command should be given right after each step in the cpan shell. Better safe than sorry. I only mention this once. install ExtUtils::MakeMaker As a result of the next commands you will be asked some questions. Just hit "enter" in all cases. install Bundle::CPAN install Bundle::LWP install Mail::ClamAV Now leave the cpan shell: q /etc/init.d/mailscanner restart Now clean your /root directory. That's where all the downloads went. Warning!!! Don't install Mail::SpamAssassin from cpan alongside the ubuntu spamassassin package as it will breake your system. No more rules du jour, and the rules, my friends, that's what it is mostly about! If you really want Mail::SpamAssassin from cpan, you will have to purge your spamassassin package and compile, instal and configure it from the latest stable source, which at the time of writing is version 3.1.7. Samba is installed. As every setup of Samba is unique, I can't help you out here. Don't know how to do it? This is a good starting point. Done!
|
www.seamlessenterprise.com
One number. One voicemail. Seize the lead. Sprint Mobile Integration.
www.seamlessenterprise.com
One Number. One Voicemail.
Make it easier for clients to reach you. Turn your desk phone and mobile phone into one with Sprint Mobile Integration.
www.seamlessenterprise.com
One number. One voicemail. Sprint Mobile Integration.
www.seamlessenterprise.com
One number. one voicemail. Seize the lead with Sprint. Learn more
AT&T Synaptic Compute as a Service. Boost your power on demand.
Trial: IBM Cognos Express Reporting, Analysis & Planning
Learn benefits of Simpana software.
View the Gartner Video
Sprint 4G - The Ultimate Mobile Broadband
Click here
SAP-Business Objects Crystal Reports Server
Complete reporting without hidden costs. Free Trial




print: 

Recent comments
5 hours 47 min ago
8 hours 38 min ago
14 hours 16 min ago
14 hours 19 min ago
15 hours 3 min ago
22 hours 6 min ago
22 hours 44 min ago
23 hours 46 min ago
1 day 3 hours ago
1 day 4 hours ago