Created
December 4, 2014 10:16
-
-
Save daijinload/57c55b82d6e2c3bd5cd9 to your computer and use it in GitHub Desktop.
centos6系にfabric入れてみた。
This file contains hidden or 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
// root de go | |
sudo su - | |
// development tools install | |
yum -y groupinstall "Development tools" | |
yum -y install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-deve | |
// python 2.7 install | |
wget https://www.python.org/ftp/python/2.7.8/Python-2.7.8.tgz | |
tar xvzf Python-2.7.8.tgz | |
cd Python-2.7.8 | |
./configure --prefix=/usr/local | |
make && make altinstall | |
python2.7 --version | |
// python 2.7 no module tool install | |
wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py | |
wget --no-check-certificate https://raw.github.com/pypa/pip/master/contrib/get-pip.py | |
python2.7 ez_setup.py | |
python2.7 get-pip.py | |
pip2.7 --version | |
// show installed pip-2.7 modules | |
pip2.7 freeze | |
// installed modules upgrade | |
pip2.7 install setuptools --no-use-wheel --upgrade | |
// fabric modules install | |
pip2.7 install paramiko | |
pip2.7 install fabric | |
fab -V | |
// show installed pip-2.7 modules | |
pip2.7 freeze |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment