05 2013 档案

摘要:功能:远端执行python函数远端执行命令传输文件远端交互--------------------------------------------------------------------------------安装方式:pip install Fabric --------------------------------------------------------------------------------入门:第一步:编写命令在python文件fabfile.py 中,这样的好处对交互过程可控 from __future__ import with_statementfro. 阅读全文
posted @ 2013-05-29 16:55 lxgeek 阅读(284) 评论(0) 推荐(0) 编辑
摘要:安装 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 阅读全文
posted @ 2013-05-23 18:10 lxgeek 阅读(757) 评论(0) 推荐(0) 编辑
摘要:第一步:编译安装 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 阅读全文
posted @ 2013-05-10 17:03 lxgeek 阅读(999) 评论(0) 推荐(0) 编辑
摘要: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. 阅读全文
posted @ 2013-05-03 18:02 lxgeek 阅读(1430) 评论(0) 推荐(0) 编辑