Debian 10 Set Up OpenVPN Server

Setting up an OpenVPN server on Debian 10 can be done in just a few minutes using the following steps: Install OpenVPN by running the command sudo apt-get install openvpn Create a directory to store the server configuration files by running the command sudo mkdir /etc/openvpn/server Generate the server’s private key and certificate by running … Read more

How to upgrade Debian 9 to Debian 10 Buster using the CLI

First, make sure that your current system is up-to-date by running the following command: sudo apt-get update && sudo apt-get upgrade Then, backup all important data and configurations from your current system. Next, run the following command to upgrade your system to Debian 10: sudo apt-get install -y upgrade Now, Run the following command to … Read more

How to change hostname on Debian 11/10 Linux

You can change the hostname on Debian 11/10 Linux using the following steps: Open a terminal and use the command hostnamectl set-hostname new_hostname where new_hostname is the new hostname you want to set. Edit the file /etc/hosts and change the old hostname to the new hostname in the line starting with 127.0.1.1 Edit the file … Read more

Amazon Linux AMI install mysql client programs for RDS

You can install the MySQL client programs for RDS on Amazon Linux AMI using the following steps: Install the MySQL repository: Run the following command to install the MySQL repository: wget https://repo.mysql.com/mysql80-community-release-el7-1.noarch.rpm sudo yum localinstall mysql80-community-release-el7-1.noarch.rpm Install the MySQL client programs: Use the following command to install the MySQL client programs: sudo yum install mysql-community-client … Read more

Ubuntu 18.04 remove all unused old kernels

You can remove all unused old kernels on Ubuntu 18.04 using the following steps: Check the installed kernels: Run the following command to check the list of installed kernels on your system: dpkg –list | grep linux-image This will show a list of all the installed kernels, including the current one you are using. Remove … Read more

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