Run this using the following:
curl -L https://raw.github.com/gist/3737938/{FILENAME}.sh | sudo bash -s| #!/bin/bash | |
| cat "%wheel ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers | |
| apt-get install -y python-software-properties | |
| add-apt-repository ppa:nginx/stable -y | |
| add-apt-repository ppa:ondrej/php5 -y | |
| apt-get update |
| Since I am using Nginx as a web server, I have included the virtual host configuration below as it took me quite a while to understand Nginx setup and how it handles rewrite rules. | |
| Virtual Site config for the Silex Tutorial | |
| server { | |
| listen 80; | |
| server_name silextut.local; | |
| root /mnt/hostnfs/silextut/web; | |
| index index.php; |
Run this using the following:
curl -L https://raw.github.com/gist/3737938/{FILENAME}.sh | sudo bash -s