Table of Contents generated with DocToc
- Log in first using your root account.
- Create a new user by following the directives stated here
- Add your public ssh key into the machine's authorized_keys as shown here
Install needed packages (git, make, etc..):
curl https://raw.github.com/tUrG0n/server-scripts/master/scripts/dev-packages | sh
Install nodejs:
curl https://raw.github.com/tUrG0n/server-scripts/master/scripts/node-installer | sh
Install npm basic packages:
curl https://raw.github.com/tUrG0n/server-scripts/master/scripts/npm-packages | sh
Install Mongodb:
curl https://raw.github.com/tUrG0n/server-scripts/master/mongo/mongodb | sh
Install php5, apache2 and mysql
curl https://raw.github.com/tUrG0n/server-scripts/master/LAMP/php-apache-mysql | sh
Suppose you want to use node-htto-proxy.
Use the following to add one in: ~/code/proxy/proxy.js
curl https://raw.github.com/tUrG0n/server-scripts/master/node/proxy/install | sh
... waiting apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
Run the following:
sudo su
echo "ServerName localhost" >> /etc/apache2/httpd.conf
/etc/init.d/apache2 restart