How to Remove “eval(base64_decode”

12 years ago

First, we must find all infested files using following command. root@hr# cd /home/username/public_html/ root@hr#grep -lr --include=*.php "eval(base64_decode" * How to…

Cpanel: Various Log Paths

12 years ago

1. Apache Logs: /usr/local/apache/logs/error_log 2. Cpanel Logs /usr/local/cpanel/logs/error_log 3. Exim Logs: /var/log/exim_mainlog 4. FTP and Server logs /var/log/messages 5. Cron…

Linux+Cpanel Server Configuration files

12 years ago

Following are the most IMP server configuration files in Cpanel server Apache Config: /usr/local/apache/conf/httpd.conf Exim: /etc/exim.conf Mysql: /etc/my.cnf Named: /etc/named.conf…

Can not see Databases and Users in Cpanel

12 years ago

MySQL dbs and users dissapered ? To resolve this use following command, run: /usr/local/cpanel/bin/setupdbmap After that check it. :)

How to udpate stats?

12 years ago

To update stasts on cpanel server for particular user, use following steps. 1. Restart Cpanel service service cpanel restart 2.…

MySql Error: Too many MySQL connections

12 years ago

If you are getting Too many MySQL connections error for your site, use following command to flush the connections. mysqladmin…

Account not listing in WHM >> List Account

12 years ago

If you can not see user's account in WHM >> List account, please use following steps to fix it. Check…

How to use RPM command

12 years ago

To install and uninstall RPMs, use RPM command as follows. rpm -qa | grep pakage-name rpm -e pkgname rpm -ivh…

How to change server time zone

12 years ago

To change server time use following commnds. date -s 'Sun JUN 12 00:30:00 PST 2012' OR date --set="2 SEP 2013…

Block IP Range using CSF

12 years ago

To block a particular IP range csf  -d 45.0.0.0/8 csf -d 45.213.0.0/16 csf -d 45.213.100.0/24 Then, restart csf. csf -r…