I have switched from WordPress to Hugo for many reasons and i am sure if you are reading this you may have your own. Setting up Hugo is not so difficult even if you don’t like to automate all this stuff, you can just use scp
or rsync
to push from your local machine to your server.
We are going to setup new certificate from Let’s Encrypt and use Apache as web server. We need to install the following packages beforehand. Server OS is Ubuntu 18.04.
ss
is an useful Linux command line untility to get detailed information about TCP, UDP sockets and packets. It can display more information compare to netstat
according to man page.
Few days ago I wrote about how to start/restart Apache if it is inactive in Ubuntu. Today I am going to share a bash script for CentOS 7. It is mostly the same except for few changes.
Apache may sometime crash or stop for many reasons. I had this issue with one of the server where Let’s Encrypt post hook does not start Apache for whatever reasons.
GitLab(9.5) recently introduced GPG commit verification. On Ubuntu 16.04.x gpg2 is installed and can be used instead of gpg which is in the latest docs published for GPG with 9.5 release.