Last active
December 19, 2015 12:58
-
-
Save andypotanin/5958275 to your computer and use it in GitHub Desktop.
Ubuntu Server 13.04 - EC2
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 apt-get upgrade | |
sudo apt-get install python-software-properties python g++ make | |
sudo apt-get install node | |
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 my-server | |
# sudo /bin/hostname > /etc/hostname | |
# Create User | |
sudo useradd -d /home/node -m node | |
sudo passwd node | |
# 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