centos 5.5 deploy full procedure
install fastestmirroryum install yum-fastestmirroryum install tixrpm -ivh python26-2.6.5-3.el5.i386.rpm python26-test-2.6.5-3.el5.i386.rpm python26-devel-2.6.5-3.el5.i386.rpm python26-tools-2.6.5-3.el5.i386.rpm python26-libs-2.6.5-3.el5.i386.rpm tkinter26-2.6.5-3.el5.i386.rpm libffi-3.0.5-1.el5.i386.rpm yum install gcctar -zxvf freetds-stable.tgz./configure --prefix=/usr/local/freetds --with-tdsver=8.0 --enable-msdblib --enable-dbmfixmakemake installchange default python to new python use ln -scd /usr/binln -sr python26 pythontar -zxvf setuptools-0.6c11.tar.gz sudo python setup.py installeasy_install rediseasy_install drequeeasy_install eventletchange to default pythonyum install cythontip:in centos 5.5 currently didn't have the cython package,so you need download source package and compile itwget http://www.cython.org/release/Cython-0.12.1.tar.gztar -zxvf Cython-0.12.1.tar.gzcd Cython-0.12.1sudo python setup.py installtar -zxvf pymssql-1.9.908.tar.gz change to new python,the step is as follows:# mv python python_# ln -s python2.python2.4 python2.6 python2.6-config# ln -s python2.python2.4 python2.6 python2.6-config# ln -s python2.4 python# ls -al|grep pythoncd pymssql-1.9.908sudo python setup.py installyuminstall freetds-develupdate redis-py driver
<div class="zemanta-pixie">http://img.zemanta.com/pixy.gif?x-id=0bc98ee7-3a34-8a3c-99cf-c05c4c82815f
页:
[1]