Swap Space

Prior to using a new instance we configure Disk Swap Space for initial installation of packages and ongoing use. Configure Swap Space We remove zram0 on small instances. Swapping compressed data out of RAM memory to swap space freezes the system during a prolonged process – which repeats. This is chronic. Instead, we install classic…

Read more

Linux Backdoor Login

AWS provides no password for the root user. If root is locked out, we use a backdoor login with root privileges through the EC2 Console. Configure a Backdoor Login There are cases where root login fails, even after a stop/start of the EC2 instance. A backdoor user login or a rebuild from a snapshot are…

Read more

nginx.conf & SSL

This is an example of nginx.conf with memcached and added security. Nginx Web Server In our travels, we configure web servers such as Nginx, Apache2 or LiteSpeed. I prefer Nginx. Some applications require Apache2. AWS Linux has available a variant of Apache called httpd. Nginx uses /etc/nginx/nginx.conf for the master configuration and a primary website…

Read more

nftables Security

This article provides configurations and shell scripts to run nftables – the newer/better version to replace iptables. This covers rate limiting and blocking. Code for Debian 13 included. NFTABLES & Security Note: If you want to just get things working – this should do it, and you can go back to the .txt data files…

Read more

Linux 2023 dnf Packages

This article shows the Linux 2023 packages we install & configure as used by our WordPress servers. Linux 2023 Packages Installation and Configuration details are always changing. These are okay at time of writing.   We use more than a vanilla installation for WordPress. Our packages include: Nginx 1.29 or above Maria DB v11 phpMyAdmin…

Read more

A New Business Strategy – AWS Web Hosting