This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
plugins:clamav [2014/01/30 23:33] mrpink |
plugins:clamav [2016/03/31 10:21] mrpink [Installation] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ======ClamAV Plugin Documentation====== | + | ======ClamAV Plugin====== |
- | Plugin allows to use ClamAV with i-MSCP. | + | Plugin integrating the ClamAV antivirus which allows to filter mail attachments. |
===== Requirements ===== | ===== Requirements ===== | ||
- | * Plugin compatible with i-MSCP versions >= 1.1.0 | + | * i-MSCP versions >= 1.2.3 |
- | * Following installed packages: clamav, clamav-base, clamav-daemon, clamav-freshclam, clamav-milter | + | * See installation section for required software packages. |
===== Existing milter configurations ===== | ===== Existing milter configurations ===== | ||
Line 14: | Line 14: | ||
===== Installation ===== | ===== Installation ===== | ||
- | **1.** Install needed Debian/Ubuntu packages if not already done | + | **1. Install the needed Debian / Ubuntu packages** |
- | **1.1** Install the clamav packages | + | Installation of clamav packages: |
- | # aptitude update | + | # apt-get update |
- | # aptitude install clamav clamav-base clamav-daemon clamav-freshclam clamav-milter | + | # apt-get install clamav clamav-base clamav-daemon clamav-freshclam clamav-milter |
- | **1.2** Stop the clamav-freshclam daemon if it is running | + | Stop the clamav-freshclam daemon if it is running: |
# service clamav-freshclam stop | # service clamav-freshclam stop | ||
- | **1.3** Update the virus database | + | Update the virus database: |
# freshclam | # freshclam | ||
- | **1.4** Start the clamav-freshclam daemon | + | Start the clamav-freshclam daemon: |
# service clamav-freshclam start | # service clamav-freshclam start | ||
- | **1.5** Restart the clamav-daemon | + | Restart the clamav-daemon: |
# service clamav-daemon restart | # service clamav-daemon restart | ||
- | **2.** Get the plugin from github | + | **2. Get the plugin from Plugin Store** |
- | # cd /usr/local/src | + | http://i-mscp.net/filebase/index.php/Filebase/ |
- | # git clone git://github.com/i-MSCP/plugins.git | + | |
- | + | ||
- | **3.** Create new Plugin archive | + | |
- | + | ||
- | # cd plugins | + | |
- | # tar cvzf ClamAV.tar.gz ClamAV | + | |
- | **4.** Plugin upload and installation | + | **3. Plugin upload and installation** |
* Login into the panel as admin and go to the plugin management interface | * Login into the panel as admin and go to the plugin management interface | ||
Line 55: | Line 49: | ||
===== Update ===== | ===== Update ===== | ||
- | **1.** Get the plugin from github | + | **1. Get the plugin from Plugin Store** |
- | + | ||
- | # cd /usr/local/src | + | |
- | # git clone git://github.com/i-MSCP/plugins.git | + | |
- | + | ||
- | **2.** Create new Plugin archive | + | |
- | # cd plugins | + | http://i-mscp.net/filebase/index.php/Filebase/ |
- | # tar cvzf ClamAV.tar.gz ClamAV | + | |
- | **3.** Backup your current plugin config | + | **2. Backup your current plugin config** |
# plugins/ClamAV/config.php | # plugins/ClamAV/config.php | ||
- | **4.** Plugin upload and update | + | **3. Plugin upload and update** |
* Login into the panel as admin and go to the plugin management interface | * Login into the panel as admin and go to the plugin management interface |