Skip to content

Instantly share code, notes, and snippets.

Avatar

Athir Nuaimi athirn

View GitHub Profile
View gist:52fa88deef5311a393bb
#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;
@athirn
athirn / install-apache24.sh
Created Jan 21, 2013
installing Apache 2.4 on quantal using Apache 2.4 packages from the Debian experimental repository
View install-apache24.sh
#!/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"
@athirn
athirn / setup-statsd.sh
Created Jun 19, 2012 — 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
View setup-statsd.sh
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 / vagrant.org
Created Nov 2, 2011 — forked from msmith-thrillist/vagrant.org
Setting up a CentOS 5.4 base box for Vagrant
View vagrant.org