antivirus software for ubuntu 14.04 server

Posted November 11, 2014 24.5k views


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

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
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.