Author: Justin Silver

Validate SSL Certificate & Private Key

It’s not uncommon to need to validate if an SSL certificate / private key combination is valid. The easiest way to do this is with OpenSSL, an open source library that… is a robust,...

Nginx Configuration Monitor

I wanted a way to quickly distribute configuration files to my servers and have Nginx automatically reload. I found a solution for Debian servers and adapted it for CentOS 7 here. You will first...

Github + Multiple Repository SSH Deploy Keys

I use Jenkins for CD/CI, but was running into the issue of deleted files not being removed from the target server. My solution to this issue was to only use Jenkins to generate the...

Reinstall All Homebrew Packages

After upgrading to OS X Sierra I was unable to start MariaDB (or MySQL). Long story short, I ended up rebuilding openssl which fixed the signal 4 error, likely due to changes in the...

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...

Send Emails on Mac OS X with Postfix and a Gmail Relay

A quick howto setup Mac OS X and Postfix to use Gmail as a relay. Everything will need to be executed as root using sudo. If you just need to send emails try running...

Ignore node_modules in Dropbox

Node is notorious for generating a rather large number of files in the node_modules when running and npm install. I like to start my projects in Dropbox, which presents a problem with my computer...

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...

Slate Documentation Server on EC2 Amazon Linux

I was trying to setup the Slate API Documentation Server on an EC2 instance running Amazon Linux. When I fetch the git repository and attempted to install the dependencies using bundle install, it would...