Monthly Archive: June 2011

0

Add IP module in VZCTL

HowTo: Add iptable modules on a VPS If you receive the following error on restating iptables on a VPS: error message: from firewall software ~ iptables: Unknown error 4294967295 You need to make sure the...

0

.htaccess Redirection.

How to redirect a website using .htaccess? Redirect website http://mydomain.com to http://www.mynewdomain.comRewriteEngine onRewriteCond %{HTTP_HOST} ^mydomain\.com$RewriteRule ^(.*)$ http://www.mynewdomain.com [R=301,L] Redirect website mydomain.com with and without www requests to http://www.mynewdomain.comRewriteEngine onRewriteCond %{HTTP_HOST} ^www\.mydomain\.com$ [OR]RewriteCond %{HTTP_HOST} ^mydomain\.com$RewriteRule...

0

Nagios installation.

How to install NAGIOS in linux or windows server? Solution. INSTALLATION Download the latest version of nagios from the following linkhttp://www.nagios.org/download/Then, unpack the Nagios distribution, use the following command#tar xzf nagios-2.6.tar.gzNavigate  to the newly...

0

Open VZ and commands

OpenVZ Commands Introductionvz -> recommends ext3 file system PIM -> IP:4643 PMC -> mangaing h/w node PPP -> for managing a single container All the above things need a license from parallel ====================Templates ====================...

0

Plesk and MYSQL

1. Getting all the domain account information from Plesk ————————————————————————mysql -uadmin -p`cat /etc/psa/.psa.shadow` -D psa -e “select login,password,home from sys_users INNER JOIN accounts on accounts.id=sys_users.account_id;” 2. Get client login details from Plesk. ———————————————– mysql...

0

Install LiteSpeed in WHM

LiteSpeed installation in WHM. How to add the liteSpeed module or plugin in the cPanel WHM.cd /usr/src wget http://www.litespeedtech.com/packages/cpanel/lsws_whm_plugin_install.sh chmod 700 lsws_whm_plugin_install.sh ./lsws_whm_plugin_install.sh rm -f lsws_whm_plugin_install.sh Login to WHM, “LiteSpeed Web Server Plugin for...

0

install cloudlinuxOS in cpanel.

How to install cloudlinuxOS in your shared server.It is easy to switch cPanel server from CentOS 5.x to CloudLinux. The process takes a few minutes and replaces just a handful of RPMs. 1) Get...