antivirus software for ubuntu 14.04 server

November 11, 2014 20.5k views


Is that something that can be good to have on the server? And if it is what do you recommend?

1 Answer

ClamAV is a common antivirus tool. You can install it by running:

sudo apt-get install clamav clamav-daemon

To update the virus definition database, run: freshclam To scan a directory, run

clamscan /path/to/files

Though, my question to you would be what exactly you are trying to protect yourself from? Viruses are probably not the biggest risk to your server. One of the best things you can do to protect your server is to disable password access and only use SSH keys. Check out:

If you want to scan your system for malicious files, you’ll probably want to install RKHunter as well:

by Justin Ellingwood
Rootkits are a serious problem for any internet-facing computers. A rootkit allows an intruder to continue to access the compromised machine even after the initial point of entry has been secured. In this article, we will cover how to check your server against known rootkits using a utility called rkhunter.
Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!