Skip to content

Instantly share code, notes, and snippets.

# Log in to root user
apt-get update && apt-get install git-core build-essential emacs authbind runit scons libssl-dev curl -y
su - <unprivileged user>
git clone https://github.com/creationix/nvm.git ~/nvm && . ~/nvm/nvm.sh && nvm alias default v0.6.21 && nvm install v0.6.21
# Add to .profile, .bashrc or equiv.: . ~/nvm/nvm.sh
curl http://files.cast-project.org/install.sh | sh
# Setup files needed for cast agent and runsvdir
mkdir -p $HOME/cast-data/services-enabled/
mkdir $HOME/.cast