Category Archives: Tips and Tricks

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 CSF (ConfigServer Security & Firewall)

The CSF, ConfigServer Security & Firewall, is a powerful firewall that is made for Linux systems. It comes with an easy to use CLI (Command Line Interface) and integrates with DirectAdmin and cPanel control panels as a graphical user interface … Continue reading

Posted in General, Tips and Tricks | Leave a comment

Synchronizing folders with rsync

** 100% Credit to Juan Valencia – http://www.jveweb.net/en/archives/2010/11/synchronizing-folders-with-rsync.html     The basics of rsync rsync is a very versatile copying and backup tool that is included by default in almost every Linux distribution. It can be used as an advanced … Continue reading

Posted in General, Tips and Tricks | Leave a comment

Rsync with a non-standard ssh port

After some searching, the man page of rsync finally offered a solution: # rsync -avz -e “ssh -p $portNumber” user@remoteip:/path/to/files/ /local/path/ or # rsync -avz -e “ssh -p $portNumber” /local/folder user@remoteip:/path/to/files Passing the port parameter to ssh with the -e … Continue reading

Posted in General, Tips and Tricks | Leave a comment

Windows Speedtest Software

So we all have heard of speedtest.net sure, but what about something that can test from different locations  and create a awesome report for slowdowns and such? I have found DownTester from nirsoft.net what a killer app, works so far … Continue reading

Posted in Tips and Tricks, Windows | Leave a comment