Secure Nginx with Let's Encrypt SSL on Debian 10/11

Overview In the following post we’re going to cover the procedure how to secure Nginx with Let’s Encrypt SSL on Debian 10 machine(This procedure can be applied on Debian 11 as well). The post will showcase the scenario, where we need to install certbot on our Debian machine and obtain the SSL certificate from Let’s Encrypt, setup the automatic HTTPS redirection and test out the certificate renewal as well. Here we already have a Debian machine with Nginx preinstalled on which we’re going to go through the steps on how to secure nginx with let’s encrypt ssl. ...

June 12, 2021 · 5 min · 861 words · MarkoN

Install Wordpress with Nginx on Debian 10/11

Overview The following post will showcase the steps how to install Wordpress with Nginx on Debian 10 and on Debian 11 as well. On a single Debian server we will install and configure the LEMP stack(Nginx, PHP and MariaDB) and at the end install and run Wordpress. In other words, our single Debian server will run the Nginx web server, the MariaDB server and run Wordpress altogether. Wordpress can also be setup and run on multiple separate servers(separate web server and separate database server). If you need setup like that(with a remote database), you can check how to setup it on this post. Another method of installing and running Wordpress is with Docker, which is covered on this post. ...

May 30, 2021 · 6 min · 1119 words · MarkoN

Install Let's Encrypt SSL on HAProxy

Overview We’ll go through the steps how to install Let’s Encrypt SSL on HAProxy. Aside from installing and configuring haproxy with Let’s encrypt certbot and acquiring ssl, we are also going to cover how to renew the certificate automatically. The written instructions are performed on GNU/Linux servers(Debian in this case). Prerequisites: HAProxy installed Cerbot installed Note: HAProxy and Certbot are installed on the same server in this example. If you need more information to understand how the HAProxy works, you can check this post where we explained how haproxy works and went through the example configuration, where we explained the configuration in detail. ...

April 4, 2021 · 7 min · 1289 words · MarkoN

Install HAProxy on Debian

Overview We’ll cover the steps on how to Install HAProxy on Debian. Apart from showcasing the installation steps of HAProxy, we’re also going to explain basics of HAProxy, how it works and also how to configure HAProxy too. HAProxy can run with round-robin instructions and with in failover mode, but also it can run with both at the same time, assuring the HA(High Availability). Aside running HAProxy in round-robin mode only, some HA scenarios require failover where you want to have a backup server or servers for the main servers which serve a website or an app for a more reliable HA environment and with easier maintenance. ...

February 9, 2021 · 5 min · 934 words · MarkoN

How to install Webmin on CentOS 8

How to install Webmin on CentOS 8 Overview This post will cover the procedure on how to install Webmin on CentOS 8. This method can also be applied on earlier versions of CentOS( like 7 and 6). Webmin is a web based system configuration and management tool for Unix based systems. Meaning, that with it you can do the management on all your Linux servers. It’s robust, powerful and with a lot of features. It also became a quite good open source alternative for cPanel, since not only it can do user administration, package management, networking configuration and performance monitoring but also it can manage web servers. Because of all that, it’s a powerful tool for system administrators and web masters. ...

May 5, 2020 · 6 min · 1115 words · MarkoN

Setup NFS server on Debian 10/11[NFS share mount]

How to setup NFS server on Debian 10[NFS share mount] Overview In this post, we’ll walk you through a process how to setup NFS server on Debian 10 and the process is same for Debian 11. Earlier on this site, we covered the other method as well where we showed the process mounting the network shared drive on Linux, but with this method we used cifs-utils tools(LINK). The principle behind this process is basically the same - mount a network shared folder or drive from another machine and access it via local network. ...

April 8, 2020 · 7 min · 1364 words · MarkoN

How to install Webmin on Debian

How to install Webmin on Debian Overview This post will cover the procedure on how to install Webmin on Debian(this procedure works on Debian 10 and on Debian 11 as well). This method can also be applied on earlier versions of Debian( like 9 and 8) and on other Debian based distros such as Ubuntu. Webmin is a web based system configuration and management tool for Unix based systems. Meaning, that with it you can do the management on all your Linux servers. ...

April 2, 2020 · 6 min · 1108 words · MarkoN

How to SSH on Linux from Android

How to SSH on Linux from Android Overview Like it’s mentioned in the title, we’re going to SSH on Linux from Android phone or in another words - setup an SSH connection to our Linux server from an Android phone. Meaning that with this setup, we’ll be able to access our Linux servers, from an SSH Android client app from within the LAN network and also remote servers - like cloud servers. Also, we’ll cover the steps of creating the SSH keys and installing those on our server as well. In order to set this all up, you already need to have an access to the server you wish to enable SSH access. ...

March 20, 2020 · 7 min · 1453 words · MarkoN

How to install Jenkins on Linux

How to install Jenkins on Linux Overview On this post we’re gonna go through the process on how to install Jenkins on Linux. We will cover the steps of installing Jenkins on Ubuntu/Debian distros and on Fedora/CentOS. We tested this process on AWS and it’s EC2 instance, but also on couple of virtual machines running from a local computer. So, this means that you can use these steps to install Jenkins on your AWS instance or any other Linux machine which is cloud hosted or on your local Linux machine. ...

October 31, 2019 · 4 min · 752 words · MarkoN

How to enable Gzip compression on Nginx

How to enable Gzip compression on Nginx server Overview If we want to use Nginx as a web server, for better caching and website performance, it is recommended to have compression enabled, such as gzip compression. Nginx is another good open source web server and it’s packed with many good features. Unfortunately, gzip compression on Nginx is not enabled by default(in some cases). In this post, we’ll cover the steps how to enable gzip compression on Nginx server. ...

August 26, 2019 · 4 min · 713 words · MarkoN