Last active
December 19, 2015 12:58
-
-
Save andypotanin/5958303 to your computer and use it in GitHub Desktop.
Ubuntu Server 13.04 - Azure
This file contains 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
# Regular Server Stuff | |
sudo apt-get update | |
sudo add-apt-repository ppa:chris-lea/node.js | |
sudo apt-get install python-software-properties python g++ make | |
sudo apt-get update | |
sudo apt-get install nodejs | |
sudo apt-get install npm | |
sudo apt-get install git | |
# Setup Varnish | |
curl http://repo.varnish-cache.org/debian/GPG-key.txt | sudo apt-key add - | |
echo "deb http://repo.varnish-cache.org/ubuntu/ precise varnish-3.0" | sudo tee -a /etc/apt/sources.list | |
sudo apt-get update | |
sudo apt-get install varnish | |
# Set Hostname | |
sudo /bin/hostname veneer.io | |
sudo /bin/hostname > /etc/hostname | |
# Create User | |
sudo useradd -d /home/veneer -m veneer | |
sudo passwd veneer | |
# Checkout Express.js | |
git clone https://github.com/visionmedia/express /home/node/express | |
# Create Symbolic Links | |
sudo ln -s /home/node/express/bin/express /usr/sbin/veneer/index.js |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment