Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save alexandramartinez/e13882b512d7d704aef9f4f0d9d0b8b8 to your computer and use it in GitHub Desktop.
Save alexandramartinez/e13882b512d7d704aef9f4f0d9d0b8b8 to your computer and use it in GitHub Desktop.
#!/bin/bash
yum update -y
yum install -y httpd24 php56 mysql php56-mysqlnd
service httpd start
chkconfig httpd on
echo "fs-56fc251e.efs.us-east-1.amazonaws.com:/ /var/www/html nfs4 nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2 0 0" >> /etc/fstab
mount -a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment