Skip to content

Instantly share code, notes, and snippets.

@EricPSU
Last active February 13, 2018 19:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save EricPSU/f7a65395764a7cd96d7388aa837cd923 to your computer and use it in GitHub Desktop.
Save EricPSU/f7a65395764a7cd96d7388aa837cd923 to your computer and use it in GitHub Desktop.
Install and Run ClamAV on CentOS 7
# Yum install needed packages
yum install epel-release
yum install clamav-server clamav-data clamav-update clamav-filesystem clamav clamav-scanner-systemd clamav-devel clamav-lib clamav-server-systemd
# Update virus definitions
freshclam
# Scan single file
clamscan /path/to/file.ext
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment