发布时间:2014-02-23 01:06:42
将apache源码拷贝到/home下[root@oracle11g httpd-2.0.59]#mkdir /usr/local/apache2/[root@oracle11g httpd-2.0.59]#cd /home/httpd-2.0.59[root@oracle11g httpd-2.0.59]# ./configure --prefix=/usr/local/apache2/ --enable-so --enable-mods-shared=most --with-mpm=worker[root@oracle11g httpd-2.0.59]# ma.........【阅读全文】
发布时间:2014-02-22 23:46:54
此脚本找到large_re_file.txt的行数以及pDq的行数。点击(此处)折叠或打开[root@oracle11g test]# cat re_loop_nocompile.py #!/usr/bin/env pythonimport redef run_re(): pattern =.........【阅读全文】
发布时间:2014-02-22 22:06:25
1.in 和 not in区别点击(此处)折叠或打开[root@oracle11g home]# ipython/usr/lib/python2.6/site-packages/IPython/Magic.py:38: DeprecationWarning: the sets module is deprecated from sets import SetPython 2.6.6 (r266:84292, M.........【阅读全文】
发布时间:2014-02-19 15:02:56
将tar xzvf ipython-0.9.1.tar.gz源码放到/home下[root@oracle11g home]# tar xzvf ipython-0.9.1.tar.gz[root@oracle11g home]# cd ipython-0.9.1[root@oracle11g ipython-0.9.1]# python setup.py install[root@oracle11g ipython-0.9.1]# which ipython/usr/bin/ipython[root@oracle11g ipython-0.9.1]# ipython/.........【阅读全文】
发布时间:2014-02-19 00:11:28
[root@oracle11g home]# cat pysysinfo_func_2.py点击(此处)折叠或打开#!/usr/bin/env python#A System Information Gathering Scriptimport subprocess#Command 1def uname_func(): &nbs.........【阅读全文】