dd command to migrate VPS on linux platform. First create new vps with same configuration on another node. It doesn’t matter new vps is having os or not or you can choose any OS. Once same configuration VPS setup done then use below command to migrate VPS. dd if=/dev/guestos/kvm2351_img | ssh 10.10.10.10 “dd of=/dev/guestos/kvm2520_img” Once migration is …
Category: Uncategorized
Kill restore process in new cpanel
Kill restore process in new cpanel In new cpanel/WHM when we try to kill restore process it is still showing in WHM >> restore full backup. Below are the steps to remove that process from WHM. You can manually mark the transfer as completed using the following instructions: Ensure the transfer is no longer …
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/ …
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 …
How to tweak linux server harddisk using hdparm
Tune your hard disk for high performance Using hdparm First of all you have to install hdparm in linux. apt-get install hdparm #hdparm /dev/sda /dev/sda: readonly = 0 (off) readahead = 120 (on) geometry = 8850/255/63, sectors = 142182912, start = 0 Hard disk Performance Information # hdparm -tT /dev/hda /dev/hdd: Timing cached reads: …
DDOS attack check
DDOS attack Whenever the load in the server increases due to a particular user in the server. Check the following: You can check the user in top. Find the domain owned by the user: grep username /etc/userdomains use the following command after you get the domain name: less /usr/local/apache/domlogs/domain.com | awk ‘{print $1}’ | sort …
vi and vim cheat sheet for Linux
vi and vim cheat sheet for Linux Cursor movement h – move left j – move down k – move up l – move right w – jump by start of words (punctuation considered words) W – jump by words (spaces separate words) e – jump to end of words (punctuation considered words) E …
Change Theme Without Login To WordPress Admin Area
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 …
How To: Find Symlink under UNIX / Linux
How To: Find Symlink under UNIX / Linux Now, a days sym/root hacking is famous and hacker can create a sym/root folder by using script. How do I find symlink(s) under UNIX and Linux operating systems? Use the below command to find symlink directory find /path/to/dir -lname /path/to/file OR If you want to search sym/root …
Log folder contents deleted getting error mails
Log folder contents deleted getting cron mails and getting below error. Cannot open /var/log/sa/sa03: No such file or directory Login to server via SSH Go inside /var/log/ folder cd /var/log/ Check for sa folder, if it is not present then create it manually using below command. Files will be generated automatically inside that folder mkdir …