certbot almalinux certbot Install Let's Encrypt SSL with Certbot (Apache) on AlmaLinux 9 Install Let's Encrypt SSL with Certbot (Apache) on AlmaLinux 9 Step 1 – Install dnf install epel-release -y dnf install -y certbot python3-certbot-apache Step 2 – Obtain and install certbot --apache -d example.com -d www.example.com Step 3 – Verify apachectl configtest && systemctl reloa... Read more → 7th May 2026
certbot almalinux certbot Install Let's Encrypt SSL with Certbot (Nginx) on AlmaLinux 9 Install Let's Encrypt SSL with Certbot (Nginx) on AlmaLinux 9 Step 1 – Install Certbot + Nginx plugin dnf install epel-release -y dnf install -y certbot python3-certbot-nginx Step 2 – Obtain certificate certbot --nginx -d example.com -d www.example.com Certbot modifies Nginx config and opt... Read more → 7th May 2026
mariadb almalinux mariadb Install MariaDB on AlmaLinux 9 Install MariaDB on AlmaLinux 9 Step 1 – Install and secure dnf install -y mariadb-server systemctl enable --now mariadb mysql_secure_installation Step 2 – Create database and user CREATE DATABASE appdb CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci; CREATE USER 'appuser'@'localhost' IDENTI... Read more → 7th May 2026
memcached almalinux memcached Install Memcached on AlmaLinux 9 Install Memcached on AlmaLinux 9 Step 1 – Install dnf install -y memcached systemctl enable --now memcached Step 2 – Configure (/etc/sysconfig/memcached) -l 127.0.0.1 # listen on localhost only -m 256 # memory (MB) -c 1024 # max connections -t 4 # threads Step ... Read more → 7th May 2026
apache almalinux apache Install ModSecurity WAF on Apache – AlmaLinux 9 Install ModSecurity WAF on Apache – AlmaLinux 9 Step 1 – Install dnf install -y mod_security systemctl restart httpd Step 2 – Enable detection mode cp /etc/modsecurity/modsecurity.conf-recommended /etc/modsecurity/modsecurity.conf 2>/dev/null || \ cp /usr/share/doc/libapache2-mod-security... Read more → 7th May 2026
mysql almalinux mysql Install MySQL on AlmaLinux 9 Install MySQL on AlmaLinux 9 Step 1 – Install and secure dnf install epel-release -y dnf install -y mysql-server systemctl enable --now mysqld mysql_secure_installation Step 2 – Connect mysql -u root -p Step 3 – Create database and user CREATE DATABASE appdb CHARACTER SET utf8mb4 COLLATE... Read more → 7th May 2026
nginx almalinux nginx Install Nginx on AlmaLinux 9 Install Nginx on AlmaLinux 9 Step 1 – Update and enable EPEL dnf update -y dnf install epel-release -y Step 2 – Install Nginx dnf install -y nginx Step 3 – Enable and start systemctl enable --now nginx Step 4 – Firewall firewall-cmd --permanent --add-service=http firewall-cmd --perma... Read more → 7th May 2026
applications almalinux nodejs Install Node.js on AlmaLinux 9 Install Node.js on AlmaLinux 9 Step 1 – Install curl -fsSL https://rpm.nodesource.com/setup_20.x | bash - dnf install -y nodejs Step 2 – Verify node --version && npm --version Step 3 – Simple HTTP server // app.js const http = require('http'); http.createServer((req, res) => { res.writ... Read more → 7th May 2026
percona almalinux percona Install Percona XtraDB Cluster on AlmaLinux 9 Install Percona XtraDB Cluster (PXC) on AlmaLinux 9 PXC provides synchronous multi-master MySQL replication using the Galera library. Step 1 – Install dnf install -y https://repo.percona.com/yum/percona-release-latest.noarch.rpm percona-release enable-only pxc-80 release dnf install -y percona... Read more → 7th May 2026
php-fpm almalinux php Install PHP-FPM on AlmaLinux 9 Install PHP-FPM on AlmaLinux 9 Step 1 – Install dnf install epel-release -y dnf install -y php php-fpm php-cli php-opcache php-mysqlnd php-mbstring php-xml php-gd systemctl enable --now php-fpm Step 2 – Verify php --version php-fpm -v 2>/dev/null || php-fpm8.3 -v 2>/dev/null || php-fpm8.2 -v... Read more → 7th May 2026
postgresql almalinux postgresql Install PostgreSQL on AlmaLinux 9 Install PostgreSQL on AlmaLinux 9 Step 1 – Install dnf install -y postgresql-server postgresql-contrib postgresql-setup --initdb systemctl enable --now postgresql Step 2 – Connect as superuser sudo -u postgres psql Step 3 – Create database and user CREATE USER appuser WITH PASSWORD 'Stro... Read more → 7th May 2026
monitoring almalinux prometheus Install Prometheus on AlmaLinux 9 Install Prometheus on AlmaLinux 9 Step 1 – Install VERSION=2.51.2 wget https://github.com/prometheus/prometheus/releases/download/v${VERSION}/prometheus-${VERSION}.linux-amd64.tar.gz tar xvf prometheus-${VERSION}.linux-amd64.tar.gz cp prometheus-${VERSION}.linux-amd64/prometheus /usr/local/bin/... Read more → 7th May 2026
redis almalinux redis Install Redis on AlmaLinux 9 Install Redis on AlmaLinux 9 Step 1 – Install dnf install epel-release -y dnf install -y redis systemctl enable --now redis Step 2 – Verify redis-cli ping # PONG Step 3 – Bind and password (/etc/redis/redis.conf) bind 127.0.0.1 ::1 requirepass StrongRedisPass! Restart, then: redi... Read more → 7th May 2026
varnish almalinux varnish Install Varnish Cache on AlmaLinux 9 Install Varnish Cache on AlmaLinux 9 Step 1 – Install dnf install epel-release -y dnf install -y varnish systemctl enable --now varnish Step 2 – Basic /etc/varnish/default.vcl vcl 4.1; backend default { .host = "127.0.0.1"; .port = "8080"; .connect_timeout = 5s; .first_byte... Read more → 7th May 2026
applications almalinux wordpress Install WordPress on AlmaLinux 9 (Nginx+PHP-FPM+MySQL) Install WordPress on AlmaLinux 9 (Nginx + PHP-FPM + MySQL) Prerequisites Nginx · PHP-FPM · MySQL Step 1 – Database CREATE DATABASE wordpress CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci; CREATE USER 'wpuser'@'localhost' IDENTIFIED BY 'WPStrongPass!'; GRANT ALL PRIVILEGES ON wordp... Read more → 7th May 2026
nginx almalinux nginx Integrate PHP-FPM with Nginx on AlmaLinux 9 Integrate PHP-FPM with Nginx on AlmaLinux 9 Prerequisites PHP-FPM installed and running. See PHP-FPM install guide. Socket path: /run/php-fpm/www.sock Step 1 – Nginx server block server { listen 80; server_name example.com; root /var/www/example.com/html; index index.php... Read more → 7th May 2026
mariadb almalinux mariadb MariaDB Backup and Restore on AlmaLinux 9 MariaDB Backup and Restore on AlmaLinux 9 mariadb-dump (logical) mariadb-dump -u root -p appdb > /backups/appdb_$(date +%F).sql mariadb-dump -u root -p --all-databases --single-transaction > /backups/all_$(date +%F).sql Restore mariadb -u root -p appdb < /backups/appdb_2026-05-07.sql Maria... Read more → 7th May 2026
mariadb almalinux mariadb MariaDB Galera Cluster on AlmaLinux 9 MariaDB Galera Cluster on AlmaLinux 9 Nodes: 192.168.1.10 · 192.168.1.11 · 192.168.1.12 Step 1 – Install Galera on all nodes dnf install -y mariadb-server-galera galera Step 2 – Configure Node 1 (/etc/mysql/conf.d/galera.cnf) [mysqld] binlog_format = ROW default-storage-e... Read more → 7th May 2026
memcached almalinux memcached Memcached Distributed Setup on AlmaLinux 9 Memcached Distributed Setup on AlmaLinux 9 Memcached itself has no cluster mode — distribution is handled by the client using consistent hashing. Run multiple instances memcached -d -l 192.168.1.10 -p 11211 -m 512 -t 4 -u memcache memcached -d -l 192.168.1.11 -p 11211 -m 512 -t 4 -u memcache... Read more → 7th May 2026
percona almalinux percona Monitor Percona XtraDB Cluster on AlmaLinux 9 Monitor Percona XtraDB Cluster on AlmaLinux 9 Key wsrep variables SHOW STATUS LIKE 'wsrep_%'; Variable Healthy value wsrep_cluster_size = number of nodes wsrep_cluster_status Primary wsrep_connected ON wsrep_ready ON wsrep_local_state_comment... Read more → 7th May 2026
mysql almalinux mysql MySQL Backup and Restore on AlmaLinux 9 MySQL Backup and Restore on AlmaLinux 9 mysqldump # Single database mysqldump -u root -p appdb > /backups/appdb_$(date +%F).sql # All databases mysqldump -u root -p --all-databases > /backups/all_$(date +%F).sql # Compressed mysqldump -u root -p appdb | gzip > /backups/appdb_$(date +%F).sql.gz... Read more → 7th May 2026
mysql almalinux mysql MySQL Primary-Replica Replication on AlmaLinux 9 MySQL Primary-Replica Replication on AlmaLinux 9 Primary: 192.168.1.10 Replica: 192.168.1.11 Primary – my.cnf [mysqld] server-id = 1 log_bin = /var/log/mysql/mysql-bin binlog_format = ROW binlog_expire_logs_seconds = 604800 CREATE USER 'replicator'@'192.168.1.11' IDENTIFIED WITH... Read more → 7th May 2026
nginx almalinux nginx Nginx Load Balancing on AlmaLinux 9 Nginx Load Balancing on AlmaLinux 9 Round-robin (default) upstream myapp { server 192.168.1.10:8080; server 192.168.1.11:8080; server 192.168.1.12:8080; } server { listen 80; server_name lb.example.com; location / { proxy_pass http://myapp; } } Least connections upstr... Read more → 7th May 2026
nginx almalinux nginx Nginx Rate Limiting on AlmaLinux 9 Nginx Rate Limiting on AlmaLinux 9 Define zones in http block http { limit_req_zone $binary_remote_addr zone=api:10m rate=10r/s; limit_req_zone $binary_remote_addr zone=login:10m rate=5r/m; } Apply to locations location /api/ { limit_req zone=api burst=20 nodelay; lim... Read more → 7th May 2026