Skip to content

Instantly share code, notes, and snippets.

View athirn's full-sized avatar

Athir Nuaimi athirn

View GitHub Profile
@athirn
athirn / vagrant.org
Created November 2, 2011 23:33 — forked from msmith-thrillist/vagrant.org
Setting up a CentOS 5.4 base box for Vagrant
@athirn
athirn / setup-statsd.sh
Created June 19, 2012 19:36 — forked from KyleAMathews/setup-statsd.sh
Setup Ubuntu 12.04 EC2 server with StatsD/Bucky/Graphite - see http://github.com/anuaimi/puppet_graphite for latest
sudo apt-get update
sudo apt-get install -y g++ curl libssl-dev apache2-utils make
sudo apt-get install -y git-core
# download the Node source, compile and install it
cd /opt
sudo git clone https://github.com/joyent/node.git
cd node
sudo git checkout v0.6
@athirn
athirn / install-apache24.sh
Created January 21, 2013 22:47
installing Apache 2.4 on quantal using Apache 2.4 packages from the Debian experimental repository
#!/bin/bash
# get PGP & Debian public key (used to validate download packages)
sudo apt-get install pgpgpg
sudo gpg --keyserver pgp.mit.edu --recv-key AED4B06F473041FA
sudo gpg -a --export AED4B06F473041FA | sudo apt-key add -
# add debian experimental repo to apt-get list
sudo sh -c "echo 'deb http://ftp.debian.org/debian experimental main' > /etc/apt/sources.list.d/debian.list"
#user nobody;
worker_processes 1;
#error_log logs/error.log;
#error_log logs/error.log notice;
#error_log logs/error.log info;
#pid logs/nginx.pid;