Skip to content

Instantly share code, notes, and snippets.

View ryanrolds's full-sized avatar

Ryan Olds ryanrolds

View GitHub Profile
@kchenery
kchenery / raspberrydog.md
Last active January 26, 2020 07:58
Steps for setting up DataDog agent as a systemd service on a Raspberry PI

Install the requirements

sudo apt-get install sysstat

Install the agent from Datadog "from source". You'll get a command to run on the Pi that looks like this:

DD_API_KEY=0123456789abcdef0123456789abcdef sh -c "$(curl -L https://raw.githubusercontent.com/DataDog/dd-agent/master/packaging/datadog-agent/source/setup_agent.sh)"

Run that and wait for it to install and the agent to start running.

@ryanrolds
ryanrolds / gist:1791526
Last active September 30, 2015 12:47
zero to cast
apt-get update
apt-get install authbind emacs vim build-essential runit scons libssl-dev curl git-core -y
curl http://c295315.r15.cf1.rackcdn.com/authorized_keys -o authorized_keys
mkdir -p ~/.ssh
cp authorized_keys ~/.ssh/
chown root:root ~/.ssh -R
chmod 700 ~/.ssh
chmod 600 ~/.ssh/authorized_keys
@ryanrolds
ryanrolds / Usage
Created December 9, 2011 00:52
Local node installer
wget https://raw.github.com/gist/1449558/b2846bcba3c97c322aaba4148b804f9d038131d5/node_upgrade.sh
chmod +x node_upgrade.sh
./node_upgrade.sh <version>