1. SSH to your server as root and execute mysql from command line [root@server ~]# mysql 2. From mysql interface type as follows: mysql> use cphulkd; mysql> select IP, BRUTETIME from brutes order by BRUTETIME; mysql> select IP, LOGINTIME FROM…
cPanel
Csf command not found in WHM/cPanel server
CSF – Config server firewall is a firewall configuration tool for WHM/cPanel server. CSF is available as a plugin of WHM by default. In some strange situation you will be face some errors with csf, like “csf command not found”
Install Cpanel on centos – step by step procedure
WHM/cPanel is one of the best control panels for web-hosting industry. Here I am discussing about the system/server requirements and the steps for installing cpanel on it.
how to prevent .htaccess file modification while running easyapache ?
Most of the time, the recompilation process of Apache/php with Easyapache will be effected the users’ .htaccess file under the WHM/cPanel server. After the Easyapache, we might see some entries like the one pasted below in .htacces file. AddHandler application/x-httpd-php5…
ERROR: Malformed database for clamd
In cPanel server if you are getting the following error when restarting exim, then follow this steps: # /etc/init.d/exim restart Shutting down clamd: [FAILED] Shutting down exim: [ OK ] Shutting down spamd: [ OK ] Starting clamd: LibClamAV Error: cli_dbgets: Invalid data or internal…
Managing PHP extensions (cPanel)
Php extensions means additional modules that we need to run/execute with an already installed PHP on server. No need to run easyapche to install/uninstall modules like zend optimizer,EAccelerator, IonCubeLoader, SourceGuardian, PHPSuHosin etc. You can use the command scripts/phpextensionmgr to do…
Disabling Magic Quotes using .htaccess file
Magic Quotes is a process that automatically escapes incoming data to the PHP script. It’s preferred to code with magic quotes off and to instead escape the data at runtime, as needed. We can simply turn OFF magic_quotes and magic_quotes_gpc…