Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cd ~
- wget -O web2py_srz.zip http://web2py.com/examples/static/web2py_src.zip
- unzip web2py_src.zip
- echo "
- PATH = '/home/"`whoami`"/web2py'
- import os
- import sys
- sys.stdout = sys.stderr
- os.chdir(PATH)
- if not './' in sys.path[:1]: sys.path.insert(0,'./')
- from gluon.main import wsgibase as application
- " > /var/www/wsgi.py
- cd web2py
- python -c "from gluon.main import save_password; save_password(raw_input('admin password: '),433)"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement