Installation Steps:
- Install the prerequisites, like
mod_security, apache web server
- Install mod_security using this command,
sudo yum install mod_security
- Create (cd /etc/sysconfig/imunify360/) and configure integration.conf file
- Integration kit contents,
[paths]
ui_path = /path/to/domains/imunify360.hosting.yourdomain.com/
[web_server]
server_type = apache
graceful_restart_script = /usr/sbin/apachectl restart
modsec_audit_log = /var/log/httpd/modsec_audit.log
modsec_audit_logdir = /var/log/modsec_audit
[malware]
basedir = /path/to/home/dir
pattern_to_watch = ^/home/.+?/(public_html|public_ftp|private_html)(/.*)?$
[pam]
service_name = system-auth
[integration_scripts]
admins = /etc/sysconfig/imunify360/auth.admin
modsec_domain_config_script = /etc/sysconfig/imunify360/script.sh
- Create sub-domain named
imunify360.hosting.yourdomain.com
- Download,
wget https://repo.imunify360.cloudlinux.com/defence360/i360deploy.sh -O i360deploy.sh
- Install Imunify360,
bash i360deploy.sh --key Replace_with_Imunify360_key
- To enable webshield run this command,
imunify360-agent config update '{"WEBSHIELD": {"enable": true, "known_proxies_support": true}}'
systemctl enable imunify360-webshield
systemctl restart imunify360-webshield