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 <[email protected]>

>
> 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 <[email protected]> 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 <[email protected]>
> >
> >
> >
> > > It should also configure ssl certificates.
> >
> > > On Nov 10, 11:08 am, Thadeus Burgess <[email protected]> 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 <[email protected]
> >
> > > wrote:
> > > > > I think that we can improve the script so that the user could
> choose
> > > the
> > > > > database to install.
> >
> > > > > 2009/11/10 salingrosso <[email protected]>
> >
> > > > > 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 <[email protected]>
> >
> > > > >>> Can you do it and email me the script?
> >
> > > > >>> On Nov 10, 9:37 am, salingrosso <[email protected]> wrote:
> > > > >>> > If we add: libapache2-mod-wsgi ?
> >
> > > > >>> > 2009/11/10 mdipierro <[email protected]>
> >
> > > > >>> > > 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 <[email protected]>
> 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 <[email protected]>
> >
> > > > >>> > > > > 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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to