Linux guides page 4
Hands-on Linux guides for servers and VPS: Ubuntu, Debian, AlmaLinux and other distributions, everyday commands, networking, SSH, firewalls, web servers, package managers and fixes for common errors.
Articles
Install Postfix on Ubuntu 22.04, 24.04 or 26.04, configure main.cf, add TLS, test sending, set SPF, DKIM and DMARC, or relay through an SMTP provider.
Connect Kali Linux to Wi-Fi from the desktop or terminal with nmcli and nmtui, plus fixes when Wi-Fi isn't showing: rfkill, firmware and VMs.
apt-get says "404 Not Found"? Fix it on Ubuntu and Raspberry Pi: refresh package lists, clear the cache, accept release changes, fix EOL releases or mirrors.
Run a command or script at boot in Linux with a systemd service, cron @reboot, rc.local or desktop autostart. Examples for Ubuntu, Debian and RHEL systems.
Rocky Linux vs CentOS and CentOS Stream compared: support, stability, RHEL compatibility, AlmaLinux, migration from CentOS 7 and which to choose.
Fix "bash: sudo: command not found" on Debian, Ubuntu, RHEL, Arch and Alpine: install sudo as root, add your user to the sudo or wheel group, or fix PATH.
Add a graphical desktop to an Ubuntu VPS with XFCE and xrdp, connect from Windows, Mac or phone, secure port 3389, and fix black screens and slowness.
Fix "iptables: command not found" and "Unit iptables.service could not be found" on Debian, Ubuntu and RHEL: install iptables, fix PATH, save rules.
Turn off the firewall on CentOS, Rocky or AlmaLinux: stop, disable or mask firewalld, handle iptables, open a single port instead, and re-enable it.
The default SSH port is TCP 22. Learn why, whether to change it, how to change it safely on Ubuntu (ssh.socket), Debian and RHEL, and how to connect.
Install Python 3 on an Ubuntu, Debian, AlmaLinux or Windows VPS, use virtual environments, add Python 3.15 with uv, and run scripts 24/7 with systemd.
Copy files between a Linux server and Windows over SSH with scp and sftp in PowerShell, WinSCP, FileZilla or rsync in WSL, using keys and custom ports.
Reset a forgotten Ubuntu user or root password from GRUB or recovery mode, set the root password on an Ubuntu VPS, and fix read-only and token errors.
Proxifier has no Linux version. Force apps through a proxy on Ubuntu with proxychains-ng, proxy environment variables, GNOME settings or a TUN-based tool.
Give each person their own SSH login on Ubuntu: create users, add SSH keys, restrict access with AllowGroups, grant sudo or SFTP-only access, and audit logins.
Test internet speed on Ubuntu from the command line with Ookla Speedtest CLI or speedtest-cli, choose a server, read results correctly and test with iperf3.
Open, close and check firewall ports on CentOS 7, AlmaLinux and Rocky Linux with firewalld: permanent rules, services, rich rules for one IP, and SELinux.
Set up X11 forwarding over SSH on CentOS 7, AlmaLinux and Rocky Linux: install xauth, enable sshd, connect from Linux, macOS or Windows and fix errors.
Check your CentOS, CentOS Stream, Rocky or AlmaLinux version with /etc/redhat-release, /etc/os-release, hostnamectl, rpm and uname, and what it means.
Open or close ports in Ubuntu with UFW, allow a port from one IP, use iptables without UFW, check listening ports with ss, and fix cloud firewall blocks.
Need a server? Pick a plan in minutes
✓ Setup in minutes✓ 24/7 live chat✓ 7-day refund on new services