码迷,mamicode.com
首页 > 其他好文 > 详细

Centos Tornado 环境配置

时间:2018-05-11 20:35:21      阅读:170      评论:0      收藏:0      [点我收藏+]

标签:c51   files   https   unzip   deb   color   c++   github   setup.py   

yum install libxslt-devel libffi libffi-devel python-devel gcc openssl openssl-devel sqlite-devel mysql-devel gcc+ gcc-c++ autoconf

wget https://files.pythonhosted.org/packages/66/6d/dad0d39ce1cfa98ef3634463926e7324e342c956aecb066968e2e3696300/setuptools-30.0.0.tar.gz
tar -xvf setuptools-30.0.0.tar.gz
cd setuptools-30.0.0
python setup.py install
cd ..

wget https://files.pythonhosted.org/packages/5e/53/eaef47e5e2f75677c9de0737acc84b659b78a71c4086f424f55346a341b5/pip-9.0.0.tar.gz
tar -xvf pip-9.0.0.tar.gz
cd pip-9.0.0
python setup.py install
cd ..

wget https://files.pythonhosted.org/packages/a5/e9/51b544da85a36a68debe7a7091f068d802fc515a3a202652828c73453cad/MySQL-python-1.2.5.zip
unzip MySQL-python-1.2.5.zip
cd MySQL-python-1.2.5
python setup.py install
cd ..

wget http://download.redis.io/releases/redis-2.8.17.tar.gz
tar -xvf redis-2.8.17.tar.gz
cd redis-2.8.17
make -j20
make install
cd ..

wget https://files.pythonhosted.org/packages/09/8d/6d34b75326bf96d4139a2ddd8e74b80840f800a0a79f9294399e212cb9a7/redis-2.10.6.tar.gz
tar -xvf redis-2.10.6.tar.gz
cd redis-2.10.6
python setup.py install
cd ..

wget --no-check-certificate https://github.com/ideawu/ssdb/archive/master.zip
mv master.zip ssdb-master.zip
unzip ssdb-master.zip
cd ssdb-master
make -j20
make install
cd ..

wget https://files.pythonhosted.org/packages/db/a5/c8057b0725b8aa43d6aaefe323820aac867986d2e4ce751afaa7fab0b776/tornado-4.5.tar.gz
tar -xvf tornado-4.5.tar.gz
cd tornado-4.5
python setup.py install
cd ..

 

Centos Tornado 环境配置

标签:c51   files   https   unzip   deb   color   c++   github   setup.py   

原文地址:https://www.cnblogs.com/jhc888007/p/9025890.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!