Change your VPS root password on Ubuntu
Change a VPS root or user password on Ubuntu with passwd, chpasswd and chage, verify it works, and get back in when SSH or the root password is lost.
Filtering by topic #ubuntu · clear
Change a VPS root or user password on Ubuntu with passwd, chpasswd and chage, verify it works, and get back in when SSH or the root password is lost.
Which Ubuntu, Debian, Rocky and AlmaLinux kernels fix CVE-2026-98432 as of 23 November, and how to confirm your VPS runs one after the reboot.
Ubuntu 26.04 changes the default sudo implementation. Argument patterns are rejected, but a standalone final * still works. Here is what to write.
Learn awk for server text: fields, NR and NF, -F separators, BEGIN and END, printf, and arrays that count status codes. Check which awk you have first.
Ubuntu Pro explained for one rented server: what ESM actually extends, and how to check from the command line where your own box already stands.
WSL and a VPS solve different halves of a dev setup: uptime, a public address, systemd, filesystem speed, backups, and the SSH bridge between them.
Six checks that tell you whether an in place upgrade to Ubuntu 26.04 is safe on your VPS, or whether a fresh server and a migration is the better call.
When /boot fills with old linux-image packages, apt installs and upgrades start failing. Find the kernels you can remove safely, and keep the one you booted.
Ubuntu 20.04 lost standard support in May 2025. Attach Ubuntu Pro for patches until 2030, or upgrade through 22.04 to 24.04. Here is how to choose.
Find which base tools on your Ubuntu server are Rust rewrites, which package installed them, and what that changes for your shell scripts and cron jobs.
nvidia-smi fails with Driver/library version mismatch when an upgrade replaces the NVIDIA libraries under a loaded kernel module. Diagnose it, then fix it.
An interim Ubuntu release gives you nine months and a forced upgrade. An LTS gives you five years. Here is what each costs on a server you run.
nvidia-smi cannot talk to the driver. Walk the ladder: lsmod, dmesg, dkms status, then fix missing headers, nouveau, a kernel update or Secure Boot.
Your Ubuntu login says a new release is available. Learn why 24.04 shows it only now, and how to defer the upgrade while security updates keep running.
nginx.org says fixed in 1.31.9+, but a patched Ubuntu 24.04 server still carries nginx 1.24.0. Compare the package version with the USN, then restart nginx.
Put Varnish in front of nginx on Ubuntu 24.04 or 26.04. Bind it to loopback, write VCL with a health probe and a locked PURGE, then prove each cache hit.
Find the apt version that closes CVE-2026-109518 on your Ubuntu or Debian release, then upgrade with retries off so the old apt cannot be used against you.
Linux 7.3 came out on 18 October 2026. See which storage changes a KVM guest can use, which stay on the host, and what Ubuntu 26.10 and 26.04 HWE users get.
GRUB_DEFAULT=1 on Ubuntu names a submenu, not your old kernel. Read your server's menu entries, then choose a kernel with the provider console ready.
Why Postfix answers 454 4.7.1 Relay access denied, the three causes behind it, and the exact postconf fixes that do not turn your VPS into an open relay.
Ubuntu and Rocky give you four ways to get Ansible. Pick by the Python on your managed hosts, since current ansible-core does not support Ubuntu 20.04 or EL8.
chown sets which user and group own a file on Linux. Create the account first, use chown user:group and chown -R, and fix root owned files after sudo.
Run Apache as a reverse proxy on Ubuntu, then read a backend log to see what ProxyPreserveHost, X-Forwarded-For and X-Forwarded-Proto really deliver.
Install Ansible with pipx on Ubuntu 24.04, write an inventory and a first playbook that hardens a fresh VPS, plus fixes for Permission denied and sudo errors.
Install Certbot for nginx on Ubuntu 24.04 and get a Let's Encrypt certificate. Covers apt versus snap, automatic renewal and port 80 timeout fixes.
List the known CVEs on a Debian VPS with debsecan or debvulns, or on Ubuntu with pro cves, then alert only on the ones that are worth a reboot.
Issue a wildcard certificate with Certbot using the DNS challenge. How the TXT record proof works, which plugin to install, and how renewal stays automatic.
Three views of one ruleset on Ubuntu: nft list ruleset, iptables and ufw status. Find shadowed rules with counters and see why Docker skips ufw.
One command gives Apache a free Let's Encrypt cert on Ubuntu 24.04. Skip snap: apt ships Certbot 2.9.0. Check vhosts, issuance and automatic renewal.
Mount an SMB share from Windows, Samba or a NAS on Ubuntu 24.04 or 26.04. Keep an offline share from hanging boot, and decode mount errors 13, 112, 115 and 127.
Run apt remove, purge and autoremove on a test package, read what each one leaves behind, and learn why autoremove can take a tool you use and how to stop it.
Cockpit or Webmin on your Ubuntu VPS: what each panel can change, how each logs you in, why neither belongs on a public port, and when to use neither.
Change a Linux server's timezone with timedatectl on Ubuntu 24.04 and Rocky 9, see the one symlink it rewrites, and why cron and Docker may ignore it.
systemd 260 removed the bridge that started init.d scripts and rc.local at boot. Audit your 26.04 server and convert each script to a native unit first.
Ubuntu kernels are moving to a weekly release. Learn how SRU pockets work, how to spot a pending reboot, when to reboot, and what Livepatch covers until then.
Build a full LAMP stack on Ubuntu 24.04: Apache, MariaDB with unix_socket auth, PHP 8.3 via FPM, an app virtual host, and free HTTPS via Certbot.
Run a Paper Minecraft server on an Ubuntu 24.04 VPS: RAM sizing, Java 25, a systemd unit, firewalls on 25565, safe world backups, and the exact errors.
Install the command line tools a coding agent reaches for on a bare Ubuntu VPS, in three tiers, with the reason each one saves tokens and tool calls.
Your Ubuntu server reports no new release found. Check Prompt, release metadata and the LTS gate, then fix package and repository errors before upgrading.
Mint a self signed TLS cert Chrome actually accepts on Ubuntu 24.04: one openssl command with SAN, nginx/Apache wiring, and trusting it properly.
Ubuntu, Debian, Rocky, AlmaLinux, CentOS Stream or Fedora: choose by support lifetime, package age, RHEL compatibility and whose docs you follow.
Ubuntu began as a snapshot of Debian unstable in 2004. What 22 years of shared packaging and quiet divergence mean when you pick a server OS.
There is no direct jump. Upgrade 22.04 to 24.04, verify and snapshot, then take the 26.04 hop. Covers the PPA, PHP, Python, database and netplan breaks.
Create a private CA with openssl, sign a leaf certificate, then install the root in /usr/local/share/ca-certificates so Ubuntu trusts your internal HTTPS.
Since 29 September 2026, Ubuntu 24.04 servers are offered the 26.04.1 upgrade. Here is the safe upgrade order, and the server services that break.
Flush the DNS cache on Ubuntu with resolvectl, then find the copies a flush misses: nscd, nginx, Docker, the JVM and stale or negative answers held upstream.
Install Docker Engine and the Compose plugin on Ubuntu 24.04, write a real two service compose.yml, dodge the ufw port publishing trap, and back up volumes.
Your 24.04 to 26.04 upgrade stopped: reattach the screen session, repair dpkg, fix half-flipped sources, and know when to restore the snapshot instead.
Ubuntu 26.04.1 LTS shipped on 27 August 2026. What the point release contains, and how 24.04 servers can upgrade since the path opened on 29 September.
Ubuntu Server offers two kernel tracks, GA and HWE. See which one your VPS runs today, and whether the newer track is worth the extra reboots.
apt update says a target is configured multiple times. Find the legacy .list and deb822 .sources pair, keep one, and get a clean update run back.
The Ansible modules a VPS admin needs, grouped by job: packages, files, users and commands. Read the docs with ansible-doc, then run one idempotent playbook.
Broken packages in apt can mean two faults. Learn to tell an unconfigured .deb from a resolver refusal, then find the real blocker before you blame a hold.
Ubuntu 26.10 splits OpenSSH, removes the OpenSSL engine, deprecates Postfix hash maps and moves MySQL to 9.7. What to check on a 26.04 VPS before the next LTS.
Your Ubuntu VPS stops at the (initramfs) prompt. Tell a filesystem that needs fsck from a root disk the boot cannot find, then fix it from the web console.
There is no supported way to take Ubuntu 26.04 back to 24.04 in place. Here are the three real paths, ranked by cost, and what each one makes you lose.
Ubuntu 16.04 ESM ended in spring 2026. Check what your server still receives, then choose four release upgrades or a clean rebuild with your data moved.
Webmin defaults to root or admin, with no universal password. Reset a forgotten Unix or Webmin password or clear a blocked host from the shell.
Stop trusting one root that Ubuntu's ca-certificates ships. Mark it with ! in one file, prove the change with openssl verify, then find the copies it misses.
Recover a headless server that fails to boot after a kernel upgrade: provider console, GRUB previous kernel, initramfs and LVM failures, and prevention.
Live kernel patching swaps patched functions into the running kernel. What it covers on an unmanaged VPS, and why the reboot is only postponed.
GNOME Remote Login works on Ubuntu 26.04. Set up GNOME Remote Login on a headless box over SSH, then reach port 3389 through a tunnel or Tailscale.
Run Claude Code on a Linux VPS inside tmux so agent sessions survive a dropped SSH connection. Install, harden, and the failure modes to expect.
Most Tailscale install errors on Ubuntu are apt errors. Read the status code apt printed, then fix the release codename or the signing keyring.
Ubuntu's own tools run on /usr/bin/python3, so never replace it. Run a newer Python beside it with uv, the deadsnakes PPA or Docker. Here is which to pick.
How Canonical's authd logs Ubuntu server users in with Google or Entra ID, what the broker snaps cost you, and the break-glass account to build first.
Install Webmin on Ubuntu 24.04, then lock it down: SSH tunnel or IP allowlist, a real Let's Encrypt cert, two factor, and Fail2ban on port 10000.
Snapd refreshes on its own schedule and ignores unattended upgrades. Hold a snap, set a refresh window, read snap changes, and revert a bad revision.
Ubuntu 22.04 standard support ends in May 2027. Check your exposure, then pick an exit: one hop to 24.04, two to 26.04, Ubuntu Pro, or a rebuild.
Your ssh client warns that the connection is not using a post-quantum key exchange. Find which algorithm you negotiate, and fix the right side.
A point release is your Ubuntu with every update rolled into new media. Why a patched server downloads nothing, and how 24.04 is now offered 26.04.1.
Install conda on Ubuntu Server with Miniforge: pin a release, check its checksum, install in batch mode, and run services from an environment by absolute path.