diff --git a/README.md b/README.md index 373caf5..c9b0c8b 100644 --- a/README.md +++ b/README.md @@ -5,15 +5,15 @@ template and Advanced Custom Fields settings. Steps: - install `php` and `php-mysql` -- First you have to setup a database, e.g. for MariaDB/MySQL (substituting `$WORDPRESS_DB_USER`, `$db`, `$password`): +- First you have to setup a database on the db server, e.g. for MariaDB/MySQL (substituting `$WORDPRESS_DB_USER`, `$db`, `$password`, `$server`): - ```sql - CREATE USER '$WORDPRESS_DB_USER'@'localhost' IDENTIFIED BY '$password'; + CREATE USER '$WORDPRESS_DB_USER'@'$server.internal.bij1.net' IDENTIFIED BY '$password'; FLUSH PRIVILEGES; DROP DATABASE IF EXISTS $db; CREATE DATABASE $db CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci; - GRANT ALL PRIVILEGES ON $db.* TO '$WORDPRESS_DB_USER'@'localhost'; + GRANT ALL PRIVILEGES ON $db.* TO '$WORDPRESS_DB_USER'@'$server.internal.bij1.net'; ``` -- Put the files here where you want to install WordPress, and navigate there. +- Put the files from this repo where you want to install WordPress, and navigate there. - Start the installer by running `sudo bash ./install.sh`. - Note down the `bij1admin` password that's generated during installation. - Tweak the BIJ1 specific settings in `wp-config.php`.