Skip to content

Instantly share code, notes, and snippets.

Created June 23, 2013 15:07
Show Gist options
  • Select an option

  • Save anonymous/5845354 to your computer and use it in GitHub Desktop.

Select an option

Save anonymous/5845354 to your computer and use it in GitHub Desktop.
- apt-get install python-setuptools
- easy_install pip
- pip install tornado
- apt-get install git
- apt-get install nginx
- pip install supervisor
- mkdir /srv/www
- mkdir /srv/www/domain.com
- cd /srv/www/domain.com
- git clone git@github.com:chaselee/tornado-linode.git
- cd /etc/nginx
- rm nginx.conf
- ln -s /srv/www/domain.com/tornado-linode/conf/nginx.conf nginx.conf
- cd
- ln -s /srv/www/domain.com/tornado-linode/conf/supervisord.conf supervisord.conf
- adduser --system --no-create-home --disabled-login --disabled-password --group nginx
- mkdir ~/logs
- supervisord
- service nginx start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment