Knowledgebase

Ubuntu

Ubuntu Server

Articles

How to Install October CMS on Ubuntu 18.04 LTS Updated 28 September 2026 October CMS 4 on Ubuntu 24.04, Debian 12, AlmaLinux 9 and Rocky Linux 9 Ubuntu 18.04 is end of life; these steps are for Ubuntu 24.04 (and Debian 12 / AlmaLinux/Rocky 9). October CMS is a CMS built on Laravel. The current version is... How to Install PHP on Ubuntu 26.04 and 24.04 (CLI, PHP-FPM and Extensions) Ubuntu 26.04 LTS (PHP 8.5.4, Nginx 1.28.3) and Ubuntu 24.04 LTS (PHP 8.3.6); tested on both To install PHP on Ubuntu, pick the package that matches how you will use it: # command line only (scripts, cron jobs, Composer) sudo apt update sudo apt install... How to Install PuTTY on Ubuntu and Convert Keys with puttygen PuTTY on Ubuntu 26.04 and 24.04 and Debian 13; tested with the putty and putty-tools packages 0.83 on Ubuntu 26.04.1 and You don’t download PuTTY from a website on Ubuntu: it is in the Ubuntu repositories, so install it with apt: sudo apt update sudo apt install putty This installs... How to Install Sendmail on Debian 9 (Stretch)? Updated 28 September 2026 Debian 12 and Ubuntu 24.04 Debian 9 is end of life. Sendmail is one of the oldest mail transfer agents. It still works on Debian 12 and Ubuntu 24.04, but most new servers use Postfix, which is... How to Install Ubuntu Server 26.04 LTS (Step by Step) Ubuntu Server 26.04.1 LTS and 24.04.5 LTS (installer screens checked against the current Subiquity installer source; dis To install Ubuntu Server, download the live server ISO, boot the machine from it and follow the text installer. Two defaults catch people out: the OpenSSH server is... How to Install Wiki.js on Ubuntu 18.04 LTS Updated 28 September 2026 Wiki.js 2.5 with Docker Ubuntu 18.04 is end of life. Wiki.js is a modern open-source wiki with a Markdown editor, search and Git sync. The current version is 2.5; it needs Node.js 20 or newer... How to Install a GUI on Ubuntu Server (GNOME or Xfce) Updated 4 November 2026 Ubuntu Server 26.04 LTS (GNOME 50, Xfce 4.20, xrdp 0.10.1) and 24.04 LTS (GNOME 46, Xfce 4.18, xrdp 0.9.24); package siz Ubuntu Server has no graphical interface, but you can add one with a single package. For Ubuntu’s own GNOME desktop, run sudo apt install ubuntu-desktop-minimal... How to Install a Specific Package Version on Ubuntu and Debian with apt (Hold, Downgrade, Download) Updated 4 November 2026 Ubuntu 24.04 (apt 2.8.3), Ubuntu 26.04 (apt 3.2.0) and Debian 13 (apt 3.0.3); dnf section tested on AlmaLinux 10.2 (dnf List the versions apt can see, then install one with package=version, using the exact version string from the list. If the package has companion packages built from... How to Install and Use traceroute on Ubuntu (UDP, ICMP and TCP Traceroute) Ubuntu 26.04 LTS (traceroute 2.1.6) and 24.04 LTS (traceroute 2.1.5), mtr 0.95, tcptraceroute 1.5beta7; Windows tracert On Ubuntu, traceroute is not installed by default. Install it with sudo apt install traceroute, then run traceroute example.com. If the output is mostly *, try ICMP... How to Install xrdp on Ubuntu for Remote Desktop Access xrdp 0.9.24 on Ubuntu 24.04 (server or desktop) xrdp lets you connect to a Linux desktop with the normal Windows Remote Desktop app (or any RDP client) on port 3389. We installed xrdp 0.9.24 on Ubuntu 24.04. A... How to List All Disks, Volumes and Unmounted Partitions in Linux Updated 4 November 2026 util-linux 2.37 to 2.41 (lsblk, fdisk, findmnt), tested on AlmaLinux 9.8 and Ubuntu 26.04; the same commands on Rocky Li To list all disks and partitions in Linux, with their size, file system and where they are mounted, run lsblk. It needs no root rights and works the same on every... How to List Installed Packages on Ubuntu and Debian (apt and dpkg) apt and dpkg on Ubuntu 24.04 and 26.04, Debian 12 and 13 Ubuntu and Debian keep a database of every installed package. You can read it with apt (easy to read) or dpkg (better for scripts). We tested every command on Ubuntu... How to List and Find Running Processes in Linux (ps, top) Updated 4 November 2026 procps-ng 4.0.4 (ps, top, pgrep), htop 3.4.1, psmisc 23.7 and systemd 257 on Debian 13, tested; Ubuntu 24.04 and 26.04 s To list all running processes in Linux, run ps aux. It shows every process with its user, process ID (PID), CPU and memory use and the command. For a live view that... How to Monitor Network Traffic on Ubuntu: vnstat, iftop, nethogs and nload Ubuntu 26.04 and 24.04 (also Debian); tested on Ubuntu 26.04.1 with vnstat 2.13, iftop 1.0pre4, nethogs 0.8.8, nload 0.7 To see network traffic on an Ubuntu server from the command line, pick the tool that answers your question: How much right now, per interface? nload or vnstat -l... How to Open Ports on Ubuntu with UFW (Allow SSH and Enable) Updated 4 November 2026 UFW 0.36.2 on Ubuntu 26.04 LTS and 24.04 LTS (the same on Debian 13), tested To open a port on Ubuntu, allow it in UFW, Ubuntu’s firewall tool: sudo ufw allow 8080/tcp. If UFW is not switched on yet, allow SSH first and then enable it, or... How to Open a Terminal in Ubuntu (Desktop, Server and VPS) Ubuntu Desktop 26.04 LTS (Ptyxis 50.1) and 24.04 LTS (GNOME Terminal 3.52), Ubuntu Server, and Ubuntu on Windows through On Ubuntu Desktop, press Ctrl+Alt+T. A terminal window opens straight away. On Ubuntu Server there is no desktop: you are already at a terminal after you log in, and... How to Recover a Deleted Directory or Folder in Linux: Trash, extundelete, ext4magic and PhotoRec Updated 4 November 2026 Debian 13 and Ubuntu 26.04 (extundelete 0.2.4, ext4magic 0.3.2, PhotoRec 7.2, trash-cli 0.24), AlmaLinux 10 with EPEL (P A folder removed with rm -r or rm -rf does not go to a trash folder: Linux marks its space as free straight away. You can often still recover a deleted directory, but... How to Restart the Network on Ubuntu (netplan apply, networkctl and NetworkManager) Ubuntu 24.04 LTS (netplan 1.1.2, systemd 255, NetworkManager 1.46) and Ubuntu 26.04 LTS (netplan 1.2, systemd 259); test On Ubuntu Server the network is configured by netplan and run by systemd-networkd. After you change a file in /etc/netplan/, the right way to “restart the... How to Secure Nginx with NAXSI on Ubuntu 16.04? Updated 28 September 2026 Ubuntu 24.04 (Nginx with ModSecurity v3 and OWASP CRS) Ubuntu 16.04 is end of life. NAXSI, a web application firewall module for Nginx, is no longer packaged for current Ubuntu, and its original project was archived in... How to Set Up Remote Logging with rsyslog on Ubuntu and AlmaLinux Updated 22 October 2026 Ubuntu 24.04, Debian 12, AlmaLinux 9 and Rocky Linux 9 Ubuntu 14.04 is end of life; these steps are for Ubuntu 24.04 and AlmaLinux 9 / Rocky Linux 9, which all use rsyslog. Sending logs to a central server keeps them safe... How to Set Up an FTP Server on Ubuntu (vsftpd with TLS) Updated 4 November 2026 vsftpd 3.0.5 on Ubuntu 26.04 LTS and 24.04 LTS (both tested) To run an FTP server on Ubuntu, install vsftpd with sudo apt install vsftpd, turn on TLS, lock each FTP user into their own folder and open port 21 plus a passive port... How to Set a Static IP on Ubuntu with Netplan (Ubuntu 24.04) Ubuntu 24.04 LTS servers (netplan.io 1.1.2) Ubuntu configures its network with Netplan: YAML files in /etc/netplan/ that Netplan turns into settings for systemd-networkd (on servers) or NetworkManager (on... How to Setup Kerberos Server and Client on Ubuntu 18.04 LTS? Updated 28 September 2026 Ubuntu 24.04 (MIT Kerberos 1.20) Ubuntu 18.04 is end of life; these steps are for Ubuntu 24.04. Kerberos provides single sign-on: users authenticate once and get tickets for other services. For a... How to Update Ubuntu Repositories and Use a Local Mirror or apt-cacher-ng to Save Bandwidth Updated 4 November 2026 Ubuntu 26.04 (apt 3.2.0, apt-mirror 0.5.4, apt-cacher-ng 3.7.5); the same steps on Ubuntu 24.04 and Debian 13 To update the Ubuntu repositories, run: sudo apt update This downloads the latest package lists from every repository your server uses. It installs nothing; sudo apt... How to Upgrade Ubuntu to 26.04 LTS: Steps, Checks and Changes Updated 4 November 2026 Ubuntu release upgrades from 24.04 LTS to 26.04 LTS (26.04.1) with do-release-upgrade (ubuntu-release-upgrader 26.04.25) To upgrade Ubuntu to a new release, first install every update for the release you have, then run the release upgrader: sudo apt update sudo apt full-upgrade sudo...