文章标签 » proxy65

install proxy65 on centOS 5

再次对centos的python版本表示无语

wget http://www.python.org/ftp/python/2.6.6/Python-2.6.6.tar.bz2
tar jxvf Python-2.6.6.tar.bz2
cd Python-2.6.6
./configure --prefix=/opt/python26
make
make install

cd ..
#试过10.2.0版本,不能用。。。
wget http://tmrc.mit.edu/mirror/twisted/Twisted/10.1/Twisted-10.1.0.tar.bz2
tar jxvf Twisted-10.1.0.tar.bz2
cd Twisted-10.1.0
/opt/python26/bin/python setup.py install

cd ..
wget http://www.zope.org/Products/ZopeInterface/3.3.0/zope.interface-3.3.0.tar.gz
tar zxvf zope.interface-3.3.0.tar.gz
cd zope.interface-3.3.0
/opt/python26/bin/python setup.py install

cd ..
wget http://proxy65.googlecode.com/files/Proxy65-1.2.0.tar.gz
tar zxvf Proxy65-1.2.0.tar.gz
cd Proxy65-1.2.0
/opt/python26/bin/python setup.py install

#OK
/opt/python26/bin/python /opt/python26/bin/twistd proxy65 --jid=proxy.xxx.com --secret=secret --rhost=127.0.0.1 --rport=5347 --proxyips=127.0.0.1:7777

———–
post by gmail~

ubuntu下安装proxy65

proxy65安装时报错:
exceptions.ImportError: No module named words.protocols.jabber

文档里只说python setup.py install就OK了
解决:
sudo apt-get install python-twisted

———–
post by gmail~