Skip to content

Instantly share code, notes, and snippets.

@rmmartins
Created July 17, 2015 19:25
Show Gist options
  • Save rmmartins/9d8ba234d1b1a050aed2 to your computer and use it in GitHub Desktop.
Save rmmartins/9d8ba234d1b1a050aed2 to your computer and use it in GitHub Desktop.
aws-lab-lamp-stack
#!/bin/bash
yum -y install httpd php php-common php-mysql php-gd php-mbstring php-xml php-xmlrpc
chkconfig httpd on
/etc/init.d/httpd start
cd /tmp
wget http://wordpress.org/latest.tar.gz
tar xzvf latest.tar.gz
mv wordpress/* /var/www/html/
chown -R apache:apache /var/www/html/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment