Ubuntu
Ubuntu Server
Articles
Apache Tomcat Hosting: How to Install Tomcat 11 on Ubuntu and Run It Behind Nginx
Apache Tomcat runs Java web applications: servlets, JSP pages and .war files. It is a Java program that runs all the time and listens on its own port (8080 by...
Best Music Players for Ubuntu and Linux Mint: MP3 Players and Library Managers
For most people the best music players on Ubuntu and Linux Mint are Rhythmbox (simple, the player in Ubuntu's full desktop set), Strawberry (best for large MP3 and...
Download Fedora ISO Images: Current Release, Old Versions Like Fedora 29, Checksum Check and USB
Fedora 29 reached end of life in November 2019 and has had no security updates since, so do not install it on anything new. Download the current release from...
How Much Swap Should You Use in Linux?
Your system uses Random Access Memory (aka RAM) when it runs an application. When there are only a few applications running your system manages with the available RAM....
How To Install Apache-MySQL-PHP (LAMP) on Ubuntu 16.04 LTS?
Ubuntu 16.04 is no longer supported, so this guide now uses Ubuntu 24.04 LTS (Debian 12 works the same way).
This guide installs a LAMP stack on Ubuntu 24.04 LTS and...
How To Install Plone CMS on Ubuntu 18.04
Ubuntu 18.04 is end of life. Plone is a mature open-source CMS written in Python, known for its security and fine-grained permissions. The current version is Plone...
How To Move an Nginx Web Root to a New Location on Ubuntu 18.04?
Ubuntu 18.04 is no longer supported, so this guide now uses Ubuntu 24.04 LTS.
Move a site's files to another location, for example a larger disk mounted at /data, and...
How To Reset Your MySQL or MariaDB Root Password on Ubuntu 18.04?
Ubuntu 18.04 is end of life; these steps are for MariaDB 10.11 and MySQL 8.0 on Ubuntu 24.04 / Debian 12, and also work on AlmaLinux 9 / Rocky Linux 9.
First try: log...
How to Add Swap Space on Ubuntu 24.04 and 26.04
To add swap space on Ubuntu, create a swap file and turn it on: on Ubuntu 26.04 run sudo mkswap --file --size 2G /swapfile, on Ubuntu 24.04 run sudo fallocate -l 2G...
How to Check Your Ubuntu Version (Command Line and Settings)
To check your Ubuntu version, open a terminal (or log in over SSH) and run lsb_release -a. The Description line shows the full version, for example Ubuntu 26.04.1 LTS....
How to Compile Brotli Compression Tool from Source on Debian 9?
Debian 9 and 10 are no longer supported, so this guide now uses Debian 12 (Ubuntu 24.04 works the same way).
Brotli compresses text better than gzip. On current Debian...
How to Create and Activate a Python Virtual Environment (venv) on Ubuntu
To create and activate a Python virtual environment on Ubuntu, install the python3-venv package once, then create the environment in your project folder and source its...
How to Disable IPv6 on Ubuntu Linux?
1. Disable IPv6 using Sysctl
First of all, you can check if you have IPv6 enabled with:
ip a
If IPv6 is enabled, the output shows inet6 lines with IPv6 addresses...
How to Encrypt a Disk on Ubuntu with LUKS and cryptsetup
Ubuntu encrypts disks with LUKS, managed by the cryptsetup command. There are two ways to use it:
Full disk encryption of the system disk, chosen in the installer....
How to Force a User to Change Password at Next Login on Linux and RHEL (passwd and chage)
To make a user choose a new password the next time they log in, expire their current password as root:
sudo passwd --expire vyga # short form: passwd -e vyga
sudo...
How to Free Up Disk Space on an Ubuntu Server
An Ubuntu server does not need a cleaner app. First find what is using the space, then clear it with the built-in tools: sudo apt clean empties the package cache, sudo...
How to Install ApostropheCMS on Ubuntu 18.04 LTS
Ubuntu 18.04 is end of life. ApostropheCMS is a Node.js content management system with in-context editing, backed by MongoDB. The current major version is Apostrophe...
How to Install BoltWire CMS on Ubuntu 18.04 LTS
Ubuntu 18.04 is end of life. BoltWire is a small, flat-file CMS: it needs no database and stores everything in files. It suits small sites and intranets. Check...
How to Install Dolibarr ERP + CRM System on Ubuntu 18.04 LTS
Ubuntu 18.04 is end of life. Dolibarr is an open-source ERP and CRM for small and medium businesses (customers, invoices, orders, stock, projects). The current version...
How to Install Java (OpenJDK) on Ubuntu and Debian
Ubuntu and Debian include OpenJDK, the free open-source Java. You need the JRE to run Java programs and the JDK to build them. We tested these steps on Ubuntu 24.04...
How to Install Laravel based PyroCMS on Debian 9
Debian 9 is end of life. PyroCMS 3 is built on Laravel 5, which has long been out of support, and the project sees only occasional small changes. For new Laravel-based...
How to Install Matomo Web Analytics on AlmaLinux and Rocky Linux 9 and 10
This guide installs Matomo on AlmaLinux or Rocky Linux 9 or 10 with Apache, PHP-FPM and MariaDB. CentOS 7, which an older version of this article covered, reached end...
How to Install Microweber CMS on Ubuntu 18.04 LTS?
Ubuntu 18.04 is end of life. Microweber is an open-source drag-and-drop website builder and CMS with an online shop, built on Laravel. The current version is 2.0,...
How to Install Monica Personal Relationship Manager on Ubuntu 18.04 LTS?
Ubuntu 18.04 is end of life. Monica is an open-source personal relationship manager (contacts, notes, reminders). The stable version is Monica 4 (PHP 8.1+); version 5...
How to Install Nginx with libModSecurity and OWASP core rule set on Ubuntu 16
The ModSecurity-nginx connector is the connection point between nginx and libmodsecurity (ModSecurity v3). Said another way, this project provides a communication...