Speed Up Yum – CentOS 6 & 7

Yum, the CentOS package manager can be a real pain at times. I've seen Yum download packages at crawling speeds of 5kBps, that's right. To fix this is fairly straightforward,…

Install PHP 5.6 on CentOS 7.2

CentOS is really slow to update versions of software's it maintains so we'll have to add an external repo to install PHP 5.6 on our server. Make sure you backup…

Install Varnish 4 – CentOS 7.2

Installing Varnish on CentOS 7.2 is pretty straight forward, start off by adding the epel-release repo. [crayon-5941762af025c321855915/] With the repo added install Varnish [crayon-5941762af0264067814222/] Start Varnish [crayon-5941762af0268097329916/] Start Varnish at…

Vnstat: Not enough data available yet

Kept getting this dreaded error on a new install: [crayon-5941762af0966614507193/] The fix for me was to update the vnstat databases manually, issued the following command: [crayon-5941762af096d287975192/]  
Change hostname – CentOS 7

Change hostname – CentOS 7

Changing the hostname on CentOS 7 is pretty straight forward, issue the following at shell and replace HOSTNAME with the hostname you want to set. [crayon-5941762af1530060408337/] To verify that the new…