In this short article, I will share an automated script, which will issue free SSL certificate from Let's Encrypt and place automated cronjob for automated renewal afterwards. Let's Encrypt is a free SSL provider, which is growing in popularity quite fast. Issuing an SSL is painless and takes just few minutes. This script will install the necessary tools such as git and python modules to your system and create a custom cronjob that will automatically renew the SSL certificate. Note that this script does not handle automatic web server configuration due to the nature of that topic. There are many web servers available as well as many configurations possible, which cannot be predicted. Still, this script can be useful to some of you.
NGinx is a lightweight web server, that has grown in popularity in the latest years. It is one of the most popular web servers after Apache. It uses different concepts than Apache and can handle large quantities ot bandwidth if configured properly.
In this tutorial, we will build a dynamic module that is not included in the original source. This works with existing installations as well. Note, that we need to download NGinx's source and use the same parameters that have been used to compile it before. Otherwise we might get the error "module is not binary compatible".
You might be asking yourself why you might need such configuration. Well, some Internet Service Providers or hosting companies block the default SMTP port 25. If that is the case and port 25 cannot be unblocked, we can use alternative solutions. Such solution is relaying email via other port such as 587. Google's Gmail offers such capabilities and you can use your own Gmail account in order to send messages from your server. Here is how you can do it with few simple steps:
OpenLDAP is a free, open source implementation of the Lightweight Directory Access Protocol (LDAP) developed by the OpenLDAP Project. It is released under its own BSD-style license called the OpenLDAP Public License. This tool can be used for authenticating users to Linux OpenLDAP clients connected to OpenLDAP centralized server.
Google Drive is a great platform, where you can store your files. It has a limited capacity with the free tier, but hey, if you need more space you can always buy more. Creating backups of the important data is always a good idea and is relevant in 99% of any case. I've written a small script, which will archive the contents of your website and upload it automatically to your Google Drive.