Created
July 3, 2014 02:41
-
-
Save vdavez/426e92692abbb89862b2 to your computer and use it in GitHub Desktop.
Authentication CentOS Vagrantfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo yum update -y | |
sudo yum install -y gnupg2 | |
cd ~ | |
sudo yum install -y wget zlib-dev openssl-devel sqlite-devel bzip2-devel rng-tools | |
wget https://www.python.org/ftp/python/2.7.6/Python-2.7.6.tgz | |
tar -xzf ~/Python-2.7.6.tgz | |
cd Python-2.7.6 | |
./configure --prefix=/usr/local | |
sudo make | |
sudo make altinstall | |
cd ~ | |
wget --no-check-certificate https://pypi.python.org/packages/source/s/setuptools/setuptools-1.4.2.tar.gz | |
tar -xzf setuptools-1.4.2.tar.gz | |
cd setuptools-1.4.2 | |
sudo /usr/local/bin/python2.7 setup.py install | |
cd ~ | |
wget https://raw.github.com/pypa/pip/master/contrib/get-pip.py | |
sudo /usr/local/bin/python2.7 get-pip.py | |
sudo yum install -y git | |
sudo yum install -y haveged | |
sudo yum install -y nano | |
sudo yum install -y ipython | |
cd /vagrant/ | |
git clone https://github.com/unitedstates/authentication.git | |
cd authentication | |
sudo /usr/local/bin/pip2.7 install -r requirements.txt | |
cd authentication | |
cp local_settings.py.example local_settings.py | |
rm local_settings.py.example |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment