If you are running static website or blog to be precise with hugo, you may have came across how to add comments to your site. Disqus for example is one of them, but it may not be your 1st choice to go with for many reasons.
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.