Cpanel

Uninstall-cloudlinux-from-cpanel-server

Completely Uninstall cloudlinux from cpanel server

How to completely remove cloudlinux from cpanel server. You can always uninstall CloudLinux. In this case, we will ‘convert’ the system back to CentOS. Even if the original system was RHEL — we will still convert to ‘CentOS’ state. Following this will be done: 1.LVE related packages will be removed 2.CloudLinux repositories & yum plugin will be removed 3.CentOS repositories will be setup At the end, script will provide instructions on how to finish the conversion back to CentOS. That will require removal of CloudLinux [...]

Read more...
Configure-multiple-shared-IP’s-in-WHM

Configure multiple shared IP’s in WHM

It is not possible to add multiple shared IP’s from WHM but it is possible to do it from SSH. First of all we need to create a /var/cpanel/mainips/ directory if it is not present. mkdir /var/cpanel/mainips/ Then we have to create a file. vi /var/cpanel/mainips/root Add all IP’s into it. save the file and quit. 121.127.xxx.xx2 121.127.xxx.xx3 121.127.xxx.xx4 Now login to WHM and check the IP’s Home>>IP Functions>>Show/Edit Reserved IPs  

Read more...
your-server-is-under-DDOS-Attack

How to find your server is under DDOS Attack

Here is a command line to run on your server if you think your server is under DDOS attack.  The commands given below prints out list of open connections on your server and sorts them by connection amount. RedHat: netstat -ntu | awk ‘{print $5}’ | cut -d: -f1 | sort | uniq -c | sort -n BSD: netstat -na |awk ‘{print $5}’ |cut -d “.” -f1,2,3,4 |sort |uniq -c |sort -n You can also check for connections by running the following command. netstat -plan [...]

Read more...
WordPress-Blog-Brute-Force-Flood-Underway

WordPress Blog Brute Force Flood Underway !!

Recently we have seen on-going global attack on WordPress installations across every web host in existence. This attack is well organized and specially targets the file wp-login.php. Some of the ramifications of this attacks  are 1) Sites are loading extremely slow. 2) Unable to login to WordPress Admin Panel. 3) Website could even intermittently go down for undisclosed periods of time. So what needs to bed one. Here are some tips we will let you know to protect your WordPress blog. 1) Make sure [...]

Read more...
cPanel-To-DirectAdmin-Migration-Conversion-Tool

cPanel To DirectAdmin Migration Conversion Tool

Its now quite easy to migrate accounts from cPanel to DirectAdmin using conversion tool Before proceed,  First we will need to download conversion tool  and you can download it from here :: STEPS TO FOLLOW :: 1) Download and extract the version URL (from above) that you wish to use. (wget and tar xzf) 2) Create import and export directories for the tool to use. (mkdir import export) 3) Copy your cPanel user backups into the import directory. 4) Edit [...]

Read more...
Manual-Installation-Of-Nginx-In-cPanel-Apache-In-Proxy-Mode

Manual Installation Of Nginx In cPanel Apache In Proxy Mode

1. In order to get the cPanel server ready for nginx – you must first install an Apache module called mod_rpaf Login as root: # cd /usr/local/src # wget http://stderr.net/apache/rpaf/download/mod_rpaf-0.6.tar.gz # tar xvzf mod_rpaf-0.6.tar.gz # cd mod_rpaf-0.6 # /usr/local/apache/bin/apxs -i -c -n mod_rpaf-2.0.so mod_rpaf-2.0.c 2. Doing so will install the module into the Apache module directory. Then Go to your  Web Host Manager (WHM) follow the tree here: Main >> Service Configuration >> Apache Configuration > Include Editor > Pre Main Include and Select the Apache version that [...]

Read more...
Simple-Steps-To-Install-mod_flvx-With-Apache

Simple Steps To Install mod_flvx With Apache

Today we had to install mod_flvx on CentOs server and here are the steps you need to do. I guess you have already installed Apache web server being cpanel server.  Just be sure that you have Apache 2.2 version on the server or else you might have errors during compiling mod_flv. Download mod_flvx.c cd /usr/src wget http://github.com/osantana/mod_flvx/blob/master/mod_flvx.c Compile And Install Module: /usr/local/apache/bin/apxs -i -a -c mod_flvx.c Add the following handler in /usr/local/apache/conf/httpd.conf AddHandler flv-stream .flv Reload Configuration: service httpd restart

Read more...
ffmpeg-php-Compile-Error

ffmpeg-php Compile Error – Make: *** [ffmpeg_frame.lo] Error 1

If you are getting the following error while compiling the latest release of ffmpeg-php-0.6.0 , This will article will let you know how to get this fix. Error: /usr/src/ffmpeg-php-0.6.0/ffmpeg_frame.c: In function âzim_ffmpeg_frame_toGDImageâ: /usr/src/ffmpeg-php-0.6.0/ffmpeg_frame.c:336: error: âPIX_FMT_RGBA32â undeclared (first use in this function) /usr/src/ffmpeg-php-0.6.0/ffmpeg_frame.c:336: error: (Each undeclared identifier is reported only once /usr/src/ffmpeg-php-0.6.0/ffmpeg_frame.c:336: error: for each function it appears in.) /usr/src/ffmpeg-php-0.6.0/ffmpeg_frame.c: In function âzim_ffmpeg_frame_ffmpeg_frameâ: /usr/src/ffmpeg-php-0.6.0/ffmpeg_frame.c:421: error: âPIX_FMT_RGBA32â undeclared (first use in this function) make: *** [ffmpeg_frame.lo] Error 1 Solution:- Under the ffmpeg-php-0.6.0 directory modify the file: ffmpeg_frame.c with nano or vi [...]

Read more...
Binding-Multiple-Network-Interfaces-(NIC)-Into-Single-Interface

Binding Multiple Network Interfaces (NIC) Into Single Interface

Today we had successfully binded two NIC cards into one single interface , Basically the purpose is to increase the speed and bandwidth as Linux allows administrators to bind NIC’s together into a single channel using the bonding kernel module and a special network interface called a channel bonding interface. Channel bonding enables two or more network interfaces to act as one, simultaneously increasing the bandwidth and providing redundancy. Before proceeding make sure both the interfaces eth0 and eth1 [...]

Read more...
How-to-Resize-tmp-Partition

How to Resize /tmp Partition

Step by step instructions on how to resize /tmp partition on the server. This is required only when you have less space alloted for /tmp partition causing problems with webserver showing errors or mysql database connect errors. Please follow the below procedure with commands specified to free some resources on /tmp partition. First stop the following services on the server. service chkservd stop service httpd stop service mysql stop service postgresql stop After all the services are stopped, Immediately try to unmount the tmp partition. umount /tmp If [...]

Read more...
24x7servermanagement