Change netplan renderer from networkd to NetworkManager

To change the netplan renderer from networkd to NetworkManager on Ubuntu, you can follow these steps: Open the netplan configuration file: Run the following command to open the netplan configuration file in a text editor: sudo nano /etc/netplan/50-cloud-init.yaml Change the renderer: In the configuration file, you will see the “networkd” renderer specified. Change this to … Read more

Apache with Let’s Encrypt Certificates on CentOS 8/9

To set up Apache with Let’s Encrypt Certificates on CentOS 8/9, you can follow these steps: Install the certbot-apache package using the command: sudo dnf install certbot-apache Run the command to obtain the SSL certificate: sudo certbot –authenticator apache -installer apache Follow the prompts to enter your email address and agree to the terms of … Read more

How To Install MariaDB on CentOS 8

Here are the steps to install MariaDB on CentOS 8: Update the package manager: Run the following command to update the package manager and ensure that it has the latest package information: sudo dnf update Add the MariaDB repository: To install MariaDB on CentOS 8, you will need to add the MariaDB repository to your … Read more

How to install whois on RHEL 8 / CentOS 8

To install the whois command on RHEL 8 / CentOS 8, you can use the package manager dnf: sudo dnf install whois This will install the whois package, which provides the whois command-line tool for querying domain name registration information. Once installed, you can use the whois command to look up information about a domain … Read more

How To Protect SSH With Fail2Ban on CentOS 8

To protect SSH with Fail2Ban on CentOS 8, you can follow these steps: Install Fail2Ban by running the command sudo yum install fail2ban. Create a new Fail2Ban configuration file for SSH by running the command sudo nano /etc/fail2ban/jail.d/sshd.local. In the file, add the following configuration: [sshd] enabled = true port = ssh filter = sshd … Read more

How To Enable and Install EPEL Repo on CentOS 8

Here’s how to enable and install the EPEL (Extra Packages for Enterprise Linux) repository on CentOS 8: Download the EPEL repository package by running the following command: sudo yum install epel-release Verify that the EPEL repository has been added by running the following command: yum repolist The EPEL repository should be listed among the enabled … Read more