####AWS-setup
- go to aws ec2 to create a new instance (Amazon Linux)
- Create a new Key
- store key into
~/.ssh folder
- Change the permission of the key.pem
chmod 400 key.pem
- Login using ssh
ssh -i "key.pem" user@0.0.0.0
####LAMP Stack
6. sudo yum update -y
7. sudo yum install -y httpd24 php70 mysql56-server php70-mysqlnd
8. sudo service httpd start
9. sudo chkconfig httpd on
10. go to EC2 console -> security groups -> launch-wizard-1 -> add inbound rule (http)
11. sudo service httpd restart
sudo yum install git
####Wordpress repo setup
- Upon installing mamp and downloading wordpress, move the wordpress folder into
MAMP/htdoc
- generate a theme file at underscore.me, select sassify in the advance option, and download theme file into
MAMP/htdoc/wordpress/wp-content/themes/
- create a corresponding database on http://localhost:8888/phpmyadmin
- visit http://localhost:8888 and follow installation wizard. MAMP's MYSQL database has the default username and password
root