Ubuntu
Ubuntu installation, desktop and server setup, package management, and troubleshooting.
How to Install Java on Ubuntu 24.04
Install Java 25, Java 21, and Oracle JDK on Ubuntu 24.04. This guide covers OpenJDK packages, default Java selection, and JAVA_HOME setup.

How To Create a Sudo User on Ubuntu
Create a sudo user with a home directory on Ubuntu 22.04, 24.04, or 26.04 using adduser and usermod, then verify the account has sudo access.

How to Add a User to Sudoers in Ubuntu
Grant sudo privileges in Ubuntu by adding a user to the sudo group or editing the sudoers file. Step-by-step examples and common errors.

How to Enable SSH on Ubuntu
Enable SSH on Ubuntu by installing OpenSSH Server, checking the correct systemd unit, allowing it through UFW, and connecting from Linux, macOS, or Windows.

How to Fix APT and dpkg Lock Errors on Ubuntu and Debian
Resolve APT and dpkg lock errors safely on Ubuntu and Debian by finding the process holding the lock and repairing interrupted package operations.

How to Add APT Repository in Ubuntu
Add APT repositories in Ubuntu using add-apt-repository, the signed-by method, and PPA. Includes the DEB822 format used by default on Ubuntu 24.04 and 26.04.

Initial Server Setup on Ubuntu 26.04
Prepare a new Ubuntu 26.04 server with a sudo user, SSH key authentication, UFW firewall rules, a hostname, timezone settings, and system updates.

How to Install Node.js and npm on Ubuntu 26.04
Install Node.js 24 LTS or the current Node.js 26 release on Ubuntu 26.04 using NodeSource, nvm, or the default Ubuntu packages.

How to Install Node.js and npm on Ubuntu 24.04
Install Node.js 24 LTS and npm on Ubuntu 24.04 with apt, the NodeSource repository, or nvm, including upgrade and uninstall steps.

How to Install Python on Ubuntu 24.04
Install Python on Ubuntu 24.04 using the default Ubuntu packages, the deadsnakes PPA for newer versions, or a source build. Includes pip and virtual environments.

apt Command in Linux
The apt command manages packages on Ubuntu, Debian, and related distributions. This guide covers the essential commands for installing, upgrading, removing, and searching packages.

How to Install Ubuntu 26.04
Step-by-step instructions for installing Ubuntu 26.04 from a bootable USB drive, covering ISO download, installer screens, disk setup, and first boot.

How to Install Kubernetes with kubeadm on Ubuntu 26.04
Install Kubernetes 1.36 on Ubuntu 26.04 with kubeadm and containerd, configure Flannel networking, join worker nodes, and verify the cluster.

How to Install PHP on Ubuntu 26.04
Learn how to install PHP 8.5 on Ubuntu 26.04 with Apache or Nginx. Includes PHP-FPM setup, common extensions, and installing other PHP versions.

How to Install Docker on Ubuntu 26.04
Install Docker on Ubuntu 26.04 from the official Docker repository. Covers repository setup, verification, running without sudo, updates, and uninstall steps.

Set up PostfixAdmin on Ubuntu 26.04
Set up PostfixAdmin on Ubuntu 26.04 with Nginx, PHP, MySQL, DNS records, and a Let's Encrypt certificate for a virtual mail server.

update-alternatives Command on Ubuntu and Debian
Use update-alternatives on Ubuntu and Debian to list, register, switch, and remove program alternatives, with automatic and manual mode examples.

How to Install Docker on Ubuntu 24.04
Install the latest Docker Engine on Ubuntu 24.04 from Docker's official repository, verify the service, and configure non-root access.

How to Configure Networking with Netplan on Ubuntu
Configure Ubuntu networking with Netplan using practical YAML examples for DHCP, static IP addresses, DNS, Wi-Fi, bridges, and safe remote changes.

How to Enable and Disable Root User Account in Ubuntu
This guide explains how to enable and disable the root user account in Ubuntu using the passwd command, and covers safer alternatives like sudo -i and su -.
