Skip to content

Instantly share code, notes, and snippets.

@spatzle
Forked from collegeman/setup-statsd.sh
Created November 2, 2011 20:48
Show Gist options
  • Save spatzle/1334868 to your computer and use it in GitHub Desktop.
Save spatzle/1334868 to your computer and use it in GitHub Desktop.
Turn an Ubuntu 10.04 linode into a StatsD/Graphite server
# install git
sudo apt-get install g++ curl libssl-dev apache2-utils
sudo apt-get install git-core
# download the Node source, compile and install it
#git clone git://github.com/joyent/node.git
wget http://nodejs.org/dist/latest/node-v0.5.10.tar.gz
tar xvfz node-v0.5.10.tar.gz
mv node-v0.5.10 node
cd node
./configure
make
sudo make install
# install the Node package manager for later use
curl http://npmjs.org/install.sh | sudo sh
npm install express
# clone the statsd project
git clone git://github.com/etsy/statsd.git
cd ~/statsd
cp exampleConfig.js local.js
# start statsd
node stats.js local.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment