Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
syssec:lamp_stack [2019/04/02 18:53] vnbruno [Step 0 - Prerequisites] |
syssec:lamp_stack [2019/04/02 19:58] vnbruno lol |
||
---|---|---|---|
Line 41: | Line 41: | ||
* then install MariaDB (wrapper for MySQL) - `sudo apt-get install mariadb-server mariadb-client` | * then install MariaDB (wrapper for MySQL) - `sudo apt-get install mariadb-server mariadb-client` | ||
* now we need to run the MySQL secure installation script, `sudo mysql_secure_installation` | * now we need to run the MySQL secure installation script, `sudo mysql_secure_installation` | ||
+ | * you may need to start the database too, `sudo systemctl start mariadb` | ||
* make sure to say YES to remote login, and setup a new password (make sure the remember this!) | * make sure to say YES to remote login, and setup a new password (make sure the remember this!) | ||
* then login to MariaDB `mysql -u root -p` | * then login to MariaDB `mysql -u root -p` | ||
Line 111: | Line 112: | ||
* except you need to do http://IP_of_Web_Server/wp-admin | * except you need to do http://IP_of_Web_Server/wp-admin | ||
* you should be prompted to finish connecting to the remote database you setup in class and then configure WordPress | * you should be prompted to finish connecting to the remote database you setup in class and then configure WordPress | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||