Linux Server


How to uninstall Cloudlinux from cpanel

Uninstall Cloudlinux from cPanel  : # wget -O cldeploy # sh cldeploy -c Please, note that some of the packages from CloudLinux repo will still be present. They are same as CentOS packages, and don’t have to be removed. They will be updated in the future from CentOS repositories, as new versions come out. You can use below steps further: 1) Check if your server is Cloudlinux installed in it using below command. # /usr/local/cpanel/bin/cloudlinux_system_install -c 2) Update your CentOS-provided RPMs # yum upgrade -y 3) Rebuild [...]

sysmbolic link

Symbolic link :- Adding and deleting

Symbolic Links refer to a symbolic path indicating the abstract location of another file i.e. symbolic links are files that act as pointers to other files. Symbolic Link is also known as symlink or soft link. Difference between soft link and hard link is that when symlink is removed the original target stays present. This is the opposite of a hard link which is a reference to the target and so, if the hard link is removed, so is the [...]


How to Increase the Size of the Logical Volume ?

Follow the steps below to increase the size of the logical volume and allocate additional space on one of your partitions. Once logged in, type df -h at the command prompt and hit ENTER. The partition and logical volume sizes will be listed including the used disk space. In the image below, the var logical volume is 4GB. Assume that ~9GB of web content will be uploaded to the /var folder. The disk space needs to be increased before there [...]


CloudLinux Management on cPanel server

Installation You can download latest CloudLinux ISO and use it to install CloudLinux on your server: Latest stable CloudLinux 6.4 ISO:   x86_64 version: Please search ISO on Google i386 version: Please search Latest ISO on Google If you want to convert your existing server to CloudLinux you need to get CloudLinux activation key from. Get <activation_key> either by getting trial subscription or by purchasing subscription. You can download CloudLinux Converting scripts here and convet your server through folllowing command wget sh cldeploy -k [...]


Understanding Linux server services

Some common web related services running on a Linux server are, but not limited to, include: httpd (Apache), mysqld (MySQL), vsftpd (Very Secure FTP), named (BIND), iptables (packet filtering ruleset), sshd (Secure Shell), network (network related services) and various others. Usually these services are started at boot time. To check what services are installed on the server, you can use the chkconfig tool. For example: [root@server ~]# chkconfig –list sshd                  0:off    1:off    2:on    3:on    4:on    5:on    6:off webmin           [...]


Brute Force Prevention On Linux Server

How to install Fail2Ban Fail2Ban is a great utility to use to help prevent a server from being brute forced attacked on SSH. Fail2Ban works with Iptables to block a culprit IP for a certain amount of time. The actual setup and configuring can be done in under 10 minutes. Installation 1.To install fail2ban you will need to have root access (login with user and “su –“ to root). Type the following to begin the install process. yum –enablerepo=dag install fail2ban Yum will install [...]


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 [...]


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 [...]


Install SSL On Parallels Plesk Panel 10 And Plesk 11

Log in to Parallels Plesk Panel as admin. If necessary, switch to Service Provider view From the Hosting Services menu, click Domains. Next to the domain name you want to use, click Open in Control Panel. Go to the Websites & Domains tab, and then click Secure Your Site with SSL Certificates. Under Certificate name, click the certificate you want to use. Next to the Certificate field, click Browse. Locate your signed CRT file, e.g.,, and then click Open. Next to the CA certificate field, click [...]


How To Update Apache To Latest Version On DirectAdmin Server?

Here are the steps to update Apache to latest version for direct-admin server First check current version of apache: / usr/sbin/httpd -v CustomBuild – current If you’re using custombuild (as most new boxes are), run the following cd /usr/local/directadmin/custombuild ./build update ./build apache ./build php n ./build rewrite_confs CustomApache – end-of-life If you are using customapache with the 1.3 version of apache to the most recent, run the following: cd /usr/local/directadmin/customapache ./build clean ./build update ./build apache_mod_ssl If you’re using apache 2.x, use “./build apache_2” isntead of apache_mod_ssl. This should update both the configure options and the [...]