These are an effort to help quickly spin up various linux boxes for testing web applications. I am focused on Magento. I am always looking for updates to these scripts
- This is used for scripts that are not tied to a particular server install
- Add PHP 7 and Varnish 4 and Percona 5.6
- Add PHP 5.6 and Percona 5.6 for @kalenjordan
- Scripts for misc utilities
- Setup a PHP5.4 and MySQL 5.5 server from the standard AMI
- Setup a PHP5.4 and Percona 5.6 server
- Apache 2.4
- For centos
- The standard will install php 5.3 and apache 2.2
- Ubuntu server 12
- Ubuntu Desktop 14
- I would love to get help on these
- Includes Magento specific scripts
- Vagrant box - it's just a start
From here http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/install-LAMP.html
- Find and replace the Apache user and group with your user and the group www
- Change the NGINX user and also the php-fpm user
-
To set file permissions
- sudo groupadd www
- sudo usermod -a -G www ec2-user
-
Change the group ownership of /var/www and its contents to the www group. (This should be for new builds)
- sudo chown -R root:www /var/www
- sudo chmod 2775 /var/www
- find /var/www -type d -exec sudo chmod 2775 {} +
- find /var/www -type f -exec sudo chmod 0664 {} +
Brent W. Peterson 2015