CentOS, Dedicated Server, Tips and Tricks

How to setup HAProxy as Load Balancer for Nginx

Basic Concept with HAProxy HAProxy or High Availability Proxy is an open source TCP and HTTP load balancer and proxy server software. HAProxy has been written by Willy Tarreau in C, it supports SSL, compressions, keep-alive, custom log formats and header rewriting. HAProxy is a fast and lightweight proxy server and load balancer with a small memory footprint and low…

Continue Reading

CentOS, Tips and Tricks, VPS

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 and high Then, each system is a bit different. For Linux VMs Debian, Ubuntu (deb based) For a Debian VM,…

Continue Reading

CentOS, Dedicated Server, General, Tips and Tricks

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 start $cfg;done STOP CFGS=`vzlist -S -Ho ctid`;for cfg in $CFGS;do vzctl stop $cfg;done KVM CFGS=/home/kvm/kvm*/;for cfg in $CFGS;do virsh create…

Continue Reading

CentOS, Dedicated Server, General, Tips and Tricks, VPS

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. You’ll need to make sure that screen is installed on the server you are connecting to. If that server is…

Continue Reading

CentOS

Installing Maldet on CentOS

Maldet is an excellent way to help keep your server secure including if you have a control panel installed such as WHM, cPanel, or DirectAdmin. Maldet is designed to scan your files in the /home/ directory (or any directory of your choosing) and comparing the contents with signatures of common malware that usually finds it’s way into the server via…

Continue Reading

CentOS

Network Unavailable with CentOS 7 or Fedora 20

There is a bug in SolusVM that the network settings for CentOS 7 and Fedora 20 do not get provisioned properly when you initially order your VPS. This is due to the change in the way these operating systems use their network config files. Even though there is nothing we can do to fix this automated error, fortunately, you can…

Continue Reading