How to restore crashed directadmin server from old HDD !!!

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/ cp -avprf /mnt/etc/my.cnf /etc/ cp -avprf /mnt/etc/exim* […]

See More

How to install MySQL Governor in plain server or without cPanel server.

Run the below command to install MySQL Governor in plain server or without control panel server. yum install db-governor –enablerepo=cloudlinux-updates-testing yum update mysql-server mysql-devel mysql –enablerepo=cloudlinux-updates-testing Add the below line in my.cnf with root password  [dbgovernor]   Run the below command to start. service db_governor restart  

See More

How to Change Theme Without Login To WordPress Admin Area !!!

Check the database name from wp-config.php file. Backup the database using the following command from shell. cPanel  mysqldump database_name > database_name.sql Plesk mysqldump –opt -uadmin -p`cat /etc/psa/.psa.shadow` database_name > database_name.sql Now, login to phpmyadmin and select the database_name. In the database click on table wp_options . In wp_options click on Sql tab . Execute the following […]

See More