Create a swap file on Ubuntu to increase system performance by allowing the system to use disk space as virtual memory.
Create a 2GB swap file:
sudo fallocate -l 2G /swapfileIf fallocate is not available, you can use dd:
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.
You can use this diagram as a template to create your own git branching diagrams. Here's how:
https://gist.githubusercontent.com/bryanbraun/8c93e154a93a08794291df1fcdce6918/raw/bf563eb36c3623bb9e7e1faae349c5da802f9fed/template-data.xml| #!/bin/sh | |
| # From https://www.hiroom2.com/2017/09/24/parrotsec-3-8-docker-engine-en/ | |
| # Changelog: | |
| # @DavoedM: Apr 3, 2020 | |
| # @C922A10971734: Jan 19, 2023 | |
| set -e | |
| # Install dependencies. |