WordPress Media Library CDN Integration – Linux Configurations

This document outlines the Linux-specific configuration required to support WordPress integration with AWS (S3 + CloudFront) using an IAM user and local AWS credentials. Linux Configuration (nginx / PHP 8.4-FPM / Debian 13 – Linode) We assert that your Linux/WordPress configurations are running. The following information outlines with specific examples further configurations to support the…

Linux Debian 13 Installation

This article shows a Debian 13 installation on Akamai/Linode, suitable for Nginx, php8.4, memcached, opcache, mariadb11, WordPress, and use of Amazon AWS-SDK. Debian 13 Installation Steps There are a number of configurations required. We will keep the Nginx details in another article, which includes use of Let’s Encrypt SSL. These details vary over time, and…

Linode Initial Steps

Our work relates to Debian 13, php8.4, Nginx. We simulate the same ease-of-use logging in as an EC2 AWS instance. Linode Initial Steps The raw Linode installation has issues with ease-of-use for logging in, and the vi editor as well as the shell terminal history and scrolling. We fix this, and modify a few things…

Linode Create + Swap Space

A new Linode instance provisions 512MB swap space. We wish to increase this to 1GB prior to commencing our work. Configure Linode Swap Space Our examples use the vi editor except where nano is used on system files, and the lowest cost shared instance of 1GB RAM and 1CPU. It is worth noting Amazon EC2’s…

AWS Scripting

This is a general discussion on use of AWS scripting for S3 Bucket and Email integration on Linux. AWS Scripting Integration between Linux and AWS services takes considerable time to develop, but may be achieved with the principles of least-access on permissions and removal of AWS credential keys where possible. I am not providing many…

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…

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…

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…

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…