From 45969c7628e2f618fda3effd4ca95ce75facf61e Mon Sep 17 00:00:00 2001 From: Massimo Date: Tue, 29 Jan 2013 16:27:46 -0600 Subject: [PATCH] added note to scripts/setup-web2py-nginx-uwsgi-on-centos.sh, thanks Alan --- VERSION | 2 +- scripts/setup-web2py-nginx-uwsgi-on-centos.sh | 52 ++++++++++++++----- 2 files changed, 39 insertions(+), 15 deletions(-) diff --git a/VERSION b/VERSION index 66670966..35c6106a 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.4.1-alpha.2+timestamp.2013.01.29.16.24.13 +Version 2.4.1-alpha.2+timestamp.2013.01.29.16.27.18 diff --git a/scripts/setup-web2py-nginx-uwsgi-on-centos.sh b/scripts/setup-web2py-nginx-uwsgi-on-centos.sh index 0892026d..09f1b81b 100644 --- a/scripts/setup-web2py-nginx-uwsgi-on-centos.sh +++ b/scripts/setup-web2py-nginx-uwsgi-on-centos.sh @@ -1,19 +1,43 @@ #!/bin/bash -# Script for installing Web2py with Nginx and Uwsgi on Centos 5 -# Created By Hutchinson -# Modified by spametki -# License: BSD - -# It was originally posted in this web2py-users group thread: -# https://groups.google.com/forum/?fromgroups#!topic/web2py/O4c4Jfr18tM - -# There are lots of subtleties of ownership, and one has to take care -# when installing python 2.6 not to stop the systems python2.4 from working. - -# NOTE: The only thing that should need changing for -# each installation is the $BASEARCH (base architecture) of the machine. -# This is determined by doing uname -i. This is needed for the nginx installation. +# ------------------------------------------------------------------- +# Description : Installation and basic configuration of web2py, +# uWSGI, andNGINX. +# in CentOS 5.x GNU/Linux +# Usage : Copy the script in /home/username and run it as root, +# you may need to allow execution (chmod +x) +# +# WARNING: This script was modified to install compiled +# versions of Python and other packages that may be +# available at your Centos package repository. +# This change was made in order to get the latest +# stable libraries available for avoiding compatibility +# issues. +# +# It was originally posted in this web2py-users group +# thread: https://groups.google.com/forum/?fromgroups# +# !topic/web2py/O4c4Jfr18tM +# +# There are lots of subtleties of ownership, and one +# has to take care when installing python 2.6 not to +# stop the systems python2.4 from working. +# +# NOTE: The only thing that should need changing for +# each installation is the $BASEARCH (base +# architecture) +# of the machine. This is determined by doing uname -i. +# This is needed for the nginx installation. +# +# File : setup-web2py-nginx-uwsgi-on-centos.sh +# Author : Hutchinson +# Modified by : Alan Etkin +# Email : spametki@gmail.com +# Copyright : web2py +# Date : 2013-01-28 +# Disclaimers : This script is provided "as is", without warranty of +# any kind. +# Licence : BSD +# ------------------------------------------------------------------- # Retrieve base architecture BASEARCH=$(uname -i)