Install PHP 7.2 on CentOS 7 with VestaCP (How to)

16th March 2018 - Linux

I’ve published one before on the VestaCP Forums regarding how to install PHP 7.0 on Centos 7 with VestaCP. This tutorial is now for PHP 7.2 which has increased performance over PHP 7.0 and 7.1. If you have a handful of WordPress websites on PHP 5, you should upgrade. If you’re on PHP 7.0 from my previous tutorials, or are using my Server Installer Script then this will also work for you. I would advise upgrading when you have time.

Continue Reading

Backup MX / Backup Email / Secondary MX Server – VestaCP

26th April 2017 - Linux

Hey guys,

I found a great little tutorial from me back on the VestaCP forums in April 2016 regarding a Secondary MX (backup email server) server for VestaCP – it’s really easy to set up. Essentially what happens is when your main email server is offline or under stress, the third party email server (the one sending the email) sends the email to the secondary email server. Once that happens, the secondary email server attempts to send the email back to the first email server.

Read on for more information.

Continue Reading

Redirect HTTP to HTTPS in VestaCP with NGINX

14th March 2017 - Linux

Very simple trick here, but has a few people at a road block. If you’re running NGINX on VestaCP then the following will redirect all HTTP traffic to HTTPS traffic. Just make sure you’ve got a SSL certificate set-up and working.

Continue Reading

Test Clamd (ClamAV Scanner)

11th November 2016 - Linux

test clamd/clamavRecently I had to test clamd/clamAV to do this today just to make sure my antivirus scanner was working. I’m a big fan of not installing antivirus software for e-mails, because I strongly believe SpamAssassin eliminates it however, sometimes your clients or e-mails have been around for years – and these days it’s getting even harder to eliminate spam and viruses.

Continue Reading

VestaCP Server Installer – The Perfect Server

5th October 2016 - Linux

NOW WORKS WITH THE NEW VERSION 0.9.8-20! 🙂

Please upgrade to VestaCP release 20. A security flaw currently affecting servers is present in release < 20. If upgrade is not yet available, please patch

I decided to create the perfect VestaCP server installer script (in my opinion) for CentOS 7 (I have only tried it on CentOS 7). Basically, you run it, it asks a few questions and then it sets up a perfect server including CSF, Monit and PHP 7 (if you want it). Amazing, right?

Continue Reading

Monit SMS notifications with TextBelt for free

29th September 2016 - Linux

TextBelt is a free service whereby you can receive SMS messages for free. It’s as simple as this:

curl -X POST http://textbelt.com/text \
   -d number=5551234567 \
   -d "message=I sent this message for free with textbelt.com"

So wouldn’t this be cool if we could integrate this with Monit? Well I did just that. With a few lines of code you can receive SMS messages when one of your monit programs goes offline.

Continue Reading