Tag - Cpanel

How-to-uninstall-Cloudlinux-from-cpanel

How to uninstall Cloudlinux from cpanel

Uninstall Cloudlinux from cPanel  : # wget -O cldeploy http://repo.cloudlinux.com/cloudlinux/sources/cln/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 [...]

Read more...
Tweaks-to-prevent-Spamming-on-cPanel-server

Tweaks to prevent Spamming on cPanel server

Spamming on cPanel server is very common if you have not applied any security and not taken proper steps to secure it. Exim mail server comes by default with cpanel and allows tweaks and settings to stop spamming on the server. In the following technical post we will show you to follow the tips and settings on cpanel server. Tweaks to prevent Spamming on cPanel server  Exim Configuration Manager 1. Login to WHM control panel by using root user 2. Goto Main [...]

Read more...
configure-clustered-nameservers-on-cPanel-server

How to configure clustered nameservers on cPanel server

As you know the importance of having clustered nameservers on cPanel servers, once you setup DNS cluster then the chance for DNS appears down will be lowered.  This will be applicable for the user’s having more than one cPanel server, this can be done easily from your WHM. For that please follow the steps that we have mentioned below, 1. Make sure that you have enabled DNS Clustering on both your servers. This can be done from WHM, for that go [...]

Read more...
change-timezone-for-MySQL-on-a-cPanel-server

How to change timezone for MySQL on a cPanel server

For many of the websites there will be different time elements used for displaying time. It will use the server time this, but in some cases we need to have different time for the website and it is not possible to change the server time. So in that case we can change the timezone for MySQL to keep the website updated with the required timezone. For that first you need to know the function that will display the timezone for MySQL, [...]

Read more...
How-to-check-mysql-processlist

How to check mysql processlist on a cPanel server

There are different ways for checking mysql processlist from a cPanel server. As you all know for most of the production server it is needed to check mysql process list for checking the currently running queries and for finding slow queries that slow down the website loading speed. You can check MySQL process list from command line in the following ways, Enter into mysql from command line using the command, mysql After that use the command, show processlist; For example: root@srv24x7 [~]# mysql Welcome to the MySQL [...]

Read more...
Issue-related-with-WORDPRESS

Issue related with WORDPRESS :: XMLRPC.PHP ATTACK!

WordPress is the most targeted CMS nowadays and needs to be updated regularly. Recently I have seen attacks on wordpress :: xmlrpc.php using POST requests and the attack is large enough to take down / freeze the server. The top or ps aufxw shows most of the xmlrpc.php requests as below : successroute4414 1.3 0.4 85512 35544 ? R 20:57 0:00 | \_ /usr/bin/php /home/successroute/public_html/wordpress/xmlrpc.php nobody 3876 0.0 0.1 25936 10852 ? S 20:52 0:00 \_ /usr/local/apache/bin/httpd -k start -DSSL successroute 4413 1.3 0.4 [...]

Read more...
CloudLinux-Management-on-cPanel-server

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 http://repo.cloudlinux.com/cloudlinux/sources/cln/cldeploy sh cldeploy -k [...]

Read more...
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...
Linux-server-services

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

Read more...
Install-MariaDB-in-cPanel-WHM

How to Install MariaDB in cPanel/WHM

Installation Steps for installing MariaDB on Cpanel server. Easy steps. Step 1: Backup existing MySQL data Make sure to save all existing data just in case there are any issues. cp -Rf /var/lib/mysql /var/lib/mysql-old mv /etc/my.cnf /etc/my.cnf-old Step 2: Disable the targets so cPanel no longer handles MySQL updates The following will mark the versions of MySQL we distribute as uninstalled so they are no longer maintained by cPanel/WHM /scripts/update_local_rpm_versions –edit target_settings.MySQL50 uninstalled /scripts/update_local_rpm_versions –edit target_settings.MySQL51 uninstalled /scripts/update_local_rpm_versions –edit target_settings.MySQL55 uninstalled Step 3: Remove existing MySQL RPM’s so theres [...]

Read more...