Completely uninstall MariaDB – Debian 11

Note that the following steps will completely purge your MariaDB, configs and all other setup. In the command below, note that purge has 2 hyphens in front of it. sudo apt-get –purge remove “mysql*” # Note that purge has 2 hyphens in front of it. sudo rm -rf /etc/mysql sudo rm -rf /var/lib/mysql # You …

Read more

Nginx convert conf.d directory to the sites-available directory setup

To convert an NGINX server from using the conf.d directory to the sites-available directory to store configuration files, you can follow these steps: sudo mkdir /etc/nginx/sites-available sudo mkdir /etc/nginx/sites-enabled sudo cp /etc/nginx/conf.d/* /etc/nginx/sites-available/ sudo ln -s /etc/nginx/sites-available/* /etc/nginx/sites-enabled/ sudo rm /etc/nginx/conf.d/* include /etc/nginx/sites-enabled/*; sudo systemctl restart nginx This will convert the NGINX server to use …

Read more

Install PHP 8.2 or 8.1 Debian 11 – Sury PPA

Add the DEB.SURY.ORG repository PPA on Debian 11 curl -sSL https://packages.sury.org/php/README.txt | sudo bash -x ; sudo apt update Installing PHP 8.1 FPM and other relevant modules. Copy the following line and run it in your terminal. This line installs PHP and all the other listed php modules. If you do not need to install …

Read more

Contabo Install Ubuntu Server and Log in via SSH

Contabo is a German cloud hosting platform that provides very affordable VPS solutions . Check out Contabo VPS prices here. In this post let’s see how to install Ubuntu server on Contabo and then connect to your server via SSH. You may also watch the video above for a step by step guide on how …

Read more

How To Change Linux Server Hostname { Ubuntu/Debian}

If you are using Contabo VPS or any other cloud provider, you may need to change your Hostname. Here is a quick guide for how to change server Hostname. What is the current hostname? Check the current hostname: hostname Change the hostname – To change the Ubuntu/Debian server hostname edit /etc/hostname . sudo nano /etc/hostname …

Read more