All that was needed was to add *python-devel* and *python-setuptools *to 
the *yum install* line...

Then when changing:

> python$PREFIX uwsgiconfig.py --build

Into:

> python uwsgiconfig.py --build


It compiles  using the default installation of python (2.6.6) that's 
already in Cent-OS 6.3 from the get-go...
*This throws away the entire section that deals with python installation 
from the script - it is no longer needed anymore, and actually brakes 
everything...
*

<https://lh6.googleusercontent.com/-_znCBjEwaYc/UQkbSPfkQFI/AAAAAAAAAEk/TSl9XlVTiZc/s1600/Success.jpg>


I also used uwsgi version 1.2.6 instead of 1.2.4

After that all went smoothly.
I did change the path of the nginx installer to take from the 6'th version 
of cent-os...
From:

> echo "baseurl=http://nginx.org/packages/centos/*5*/$BASEARCH/";>>nginx.repo

To:

> echo "baseurl=http://nginx.org/packages/centos/*6*/$BASEARCH/";>>nginx.repo


Aslo, for a bare-minimal-installation, this becomes unnecessary:

> echo 'Turning off apache service'
> service httpd stop
> chkconfig httpd off

As there is no apache installed in that release...
However for greater compatibility it should be left in there - it doesn't 
cause any damage if there is no apache installed.

I am currently re-uniting the sections into a single script, and testing it 
out on a clean install.
I will attach it here when all is working.

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to