These are scripts I made for NCyTE's VCCC.
wp_db contains a 4 part script used to build and configure a WordPress LAMP stack (Linux, Apache, MariaDB, and PHP), these scripts are made for RPM-based distros like RHEL, Rocky, Alma, and CentOS
flowchart LR;
subgraph
dnf-Updates/Upgrades
Firewalld-->HTTPS/443
Firewalld-->HTTP/80
Permissions-->Apache
Hostname-change
Hardening-->mysql_secure_installation
Hardening-->localhost-only-wp-admin
WP-Database+WPAdmin--creation for-->MariaDB
end
subgraph
Apache
WordPress
PHP
mod_ssl --configure SSL for HTTPS --> Apache
MariaDB -- connection to --> WordPress
end
db_dump contains a single script used to take a sql or mariadb database and dump its contents, additional details to have this script work properly are inside of the script's directory.
flowchart LR;
subgraph
Database-->Backup-Directory;
end