diff --git a/protected/README.MD b/protected/README.MD index 23bb7c8..e2751aa 100644 --- a/protected/README.MD +++ b/protected/README.MD @@ -27,7 +27,7 @@ $ sudo usermod -aG www-data newuser $ sudo usermod -aG sudo newuser ``` -## Pull Git repo +## Git clone repo to pull it ``` $ sudo mkdir -p /var/www $ sudo chgrp www-data /var/www @@ -50,13 +50,16 @@ $ sudo systemctl enable mysql # The following script will prompt you to perform various security-related actions. Follow the prompts to set a root password, remove anonymous users, disallow root login remotely, remove the test database, and reload the privilege tables. $ sudo mysql_secure_installation -# Change this password SJ6G*WyaV7PvvEts@vxjm used below in a couple of places! +# Change this password SJ6G*WyaV7PvvEts@vxjm used below in a couple of places throughout this tutorial! +# Keep it as secure as that one was, run this command to make a new password +$ openssl rand -base64 18 # Enter your password assigned during setup, create a new user for the app to use. $ mysql -u root -p > CREATE USER 'zoombox'@'localhost' IDENTIFIED BY 'SJ6G*WyaV7PvvEts@vxjm'; > GRANT ALL ON cms.* TO 'zoombox'@'localhost'; > create database cms; +> exit ``` ## Import the tables.sql file: ```