On a fresh Ubuntu install type
wget http://web2py.googlecode.com/svn/trunk/scripts/setup-web2py-ubuntu.sh
chmod +x setup-web2py-ubuntu.sh
sudo ./setup-web2py-ubuntu.sh
It will: - apt-get everything you need - create /home/www-data/web2py - start a local web2py copy on port 8123 to ssh into its admin interface - create a self signed certificate - write /var/apache2/sites-available/default configured to use the certificate and mod_wsgi with web2py - restart apache and postgresql
After you run the script, simply visit:
http://hostname/
Comments (9)
- Login to post
order by: newest oldest upvoted downvoted
Can you please help with such a script for Red Hat / rpm based distros?
Not sure about "headers" but there do appear to be some "expires" directives in the conf file.
Please forgive my ignorance, but why are the headers and expires modules enabled with this script?
Try this one instead:
http://bazaar.launchpad.net/%7Emdipierro/web2py/devel/download/head%3A/setupweb2pyubuntu.sh-20091113071543-nuyvk7g9cfu086wk-1/setup-web2py-ubuntu.sh
wget http://bazaar.launchpad.net/%7Emdipierro/web2py/devel/annotate/head%3A/scripts/setup-web2py-ubuntu.sh
This link leads to oblivion...
show more comments0
rajaram-s 12 years ago
0
virtualdisaster 14 years ago
0
dalenkruse 14 years ago
0
mrfreeze 14 years ago
0
villas 14 years ago