Tagged: CentOS

LEMP: CentOS 7, Nginx PHP7, and Redis for WordPress

Scripts to setup a WordPress server on CentOS 7 with Nginx, PHP/PHP-FPM 7, Redis and more. Firewalld – allow only HTTP/S and SSH traffic Letsencrypt – free SSL certificates Yum Cron – keep system...

Install ClamAV + Maldet on CentOS 7

A quick guide for installing ClamAV and Maldet on CentOS 7 for malware scanning and quarantining. Install ClamAV and Maldet Using the ClamAV malware library will speed up the scans performed by Maldet. You...

Node.js + PM2 + Nginx + Redis on CentOS 7

This is a quick setup guide for the application stack I have been using recently. Most of my latest work has been a throwback to the first server-side programming I did in the 90’s...

Yum Install Jenkins as a Service on CentOS 7

I have previously written about how to Install Jenkins on CentOS as a Service where it was necessary to write your own startup, shutdown, configuration, and init.d scripts. Luckily this is all much easier...

Letsencrypt: Free SSL Certificates for Nginx

I always wanted all of my sites to run over SSL, but it also didn’t seem worth the expense of buying certificates for all the domains I own. Enter Let’s Encrypt which offers free...

Dynamically Update /etc/hosts from Nginx

I wanted to guarantee that requests coming from one of my servers going to a domain they host are routed to localhost. The solution I arrived at was to generate a list of domains...

Monitor IPSec VPN Tunnel

I have an IPSec Tunnel built from one of my servers to an integration partner which is used to secure our web service calls. It uses a IPSec, OpenSwan, and Pluto to maintain a...

Install PHP 7.0 (phpng) on CentOS & RedHat

This guide will show how to install PHP 7.0 on RedHat andĀ CentOS Linux. This version of PHP is also known as PHPNG to indicate it is the “next generation” of PHP. Many fundamental improvements...

Extract a tar.xz file on CentOS and RedHat

This guide will show you how to extract a tar.xz file on CentOS or RedHat, and probably other flavors of Linux as well. Traditionally compressed archive files are distributed on Linux systems as tar.gz...

Install logtail on CentOS

The developer of logtail has not made the repository available via yum for quick installation. Even if you don’t want to access logtailĀ from the command line, it is still used by several other scripts...