Easy Installation of ImunifyAV Free Virus Scanner (No SSL!!!) https://www.imunify360.com
- Download the deployment:
wget https://repo.imunify360.cloudlinux.com/defence360/imav-deploy.sh -O imav-deploy.sh
- Create folders. The location is separate, so as not to be backed up:
mkdir -p /etc/sysconfig/imunify360/
mkdir -p /var/www/vhosts/imav/imav.example-hosting.com/html/imav/
- Create an integration.conf file, write paths and PAM:
cat > /etc/sysconfig/imunify360/integration.conf << EOF
[paths]
ui_path = /var/www/vhosts/imav/imav.example-hosting.com/html/imav[PAM]
SERVICE_NAME = system-auth
EOF
- Installing:
bash imav-deploy.sh
- For apache2 prescribe:
cat > /etc/apache2/conf.d/imav.conf << EOF
Alias /imav /var/www/vhosts/imav/imav.example-hosting.com/html/imav<Directory /var/www/vhosts/imav/imav.example-hosting.com/html/imav/>
Order Deny,Allow
Deny from all
Allow from all
EOF
- For nginx prescribe:
cat > /etc/nginx/conf.d/imav.inc << EOF
location /imav {
alias /var/www/vhosts/imav/imav.example-hosting.com/html/imav/;
location ~ ^/imav/(..php)$ {
alias /var/www/vhosts/imav/imav.example-hosting.com/html/imav/$1;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $request_filename;
}
location ~ ^/imav/(.+.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt))$ {
alias /var/www/vhosts/imav/imav.example-hosting.com/html/imav/$1;
}
}
EOF
- Restarting services:
systemctl restart apache2 nginx
And enter under the root:
http://IP_server/imav
Login only from clean computers. http login is not encrypted !!!