Urgent.News

What's breaking now, across thousands of outlets.

Tech

InitOps: One-Command WordPress Deployment on Ubuntu

Setting up a production-ready WordPress server on a fresh VPS often means going through a long list of tasks: installing Nginx, PHP-FPM, MariaDB, Redis, configuring firewall rules, setting up Fail2Ban, tuning PHP and database settings, enabling SSL, and preparing backups. InitOps is designed to simplify that entire process. InitOps is a single-file interactive Python CLI that can turn a fresh…

InitOps is a Python CLI tool that simplifies the process of deploying a production-ready WordPress server on a fresh Ubuntu VPS. It automates the installation and configuration of a complete LEMP stack, including Nginx, MariaDB, PHP-FPM, Redis, WordPress, and security measures. InitOps focuses on Ubuntu LTS servers and works across various VPS sizes, from small 1 GB instances to larger dedicated servers.

Key features of InitOps include:

1. Complete LEMP-based WordPress environment without Docker, Ansible, or numerous shell scripts.

2. Supports Ubuntu 24.04 LTS and Ubuntu 26.04 LTS, with PHP 8.3, 8.4, and 8.5 support on 24.04, and PHP 8.5 on 26.04.

3. Hardware-aware configuration that adapts to server resources and selects optimization profiles (micro, small, standard, medium, large, xlarge).

4. Built-in PHP Version Manager that allows installing additional PHP branches and switching between them seamlessly.

5. Multi-Site WordPress hosting capabilities, with each site having its own database, Redis index, Nginx virtual host, and web root.

6. Security by default with firewall rules, Fail2Ban for SSH brute-force protection, hardened MariaDB, and Unix sockets for MariaDB and Redis.

7. Automatic database backups using WP-CLI, compressed with gzip, and removal of backups older than 30 days.

8. Monitoring capabilities that send alerts for critical disk space, exhausted RAM, high CPU load, or MariaDB/MySQL downtime.

9. Cloudflare SSL renewal support using the Certbot Cloudflare plugin.

10. One-shot domain migration workflow that updates Nginx, issues a new SSL certificate, performs a database search-replace, flushes Redis, and automatically rolls back on validation failure.

To get started, run the installation command on a fresh Ubuntu 24.04 or Ubuntu 26.04 LTS server: `curl -fsSL https://raw.githubusercontent.com/brokensmile2103/initops/main/install.sh | bash`. After installation, launch InitOps with `initops` and update the engine using `initops update`.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Edge Cases in VIN Check Digits: X, Transliteration Mistakes, and Invalid Characters

A basic VIN check-digit function looks finished after length, charset, and mod-11. Production traffic then proves otherwise: position 9 can be X, letter maps are not A=1 through Z=9, and users paste…

  • Position 9 can be 'X', representing remainder 10, deviating from 0-9 range
  • Specific letters accepted in position 9 through transliteration values
  • Users frequently input invalid characters like 'I', 'O', 'Q' not allowed in VINs

DEV account connection not recognized

Hi! I'm participating in Hacktoberfest 2026 Week 1: Touch Grass. My DEV account is already connected to my MLH account. In DEV Settings → Account, I can see MLH connected , and the email addresses…

More from Wednesday 7 October →