apt update
apt install redis-server -y
Check Redis is running: systemctl status redis
This guide provides equivalent date/time format strings across popular environments (PHP, Linux, Ruby, etc.), with examples and tips. Also includes standard formats like ISO 8601 and RFC 2822.
Format Purpose | PHP Format | Linux/Ruby/POSIX Format | Example Output |
---|---|---|---|
Full Date/Time | d-m-Y H:i T |
%d-%m-%Y %H:%M %Z |
05-07-2025 14:23 CEST |
Short Date | d-m-Y |
%d-%m-%Y |
05-07-2025 |
This guide assumes you have provisioned your server with a LEMP stack (Nginx, MariaDB, PHP 8.3) using cloud-init-lemp.yml
. It covers secure MariaDB setup, Composer installation, Mautic deployment, and HTTPS configuration for mautic.example.com
.
Set your passwords and database info as needed. Replace all placeholders!
# Secure MariaDB (set root password, remove test DB, etc.)
This guide shows how to use Nginx as a reverse proxy with a legitimate Let’s Encrypt certificate, using Certbot in standalone mode (no need to reconfigure Nginx for HTTP-01 challenge). It also covers certificate renewal testing and TLS hardening in Nginx.
sudo apt install nginx
)A concise, step-by-step guide for securing and configuring a fresh Ubuntu 24.04 server.
Alternatively you can skip the text and use the cloud-init script files cloud-init.yaml
, cloud-init-docker.yaml
, cloud-init-lemp.yaml
, or cloud-init-nginx-proxy.yml
for an automated setup.