Categories

How to add www-data user to a folder in home directory

When hosting a website on Linux, it is important to ensure that the www-data user has access to the files and folders required to run the website. By default, web servers such as Apache or Nginx run under the www-data user. If you want to host your website from a folder in your home directory,

How to Install LEMP Stack (Linux, Nginx, MySQL, PHP) on Ubuntu: A Comprehensive Guide.

The LEMP stack is a popular combination of software used to host web applications. LEMP stands for Linux, Nginx (pronounced “engine X”), MySQL, and PHP. In this guide, we will walk through the process of installing the LEMP stack on Ubuntu. Before proceeding with the installation, make sure you have a non-root user with sudo

Modify the colors of the command prompt on Ubuntu.

The command prompt is a text-based interface used to interact with the Ubuntu operating system. By default, the command prompt is black and white, but with a few simple commands, you can customize the colors to your liking. Steps to customize the colors of the Ubuntu command prompt: 1. Open the Terminal The first step

Free and optimize GIT disk space

Usually, these days storage devices have evolved, and we no longer care about how much space a file or a program needs on the disk. But, in some particular cases (like virtual machines or docker containers), we might face this problem. Recently I faced an issue on a virtual machine. One of the VM that