Centos 6 Build

Build goes here

Install python2.7 without breaking Centos internals. (link)

sudo yum update # update yum 
sudo yum install centos-release-scl # install SCL
sudo yum install python27 # install Python 2.7
scl enable python27 bash
cd /opt/rh/python27/root/usr/bin/ # cd to the directory where SCL installs python 
sudo LD_LIBRARY_PATH=$LD_LIBRARY_PATH ./easy_install-2.7 pip
sudo LD_LIBRARY_PATH=$LD_LIBRARY_PATH ./pip2.7 install requests

Note that using the SCL python2.7 is not as straight forward as it should be. (link)

 

If using “Let’s Encrypt” then you’ll need to update to python 2.7