Author Archives: admin

Install XenServer tools in your VM

Install XenServer tools Next step is to install those tools. Also I’ll give you some tips. For any VM, go in the console view on your VM, and insert the appropriate ISO: xs-tools.iso for XenServer 6 and older guest-tools.iso for XenServer 7 … Continue reading

Posted in CentOS, Tips and Tricks, VPS | Leave a comment

Adding Additional Disk Drives to CentOS

Adding a new drive to CentOS or RedHat systems. Making use of a second drive for extra space? Here’s a quick run-down: 1) Make sure you know which disk is being formatted. First, second, and third drives will be /dev/sda, … Continue reading

Posted in CentOS, Dedicated Server, General, Tips and Tricks | Leave a comment

SolusVM Mass Starting/Stopping Virtual Servers

If you need to mass start your virtual servers, run the following code in SSH on the host: Xen PV/HVM START CFGS=/home/xen/vm*/;for cfg in $CFGS;do xm create $cfg*.cfg;done STOP xm shutdown -aw OpenVZ START CFGS=`vzlist -S -Ho ctid`;for cfg in $CFGS;do vzctl … Continue reading

Posted in CentOS, Dedicated Server, General, Tips and Tricks | Leave a comment

Using Screen

Screen is like a window manager for your console. It will allow you to keep multiple terminal sessions running and easily switch between them. It also protects you from disconnection, because the screen session doesn’t end when you get disconnected. … Continue reading

Posted in CentOS, Dedicated Server, General, Tips and Tricks, VPS | Leave a comment

scp examples

Example syntax for Secure Copy (scp) What is Secure Copy? scp allows files to be copied to, from, or between different hosts. It uses ssh for data transfer and provides the same authentication and same level of security as ssh. … Continue reading

Posted in General, Tips and Tricks | Leave a comment

Command Line Ping Sweep

Sometimes it can be handy to ‘see’ what is around you on a network, for instance when you’re using DHCP on a network and you want to find which addresses are already taken. Or you want to see whether specific … Continue reading

Posted in CentOS, Dedicated Server, General, Tips and Tricks | Leave a comment

Install, Edit, or Remove Cron Jobs

1. Install Crontab in Batch Mode By specifying the file name as an argument to crontab command, you can install the new cron jobs from a text file as shown below. First create a text file with all your cron … Continue reading

Posted in Tips and Tricks | Leave a comment

Installing WHM and cPanel

1.) Login via SSH as root 2.) Run the following command: cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest 3.) The install will take an hour to 90 minutes to complete 4.) Once the install is complete, … Continue reading

Posted in cPanel | Leave a comment

Full Server Backup and Move Using rsync

Need to make a quick backup of your server? Maybe even move all your important files? Use the following commands to backup or replicate your entire Linux server without any pain. If you are sending the backup to a remote … Continue reading

Posted in General | Leave a comment

Defragment and Optimize MySQL and MariaDB Databases

If your MySQL or MariaDB install has been a bit sluggish, chances are your databases or tables are defragmented. This happens over time and is completely normal but causes MySQL or MariaDB to become slow as the software needs to … Continue reading

Posted in MySQL | Leave a comment