The important thing about programming is that when you write a program that performs a specific task, your code should be prepared for multiple scenarios, variations, and if possible, parameterized - to fine-tune its operation. This is no different for shell scripts. In today's example, we'll look at how we can flexibly handle the parameters we get in our scripts to help make programs easier for others to use.
Linux tutorials, system administration, web hosting, programming
Debian has introduced a new network interface naming scheme since the release of 9 (Stretch). Instead of the names of previously used ethernet devices (eg eth0) or WLAN devices (eg wlan0), etc. - a newly installed Debian 9 Stretch system - uses names such as enp5s7 and wlp2s0. Debian 9 (Stretch) still manages these names, but Debian 10 (Buster) does not. In this tutorial, we'll make the switch to using the new network interface names so that if you want to upgrade your system further, your network will work with the Debian 10 release.
WordPress is a free, open-source, easy-to-use, customizable and search engine-friendly CMS system that makes it easy to create blogs, websites, or even webshops. We have previously installed a Drupal 8 system for a Debian 8 (Jessie) perfect server configuration, and now we will discuss the 5.2 version of WordPress on an ISPConfig server environment. There will be more descriptions later on the installed website.
In this tutorial, we build a minimal server for Ubuntu 18.04 LTS (Bionic Beaver), which will be the building block for many more descriptions. Ubuntu has been providing support for LTS (Long Term Support) family for five years, so we will receive updates for the 18.04 version by April 2023. This is an excellent basis for installing a server - which we want to operate securely for many years to come. On this page, we will start with the installer steps and finish on the next page with some command line options.
In this tutorial, we will install the lm-sensors program, which will first detect the temperature sensors available in the computer and then retrieve their current data at any time. We will also install a program called hddtemp to read the temperature values of the sensors on our hard drives separately. This allows us to monitor our machine data on a regular basis during the hottest periods to ensure optimal use.