Script to automate installing python 2.7 on a CentOS box. This has currently only been tested on CentOS 6.4
Usage is simple. Simply download, set executable, and run giving a path of where to install python
wget https://raw.github.com/michaelrice/centos_python_env_setup/master/centos_python_env_setup
chmod +x centos_python_env_setup
./centos_python_env_setup /usr/local/python2.7
profit
This is tested and works on a fresh Rackspace cloud server using the CentOs 6.4 option, run as root and set executable.
profit