Renewing Free LetsEncrypt SSL Certificates

A few days ago, I received an email from LetsEncrypt letting me know that it was time to renew my free SSL certificates. I tried re-running the tool in order to renew the certificates which seemed to work, but then I received this email; staging-expiry@letsencrypt.org <staging-expiry@letsencrypt.org> Sat, Feb 20, 2016 at 10:15 PM To: chris.j.trowbridge@gmail.com Hello,… Continue reading Renewing Free LetsEncrypt SSL Certificates

Published
Categorized as Projects

Updated Comprehensive VPS Setup Documentation

Building a VPS requires lots of complex steps, and these steps change over time. The time has come to create comprehensive, consolidated documentation for how I setup these machines. Many of these steps are optional. Deploy A New VPS With Digital Ocean FQDN DNS Setup With Godaddy Recommended Initial Installations Setup Email Server Create a VirtualHost Setup… Continue reading Updated Comprehensive VPS Setup Documentation

VPS Setup: Automated Database Backups

This is a subpost of the larger post Updated Comprehensive VPS Setup Documentation.   Create a new directory for the backups; mkdir /var/backups/mysql   I added the following line to /etc/crontab in order to facilitate automatic database backups; 0 22 * * * root /usr/bin/mysqldump -uroot -i[MySQL Root Password] [MySQL Database Name] | gzip > /var/backups/mysql/mysql-backup-$(… Continue reading VPS Setup: Automated Database Backups

VPS Setup: Install Free SSL From LetsEncrypt

This is a subpost of the larger post Updated Comprehensive VPS Setup Documentation.   LetsEncypt allows us to setup free SSL certificates for our virtualhosts. First, make sure you are in your root home directory “/~” and then clone the LetsEncrypt git repository; git clone https://github.com/letsencrypt/letsencrypt Enter the directory cd letsencrypt And run the automatic… Continue reading VPS Setup: Install Free SSL From LetsEncrypt

VPS Setup: Create A Virtual Host

This is a subpost of the larger post Updated Comprehensive VPS Setup Documentation.   Once you have your FQDN forwarded to the VPS, create a directory for it with; mkdir /var/www/[fqdn]/ Now we make a new virtualhost conf file with this command. Again, substitute your fqdn; cp /etc/apache2/sites-available/000-default.conf /etc/apache2/sites-available/[fqdn].conf Then edit the file with nano… Continue reading VPS Setup: Create A Virtual Host

VPS Setup: Email Server

This is a subpost of the larger post Updated Comprehensive VPS Setup Documentation.   Many of my apps send lots of emails, so I usually need to setup a local outbound email server. Secure the port with iptables -A INPUT -i eth0 -j REJECT -p tcp –dport 25 Install postfix for the server apt-get -y install postfix… Continue reading VPS Setup: Email Server