test.unionsoft.sk - sosik/registries GitHub Wiki

188.226.208.18

apt-get update
apt-get install apache2
a2enmod vhost_alias

# mongo
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10
echo 'deb http://downloads-distro.mongodb.org/repo/debian-sysvinit dist 10gen' | tee /etc/apt/sources.list.d/mongodb.list
apt-get update
sudo apt-get install mongodb-org

#nodejs
wget http://nodejs.org/dist/v0.10.29/node-v0.10.29-linux-x64.tar.gz
tar xzvf node-v0.10.29-linux-x64.tar.gz -C /opt/node-v0.10.29-linux-x64
ln -s /opt/node-v0.10.29-linux-x64/ /opt/node
/opt/node/bin/npm install bower -g
/opt/node/bin/npm install grunt-cli -g
apt-get install ruby
gem install sass

# node user
mkdir /opt/apps
adduser node
chown node /opt/apps

# collectd
apt-get install collectd