Created
June 23, 2013 15:07
-
-
Save anonymous/5845354 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| - 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