/scripts/restartsrv_httpd
grep "modsecurity" /usr/local/apache/logs/error_log
Output:
[Mon Sep 02 00:32:46 2013] [notice] ModSecurity for Apache/2.7.5 (http://www.modsecurity.org/) configured.
/scripts/restartsrv_httpd
grep "modsecurity" /usr/local/apache/logs/error_log
Output:
[Mon Sep 02 00:32:46 2013] [notice] ModSecurity for Apache/2.7.5 (http://www.modsecurity.org/) configured.
yum -y install ncurses-devel libpcap-devel
cd /usr/local/src/
wget http://www.ex-parrot.com/~pdw/iftop/download/iftop-0.17.tar.gz
tar xvfvz iftop-*
cd iftop-*
./configure
make
make install
Referensi: http://xmodulo.com/2012/06/how-to-install-iftop-on-linux.html
cd /home/status/
wget http://www.hdsentinel.com/hdslin/hdsentinel_008_x64.zip
unzip hdsentinel*
chmod 755 HDSentinel
./HDSentinel
disable use registration in Joomla 1.5
phpmyadmin > jos_component > User Manager > params > allowUserRegistration=0
disable use registration in Joomla 2.5
phpmyadmin > jos_extension > mod_user > params > allowUserRegistration=0
Code untuk migrasei email
http://snipplr.com/view/50756/transfer–migrate-messages-between-two-imappop-email-accounts/
Install Mod_Evasive untuk mengatasi DDOS
http://syslint.com/syslint/how-to-install-mod_evasive-in-cpanel-server/
1. Display timestamp using HISTTIMEFORMAT
export HISTTIMEFORMAT='%F %T '
In order to get rid of icons (if you use x3):
1) in /usr/local/cpanel/base/frontend/x3/dynamicui/ create a new file called remove_items_dynamicui.conf
(the name of the file can actually be whatever as long as it includes dynamicui and is a .conf file, ex abc_dynamicui_xyz.conf)
2) enter one line for each item you do not want to show. For hiding mysql-remoteaccess, emailroute and legacy file manager, the following needs to be added:
file=>mysql-remoteaccess,skipobj=>1
file=>emailroute,skipobj=>1
file=>legacy_filemanager,skipobj=>1
You can find all file names to use for each icon in /usr/local/cpanel/base/frontend/x3/dynamicui.conf
Download the latest atrpms-repo rpm from http://dl.atrpms.net/el6-x86_64/atrpms/stable/
Install atrpms-repo rpm:
rpm -Uvh atrpms-repo*rpm
Install bonnie++ rpm package:
yum install bonnie++
Source: http://pkgs.org/centos-6-rhel-6/atrpms-x86_64/bonnie++-1.03e-6.el6.x86_64.rpm.html#howto
Webmail User ‘useraccount’ is over quota
But useraccount is not over quota
Go to
/var/cpanel/overquota/
ll
delete cpanel username from list
Powered by WordPress