Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Install Stats.d on a debian server
sudo apt-get update && apt-get install git-core curl build-essential openssl libssl-dev
# Don't forget to go to the location you want to install node in (like cd /home/) before running these commands
git clone
cd node
git checkout v0.8.12
./configure --openssl-libpath=/usr/lib/ssl
make test
sudo make install
node -v
npm -v
cd ..
git clone
cd statsd
cp exampleConfig.js local.js
# Edit local.js and make it looks like:
graphitePort: 2003
, graphiteHost: "localhost"
, port: 8125
# Then you need to run stats.d
apt-get install screen
screen node stats.js local.js
# Then press Ctrl + a + d in order to let run stats.js in background mode thanks to screen.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.