Advertisement
Guest User

Untitled

a guest
Dec 5th, 2011
703
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.43 KB | None | 0 0
  1. cd ~
  2. wget -O web2py_srz.zip http://web2py.com/examples/static/web2py_src.zip
  3. unzip web2py_src.zip
  4. echo "
  5. PATH = '/home/"`whoami`"/web2py'
  6. import os
  7. import sys
  8. sys.stdout = sys.stderr
  9. os.chdir(PATH)
  10. if not './' in sys.path[:1]: sys.path.insert(0,'./')
  11. from gluon.main import wsgibase as application
  12. " > /var/www/wsgi.py
  13. cd web2py
  14. python -c "from gluon.main import save_password; save_password(raw_input('admin password: '),433)"
  15.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement