How to set up automatic updates for Ubuntu Linux 18.04

To set up automatic updates for Ubuntu Linux 18.04, you can use the unattended-upgrades package. First, make sure that the package is installed by running: sudo apt-get update sudo apt-get install unattended-upgrades Next, open the configuration file: sudo nano /etc/apt/apt.conf.d/50unattended-upgrades In the file, uncomment the line that starts with “//Unattended-Upgrade::Origins-Pattern”. This will allow the package … Read more

How to install LAMP on Debian 10 (Buster)

  To install LAMP (Linux, Apache, MySQL, PHP) on Debian 10 (Buster), you can use the following steps: Install Apache web server: sudo apt-get update sudo apt-get install apache2 -y Install MySQL server: sudo apt-get install mysql-server -y Install PHP and necessary modules: sudo apt-get install php php-mysql libapache2-mod-php -y After installation, start Apache and … Read more

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