Linux
Category · 449 posts
All posts
How to Disable or Restrict Root Login via SSH on Linux
Stop password attacks on the root account: turn off root SSH login, allow keys only, or limit root to a single IP address, without locking yourself out.
How to Install an SSL Certificate in cPanel (SSL/TLS Interface and AutoSSL)
Two ways to get HTTPS on a cPanel site: run AutoSSL from SSL/TLS Status, or upload a private key and certificate and install them under Manage SSL sites.
Enable Gzip Compression in Apache and Nginx on Ubuntu 24.04 and Debian 12
Turn on gzip compression for text responses in Apache and Nginx on current Ubuntu, Debian and RHEL 9 family servers, check that it works, and add Brotli.
Let's Encrypt on DirectAdmin: Free Certificates for Domains and the Hostname
Let's Encrypt is enabled by default in DirectAdmin. Request certificates for domains and the hostname, add wildcards, and troubleshoot failures.
Recover Files over SFTP from a Linux Server That Will Not Boot
Boot a rescue system, mount the disk read-only and download your data over SFTP before repairing or reinstalling a server that no longer boots.
How to Use the Hosts File to Test a Website Before Changing DNS
Point a domain at a new server on your own computer with the hosts file on Windows, macOS or Linux, verify the override and remove it afterwards.