Knowledge Base
Find guides, tutorials, and documentation to help you get the most out of CubePath services.
Showing 9 of 9 guides
How to Set the Timezone and Locale on Ubuntu 24.04
Set the timezone with timedatectl, keep the clock in sync with NTP, and generate and apply UTF-8 locales on Ubuntu 24.04, with notes for Rocky Linux 9.
How to Disable Unnecessary Services on Ubuntu 24.04
Audit running and listening services on Ubuntu 24.04, check what depends on them, then stop, disable, mask or remove the ones your server does not need.
How to Connect to a Linux Server via SSH with Keys
Connect to a Linux server over SSH from Linux, macOS or Windows, verify the host fingerprint, log in with an Ed25519 key and save hosts in ~/.ssh/config.
Initial Server Security Setup on Ubuntu 24.04 and Debian 12
Secure a new Ubuntu 24.04 or Debian 12 server: create a sudo user, use SSH keys only, enable UFW and Fail2Ban, and turn on automatic security updates.
Initial Server Security Setup on Rocky Linux 9
Secure a new Rocky Linux 9 server: add a sudo user, enforce SSH keys, configure firewalld and Fail2Ban, keep SELinux enforcing and enable dnf-automatic.
How to Manage Linux Users, Groups and Permissions
Create Linux users and groups, set file permissions with chmod and chown, build a shared team directory with setgid and ACLs, and grant limited sudo access.
How to Change the SSH Port on Ubuntu 24.04 and Rocky Linux
Move SSH from port 22 to a custom port on Ubuntu 24.04, Debian 12 or Rocky Linux 9 without getting locked out, updating the firewall, SELinux and Fail2Ban.
How to Configure firewalld on Rocky Linux 9 and AlmaLinux 9
Set up firewalld on Rocky Linux 9: zones, services, ports, trusted sources, rich rules and port forwarding, with runtime testing before making rules permanent.
How to Set the Hostname and FQDN on Ubuntu 24.04
Set a persistent hostname and FQDN on Ubuntu 24.04 with hostnamectl and /etc/hosts, stop cloud-init from resetting it, and check DNS and reverse DNS records.