Skip to content

Instantly share code, notes, and snippets.

@cristianorsolin
Forked from rmmartins/aws-lab-lamp-stack
Created April 6, 2017 00:01
Show Gist options
  • Save cristianorsolin/ea7cac0583e32dd3492545ceebde34c3 to your computer and use it in GitHub Desktop.
Save cristianorsolin/ea7cac0583e32dd3492545ceebde34c3 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