摘要:
安装 easy_install1.在https://pypi.python.org/pypi/setuptools上下载 setuptools-0.6c11-py2.7.egg 2.执行sh setuptools-0.6c11-py2.7.egg 安装pipwget http://python-distribute.org/distribute_setup.pypython distribute_setup.pywget https://github.com/pypa/pip/raw/master/contrib/get-pip.pypython get-pip.py 阅读全文
摘要:
第一步:编译安装 wsgi1.wget https://modwsgi.googlecode.com/files/mod_wsgi-3.4.tar.gz2.tar zxvf mod_wsgi-3.4.tar.gz 3. ./configure --with-apxs=/usr/sbin/apxs4.make 5.make install6.make clean7.make distclean第二步:设置路基wsgi 设置import sys#sys.path.append('/var/www/html/gdnsplus_conf/')path = '/usr/local 阅读全文
摘要:
1.初始环境安装httpd相关的RPM包版本号:httpd-2.2.3-63.el5.centos.1httpd-devel-2.2.3-63.el5.centos.1apr-1.2.7-11.el5_3.1apr-devel-1.2.7-11.el5_3.1apr-util-1.2.7-11.el5apr-util-devel-1.2.7-11.el52.编译python 2.7./configure -enable-sharedwget http://www.python.org/ftp/python/2.7/Python-2.7.tar.bz2tar jfvx Python-2.7.t. 阅读全文