Hi Lucas,

I found deploying on Centos 5 very hard work. I tried all the methods
in the book, and none worked for me. I tried Cherokee and would not
recommend that route.

nginx with uwsgi was relatively straightforward and is very fast. Here
are some useful links

https://library.linode.com/web-servers/nginx/python-uwsgi/centos-5?format=source

http://stackoverflow.com/questions/5335153/how-to-deply-web2py-using-nginx

http://groups.google.com/group/web2py/browse_thread/thread/4350a3b6836f9dd4

It is important to ensure that compile everything with the same
version of python. This was tricky because on my system there was
plesk, and this needed an earlier version of python, so there had to
be more than one version on the system. I used python 2.6 for all the
compiling, this worked well.

Good luck.

Peter


On Oct 12, 11:56 am, lucas <sjluk...@gmail.com> wrote:
> hello one and all,
>
> i have tried to run the web2py install script on a centos 5.7 server.
> it seems to install ok with the addition of adding python 2.6 from
> source and compiling it as well.  after the install script runs,
> apache doesn't restart properly giving the warning "NameVirtualHost *:
> 80 has no VirtualHosts" which leads to an "500 Internal Server Error"
> if you access the http interface.
>
> after reading a bunch of posts under this group for an install on
> centos 5, i am wondering, has anyone gotten web2py to successfully
> work under centos 5.7 or centos 5 and if so, please direct me to the
> thread or solution?
>
> thank you in advance and have a great day.  lucas

Reply via email to