From 3f3934a56b84d1050757c6d172c5538837e11319 Mon Sep 17 00:00:00 2001 From: Dai Date: Thu, 9 Oct 2025 20:06:01 -0700 Subject: [PATCH] Update init --- init | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/init b/init index 3d35438..d15e5f2 100644 --- a/init +++ b/init @@ -42,4 +42,8 @@ sudo systemctl enable --now mariadb # Secure MariaDB printf "$MYSQL_ROOT_PASS\nn\nY\n$MYSQL_NEW_PASS\n$MYSQL_NEW_PASS\nY\nY\nY\nY\n" | sudo mariadb-secure-installation - +# WordPress +curl https://wordpress.org/latest.zip -o /tmp/wordpress.zip +sudo unzip -d /var/www/html /tmp/wordpress.zip +cd /var/www/html/wordpress && sudo cp wp-config-sample.php wp-config.php +sudo chown -R www-data:www-data /var/www/html/wordpress \ No newline at end of file