This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |