Tag: cPanel/WHM

Fight the Malware with Custom ClamAV to on cPanel Servers

10 March 2018

Installing ClamAV via Command Line (SSH) This command tells the system that we want ClamAV to be listed as installed by the local RPM system: /scripts/update_local_rpm_versions –edit target_settings.clamav installed This command is the one responsible for installing the ClamAV RPM on your server: /scripts/check_cpanel_rpms –fix –targets=clamav Creating Symbolic Links If you need manually scan or […]

Allow pingdom IP’s in CSF on cPanel / WHM

29 August 2013

Need to quickly add the Pingdom IP’s to your CSF.allow file? wget –quiet -O- https://my.pingdom.com/probes/feed | \ grep “pingdom:ip” | \ sed -e ‘s|||’ >> /etc/csf/csf.allow sleep 5 csf -r What it does: Fetches the latest probing server IP’s from Pingdom Greps the output of the ‘pingdom:ip’ fields Prints the contents into the csf.allow file […]