syssec:lamp_stack

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
syssec:lamp_stack [2019/04/02 18:43]
vnbruno markdown formatting
syssec:lamp_stack [2019/04/04 20:19] (current)
vnbruno ↷ Page moved from lamp_stack to syssec:lamp_stack
Line 4: Line 4:
  
  
-## ADVICE ​+### ADVICE ​
  
 //Start early, please! There is a ton of information online about LAMP stacks, it’s super beneficial to read them and see what people do to get the software suite working. Also if it seems overly complicated you are probably looking in the wrong place. If you come across what you believe to be a solution to a step or how to complete a step and are unsure, reach out to SecDev and ask us to look it over.// //Start early, please! There is a ton of information online about LAMP stacks, it’s super beneficial to read them and see what people do to get the software suite working. Also if it seems overly complicated you are probably looking in the wrong place. If you come across what you believe to be a solution to a step or how to complete a step and are unsure, reach out to SecDev and ask us to look it over.//
  
  
-## DELIVERABLE+### DELIVERABLE
  
 Anything that is in this color needs to be a screenshot. The other Steps and parts of the homework you can explain however you like, either with text or screenshots. Anything that is in this color needs to be a screenshot. The other Steps and parts of the homework you can explain however you like, either with text or screenshots.
Line 20: Line 20:
  
  
-## USEFUL RESOURCE+### USEFUL RESOURCE
  
 * https://​www.digitalocean.com/​community/​tutorials/​how-to-install-linux-apache-mysql-php-lamp-stack-ubuntu-18-04 * https://​www.digitalocean.com/​community/​tutorials/​how-to-install-linux-apache-mysql-php-lamp-stack-ubuntu-18-04
Line 27: Line 27:
  
  
-## Step 0 - Prerequisites ​+### Step 0 - Prerequisites ​
  
  
-During class you should of all setup your MariaDB Database Server. If you did not, or do not think it’s setup correctly please reach out immediately so SecDev can help you get it sorted out. Use the troubleshooting commands and techniques gone over in class+During class you should of all setup your MariaDB Database Server. Or have gotten the "​High-Level How-To"​ do to it. If you did not, or do not think it’s setup correctly please reach out immediately so SecDev can help you get it sorted out. Use the troubleshooting commands and techniques gone over in class during the **Services** lecture
  
 +However... we may not have gone over it in class. SecDev forget'​s too! Setting up the database is fairly easy when regarding Wordpress. Below is the "​High-Level How-To"​.
  
 Install VMWare Tools! ​ Install VMWare Tools! ​
Line 37: Line 38:
  
  
-## Step 1 - Apache+* after installing some form on Linux server and connecting it with a **static IP** run `sudo apt update` 
 +* 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` 
 +* 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!) 
 +* then login to MariaDB `mysql -u root -p` 
 +* follow Wordpress'​s steps to setting up the database 
 + * PAY CLOSE ATTENTION TO SETTING UP THE EXTRA USER `wordpress-user` 
 + * make sure the give this user privileges 
 + 
 + 
 + 
 + 
 +### Step 1 - Apache
  
 On your Web Server machine install any version of Ubuntu, this can be Ubuntu 16.04, 18.04 or whatever you like, also feel free to use either the server version of Ubuntu or Desktop version. Remember version matters when Googling for help. On your Web Server machine install any version of Ubuntu, this can be Ubuntu 16.04, 18.04 or whatever you like, also feel free to use either the server version of Ubuntu or Desktop version. Remember version matters when Googling for help.
  
  
-## TASKS+##### TASKS
  
  
Line 64: Line 78:
  
  
-# Step 2 - Install PHP+### Step 2 - Install PHP
  
  
Line 78: Line 92:
  
  
-## Step 3 - Install WordPress+### Step 3 - Install WordPress
  
  
-#### TASKS+##### TASKS
  
  
Line 96: Line 110:
  * 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
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
  • syssec/lamp_stack.1554230581.txt.gz
  • Last modified: 2019/04/02 18:43
  • by vnbruno