Skip to content

Instantly share code, notes, and snippets.


Charles Astwood charlesastwood

View GitHub Profile
View 3d Secure UK Exclusion List for Google Analytics
charlesastwood /
Last active Nov 9, 2016
Install Symfony on AWS
sudo yum update
sudo yum install httpd24 php70 php70-cli php70-intl php70-gd php70-zip php70-xml php70-mysqlnd php70-mbstring php70-dom php70-soap php70-memcached memcached php70-fpm php70-opcache php70-mcrypt git
sudo service httpd start
sudo chkconfig httpd on
sudo groupadd www
sudo usermod -a -G www ec2-user
sudo chown -R root:www /var/www
sudo chmod 2775 /var/www
charlesastwood / Vagrantfile
Created Jul 1, 2016
Vagrantfile for Ubuntu Symfony Setup
View Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.
Vagrant.configure("2") do |config|
# The most common configuration options are documented and commented below.
# For a complete reference, please see the online documentation at
charlesastwood /
Last active Jul 1, 2016
Vagrant Ubuntu Setup for Symfony
#!/usr/bin/env bash
# ---------------------------------------
# Virtual Machine Setup
# ---------------------------------------
# Adding multiverse sources.
cat > /etc/apt/sources.list.d/multiverse.list << EOF
deb trusty multiverse
deb trusty-updates multiverse