The script is supposed to be run as root so, it should have to problem to sudo postgres
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 -~----------~----~----~----~------~----~------~--~---