Script setup Let’s Encrypt Certbot auto renew. Today I will introduce you to a small utility script. I also had another article about setting up auto renew Certbot for Nginx. You see, having the Let’s Encrypt SSL certificate expire every 3 months will make you a bit uncomfortable. Anyhow, it’s free and works well so
Simple script to list all weekends for 6 months. I received a request from the user that they want to retrieve the log of the weekends in the first 6 months. Specifically, they want to see the log starting from January 1, 2019 until July 31, 2019. The problem posed In our log center, the
Script automatically configure SSH security. For Linux server administrators, SSH protection is an important thing. There have been many articles talk about what to configure to protect SSH connections for your server. In this article, I will give you a simple script to do that faster. Script automatically configures ssh security in CentOS This script
In this article, I will introduce to you the script to install LEMP stack in Ubuntu 16. Using this script can save you some time. My lab environment I use a virtual machine Ubuntu 16.04 with the following configuration. OS: Ubuntu 16.04.5 LTS 64bit. IP: Example i use 192.168.56.30. You can change the information in
This article will provide to you a script automatically frees up memory in Linux. This script is for Linux servers. Commands to clear cache in Linux You know, most of the memory in Linux will turn into cache during operation. Linux provides the following three commands to clear the cache at different levels. 1. Command
How to calculate percent of memory used in Linux? This article will guide you to do that. For Linux desktops, you can easily see the percentage of RAM used on your computer through programs like System Monitor. But for Linux servers, only the command line, you must use it. Free command in Linux Linux provides
Today, I wrote a script to install the LAMP stack on CentOS 6, using PHP 7.2. This article will guide you through the script to install LAMP (PHP 7) on CentOS 6 quickly. About this script Script will install the LAMP stack on CentOS 6 with just a few commands. Basic features of the script.
This article will guide you how to make a bash script run as a service on Debian 8. This article is quite simple, because I’ve previously written similar tutorials for CentOS 6, CentOS 7, Ubuntu 16. Debian 8 also uses systemd as Ubuntu 16, so the usage in these two operating systems is the same.
In this article, I will introduce the rest of zenity, which is to create a text information dialog. This will help you create dialogs that display information from a text file. Normally, you will see dialog boxes displaying copyright information while installing certain software. Creates a text information dialog To create a text information dialog,
Zenity supports a number of message types. This article will guide you through these types of messages. To make the message dialog very simple, just use the --text option with the message type option. The dialog dialog dialog supports the following four message types: Information Question Warning Error Create an information dialog To create the information