Running PHP scripts with Apache on Ubuntu 26.04 takes three moves. Install Apache’s PHP module with sudo apt install php libapache2-mod-php, restart Apache, and put a .php file in /var/www/html.…
Ubuntu Linux
262 tutorials
CGI scripts are programs that Apache runs to build a web page when someone asks for it. To set one up on Ubuntu 26.04, install Apache2, turn on the cgid…
To turn on per-user web folders in Apache2 on Ubuntu, run sudo a2enmod userdir, restart Apache, then put your files in a public_html folder inside your home directory. After that,…
To turn on HTTPS in Apache2 on an Ubuntu server, enable the ssl module, point the default-ssl site at a certificate and key, enable that site, and restart Apache. You…
To host several websites on one Ubuntu 26.04 server, create one Apache2 configuration file per site in /etc/apache2/sites-available/, then enable each one with a2ensite and reload Apache. This guide assumes…
SSHFS (SSH File System) lets you open a folder on a remote Linux machine as if it were on your own PC. It works over an SSH connection, so the…
Restricting a user to SFTP with a chroot means they can only reach one folder on an Ubuntu 26.04 server, and nothing else. You do this by creating a dedicated…
SSH key-pair authentication lets you log in to an Ubuntu server from Windows 11 without typing a password. Your PC keeps a private key, and the server keeps a matching…
OpenSSH is a tool that lets you control another computer from a distance through a secure connection. On Ubuntu 26.04, the OpenSSH server accepts password logins once the openssh-server package…
A static IP address is a network address that stays the same every time your Ubuntu 26.04 machine connects. Your router normally assigns a new address each time, which can…
Windows Subsystem for Linux (WSL) lets you run Linux tools and apps directly on Windows 11 without a separate virtual machine. WSL 2 uses a real Linux kernel, so you…
Removing Windows Subsystem for Linux (WSL) frees up disk space and deletes all associated Linux files and apps. The steps below work on Windows 11 Home and Pro. Read the…
By default, MySQL accepts connections only from the machine it runs on. It listens on the loopback address 127.0.0.1, so other computers on your network or the internet cannot reach…
Task Command Add user to sudo group sudo usermod -aG sudo username Check user groups groups username See user’s sudo permissions sudo -l -U username Edit sudoers file safely sudo…
This article outlines the installation of KDE Desktop on Ubuntu 24.04. KDE Plasma offers customizable widgets and activities for efficient task management. Users can install it using a simple command and reboot to access the new GUI. The process transforms an Ubuntu system without a GUI into a fully functional desktop environment.