Source installations are still prone to distro-specific problems. It is best to just create an install script for each distro..
Or better yet, create .deb/.rpm/.pacman/.portage packages for web2py that can do all of this :) -Thadeus On Tue, Nov 10, 2009 at 11:37 AM, salingrosso <salingro...@gmail.com> wrote: > I've tried the version that install wsgi, the one that I've send > to you. You should try it. So this script install a server ready > for web2py but without admin. I think this solution is better > for production environments! > The best should be a script that is distro agnostic and install > everything from source, and that let you choose the database engine. > I'm not enough expert of bash to make it but I could try. > > > 2009/11/10 mdipierro <mdipie...@cs.depaul.edu> > >> >> the script I sent does not use mod_wsgi and does not setup ssl. >> I just said it should do those does things but it does not now. >> >> On Nov 10, 11:30 am, salingrosso <salingro...@gmail.com> wrote: >> > The server works! But how can I verify if it run with wsgi? And how can >> I >> > access to the admin? Maybe that SSL doesn't work? >> > >> > 2009/11/10 mdipierro <mdipie...@cs.depaul.edu> >> > >> > >> > >> > > It should also configure ssl certificates. >> > >> > > On Nov 10, 11:08 am, Thadeus Burgess <thade...@thadeusb.com> wrote: >> > > > Also this script does nothing to configure postgres with >> > > users/permissions. >> > > > So that will still need to be done >> > >> > > > It can be added if the script can su to postgres user. >> > >> > > > -Thadeus >> > >> > > > On Tue, Nov 10, 2009 at 10:34 AM, salingrosso < >> salingro...@gmail.com> >> > > wrote: >> > > > > I think that we can improve the script so that the user could >> choose >> > > the >> > > > > database to install. >> > >> > > > > 2009/11/10 salingrosso <salingro...@gmail.com> >> > >> > > > > This is the script, I've only added libapache2-mod-wsgi, now I'm >> trying >> > > to >> > > > >> execute the script >> > > > >> in my secondary pc. >> > > > >> But: why do you install python 2.5 and not the default 2.6? >> > >> > > > >> 2009/11/10 mdipierro <mdipie...@cs.depaul.edu> >> > >> > > > >>> Can you do it and email me the script? >> > >> > > > >>> On Nov 10, 9:37 am, salingrosso <salingro...@gmail.com> wrote: >> > > > >>> > If we add: libapache2-mod-wsgi ? >> > >> > > > >>> > 2009/11/10 mdipierro <mdipie...@cs.depaul.edu> >> > >> > > > >>> > > That is similar the configuration I use. Ideally one should >> use >> > > > >>> > > mod_wsgi on production but I would not know how to automate >> its >> > > > >>> > > installation. >> > >> > > > >>> > > I am sure the script can be improved. >> > >> > > > >>> > > On Nov 10, 4:44 am, salingrosso <salingro...@gmail.com> >> wrote: >> > > > >>> > > > I've installed web2py on "arch linux" and I only needed to >> > > download >> > > > >>> > > > web2py. It was really really easy... :-) I think that >> Python is >> > > > >>> already >> > > > >>> > > > included >> > > > >>> > > > on default installation of Ubuntu. This script could be >> > > > >>> interesting >> > > > >>> > > > because, as I see, it install and configure Apache. You >> think >> > > that >> > > > >>> > > > this configuration could be good also on production >> server? >> > >> > > > >>> > > > 2009/11/9 Massimo Di Pierro <mdipie...@cs.depaul.edu> >> > >> > > > >>> > > > > If you have sudo access to a fresh ubuntu install just >> run >> > > this >> > > > >>> script >> > >> > > > >>> > > > > sudo setup-web2py.sh >> > >> > > > >>> > > > > and it will: >> > > > >>> > > > > 1) install a bunch of packages you need including ssh, >> emacs, >> > > > >>> apache2, >> > > > >>> > > > > python2.5, postgresql >> > > > >>> > > > > 2) download and start web2py on port 8123 as user >> www-data >> > > > >>> > > > > 3) configure apache to prosy web2py and restarts apache >> > > > >>> > > > > 4) go to >> > >> > > > >>> > > > >http://hostname/welcome >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---