Update init
This commit is contained in:
6
init
6
init
@@ -42,4 +42,8 @@ sudo systemctl enable --now mariadb
|
|||||||
# Secure 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
|
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
|
||||||
Reference in New Issue
Block a user