Documentos de Académico
Documentos de Profesional
Documentos de Cultura
TodaywewillinstallClamAVonourUbuntu14.04Linuxdistribution.Theprocessisalmost
similarforotherLinuxdistributions.
Letsbegan.
WeallknowaboutAntivirus.Right?Antivirusisacomputerprogramwhichdetectandheal
virusesfromourcomputers/servers/workstations.
https://www.unixmen.com/installing-scanning-clamav-ubuntu-14-04-linux/
1/9
9/25/2016
What is ClamAV?
ClamAntiVirus(ClamAV)isafreeandopensource,crossplatformantivirussoftwaretool
kitabletodetectmanytypesofmalicioussoftware,includingviruses.Oneofitsmainuses
is on mailserversasa serversideemailvirus scanner. The application wasdeveloped for
Unix and has third party versions available for AIX, BSD, HPUX, Linux, OS X, OpenVMS,
OSF(Tru64)andSolaris.
ClamAV includes a number of utilities: a commandline scanner, automatic database
updaterandascalablemultithreadeddaemon,runningonanantivirusengine.
It is widely used for mail gateway scanning software. ClamAV includes a multithreaded
scanner daemon, command line utilities for on demand file scanning and automatic
signatureupdateswhichmakesitpowerfull.
#STEP1
Download&installClamAV
You can download the source from this link.This is the official download site for ClamAV.
Hereisadirectdownloadlinkforthesourceforthecurrentversion.
Lets update the repository for packages lists by issuing the following command in the
terminal.Itsagoodpracticetodoso.Butitisnotmandatory.
https://www.unixmen.com/installing-scanning-clamav-ubuntu-14-04-linux/
2/9
9/25/2016
#STEP2
Bythistime,ClamAVisalreadyinstalledonyoursystem.Butweneedtoupdatethevirus
definition database or virus signature. This is the database used by the clamAV to
search for a virus or threat. Issue the following command in the terminal to update your
database.Youwillseethatitwilldownloadthelatestdatabasetomatchanyvirus.Itwill
downloadmain.cvdanddaily.cvdfiles.
sudo freshclam
https://www.unixmen.com/installing-scanning-clamav-ubuntu-14-04-linux/
3/9
9/25/2016
#STEP3
ScanningfilesbyusingClamAVfromterminalbyusingcommandlineinterface.
Tocheckfilesintheallusershomedirectoriesissuethefollowingcommandintheterminal.
clamscan -r /home
Tocheckallfilesonthecomputer,issuethefollowingcommandintheterminal.
clamscan -r /
Note:Abovecommandwillslowsdownyourserverperformanceandmaytakealongtime
dependingonthesizeofthediskandthecapacityofthedisk.
Pleaseissuethefollowingcommandintheterminaltocheckallfilesonthecomputer,but
onlydisplayinfectedfilesandringabellwhenfoundathreat.
clamscan -r --bell -i /
Afterfinishingthescanning,itwillshowasummaryreportofthescanningjustlikebelow.
https://www.unixmen.com/installing-scanning-clamav-ubuntu-14-04-linux/
4/9
9/25/2016
To put all the infected files list on a particular file, please issue the following command in
theterminal.
Theabovecommandwilltaketheoutputoftheclamscancommandandputitfortheinput
for grep command by using pipe command and which will match the word FOUND and
redirectsallthoseinfectedfileslisttoafilenamedmyfile.txtbyappendingit.
ToknowtheversionofClamAV,pleaseissuethebelowcommandintheterminal.
clamdscan -V
https://www.unixmen.com/installing-scanning-clamav-ubuntu-14-04-linux/
5/9
9/25/2016
ForschedulingClamAVforrunningonaparticulartime,issuethefollowingcommandinthe
terminal.
crontab -e
Thiswillopencronjobforyou.
Nowappendthefilebyputtingfollowinglineatthebottomofthefile.
00 00 * * * clamscan -r /location_of_files_or_folder
TheabovecronjobwillrunClamAVforscanningthatparticularfolderdirectoryeverydayat
midnight.Ihopeyouknowaboutcronjob.
#STEP4
Till now, we showed all things of ClamAV form terminal. But in fact, we can run ClamAV
withaGUIaswell.ClamAVDoesnotcomewithaGUIbydefault.
Lets install the GUI. To install it, issue the below command on the terminal. It will
downloadallthenecessarypackagestoinstalltheGUI.
https://www.unixmen.com/installing-scanning-clamav-ubuntu-14-04-linux/
6/9
9/25/2016
Now,opentheGUIandyouwillseesomethinglikebelowimage.Youcannoweasilyscan
andviewalltheoptionsbyusingmenuandavailablebuttonsthatitprovides.
https://www.unixmen.com/installing-scanning-clamav-ubuntu-14-04-linux/
7/9
9/25/2016
Thatsallfortoday.Ihopeyouenjoyit.
HTML5FullscreenBackground
VideowithCSSandJS
(Plugin/Library)
Guide(Introduction,
ImplementationandHowitWorks)
toA/BTestingandSplitURLTesti
(VWO,Optimizely,Google
https://www.unixmen.com/installing-scanning-clamav-ubuntu-14-04-linux/
GettingStartedwithReact
SettinguptheDevelopment
Environment
8/9
9/25/2016
78YearOldFindsSecretToEnding
NervePain
"Stunning"TruthAboutNeuropathy
NervePain
WhatYouNeedtoKnowAbout
NeuropathyNervePain
CompilingNextGeneration
JavaScript(ES6,ES7,React)in
BrowserwithBabel6andAbove
CSSApplyFilterEffects(blur,
grayscale,hue)totheAreaBehind
anElementwithbackdropfilter
Property
CustomValidationMessagesfor
HTML5FormConstraints
https://www.unixmen.com/installing-scanning-clamav-ubuntu-14-04-linux/
9/9