main
Robert 2 years ago
parent f1edfeae7a
commit 21e2ed3bd7
  1. 7
      protected/README.MD

@ -49,14 +49,14 @@ $ sudo apt-get install mysql-server
$ sudo systemctl start mysql
$ sudo systemctl enable mysql
# Lets make a sercure password for use with MySQL root account.
# Lets make a secure password for use with MySQL root account.
$ openssl rand -base64 18
# 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 throughout this tutorial!
# Lets make a sercure password for use with MySQL zoombox user account.
# Lets make a secure password for use with MySQL zoombox user account.
$ openssl rand -base64 18
# Enter your password assigned during setup, create a new user for the app to use.
@ -71,7 +71,8 @@ $ mysql -u root -p
$ pushd protected/src
$ pwd
# You should be in /var/www/cms/protected/src
# Do not use the root user for cms app!
# Run as normal user account for mysql program to run safely.
# Do not use the root MySQL user for cms app!
$ mysql -u cms -p cms < tables.sql
enter this password when prompted: SJ6G*WyaV7PvvEts@vxjm
$ popd

Loading…
Cancel
Save