Author: rosalindaperkins

Control Panel, CPanel / WHM, Installation, MySql

How to replace MySQL with MariaDB in cpanel

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 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 …

Installation, Security

CVE-2014-7169 BASH Shell Shock Vulnerability for Linux

What is CVE-2014-7169 / Shell Shock Vulnerability? GNU Bash through 4.3 bash43-025 processes trailing strings after certain malformed function definitions in the values of environment variables, which allows remote attackers to write to files or possibly have unknown other impact via a crafted environment, as demonstrated by vectors involving the ForceCommand feature in OpenSSH sshd, …

Installation

How to install kloxo panel in centos

How to install kloxo panel in centos Go to below path. cd /usr/local/src Use the wget Command to download latest version of Kloxo Auto Installer Script wget http://download.lxcenter.org/download/kloxo/production/kloxo-installer.sh Give proper permission. chmod 777 kloxo-installer.sh Install Kloxo control panel as Master. ./kloxo-installer.sh –type=master Next follow the instructions. Once done you will get below message. Congratulations. Kloxo has …

Installation, Uncategorized

Idera backup agent configuration

How to configure Idera backup agent   Installing Agent Using YUM First, create a YUM .repo file with the R1Soft repository information. Open the new file with a text editor such as vi or nano: # cd /etc/yum.repos.d vi r1soft.repo Insert the following text into the file and save the file: [r1soft] name=R1Soft Repository Server baseurl=http://repo.r1soft.com/yum/stable/$basearch/ …

CPanel / WHM

Default Automatic index page when new account is created in cpanel/WHM

Default Automatic index page when new account is created in cpanel/WHM   We all want to show default index page when new account is setup. Below are the steps: First of all we have to create below  folder. mkdir /root/cpanel3-skel mkdir /root/cpanel3-skel/public_html Create default index page. vi /root/cpanel3-skel/public_html/index.html save and quit the file.   If …

CPanel / WHM

How to Configure Multiple shared IP’s in WHM

How to 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 …

CPanel / WHM

how to install whmsonic in cpanel

How to install WHMSonic in cpanel   Login to your server root SSH and copy/paste the following command fully and run it. cd /root/; rm -f installr.sh; wget http://www.whmsonic.com/setupr/installr.sh; chmod +x installr.sh; ./installr.sh   Sample installation output: *********************************************************************** * WHMSonic Setup v2.1.11 * *********************************************************************** WHMSonic installer is now installing the latest version. This may take a …

Cloud Linux, CPanel / WHM

Uninstall Cloudlinux from cpanel

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. To uninstall CloudLinux follow below steps: 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 …

Installation, Uncategorized

How to install ioping in linux server

How to install ioping in linux server This tool lets you monitor I/O latency in real time. It shows disk latency in the same way as ping shows network latency. Login to SSH. Go to the folder where you want to download it. cd /usr/local/src Download the installation file. https://ioping.googlecode.com/files/ioping-0.6.tar.gz Extract that file using below …

DirectAdmin

How to recover directadmin server from crash drive.

How to recover direct admin server from crash drive. First of all mount the crash disk. In my case I am mounting it in /mnt Now, you have to copy the data from old disk to new disk using below commands cp -avprf /mnt/etc/passwd /etc/ cp -avprf /mnt/etc/group /etc/ cp -avprf /mnt/etc/shadow /etc/ cp -avprf /mnt/etc/gshadow /etc/ …