首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往
您找到你想要的搜索结果了吗?
是的
没有找到

apache利用mod_python整合

安装所需要的源码包: •  Apache 2.2.22     (http://labs.mop.com/apache-mirror//httpd/httpd-2.2.22.tar.gz) •  Python 2.7.3 (http://www.python.org/ftp/python/2.7.3/Python-2.7.3.tgz) •  Mod_python 3.3.1 (http://archive.apache.org/dist/httpd/modpython/mod_python-3.3.1.tgz) •  Django 1.4        (https://www.djangoproject.com/download/1.4.1/tarball/) 安装步骤 1.  Apache安装 #tar -zxvf httpd-2.2.22.tar.gz # httpd-2.2.22 # ./configure --prefix=/usr/local/apache2 --enable-so --enable-rewrite #make && make install 2.  Python安装 # tar -zxvf Python-2.7.3.tgz #cd Python-2.7.3 # ./configure #make && make install #mv /usr/bin/python /usr/bin/python.bak #ln -s /usr/local/bin/python2.7 /usr/bin/python #python -V         #版本显示2.7.3 3.  django安装 # tar -zxvf Django-1.4.1.tar.gz #cd Django-1.4.1 #python setup.py install            #执行没有报错,就说明安装成功 也可以检查是否成功 #python >> import django                #这样import导入django模块没有报错,就安装成功 4.  mod_python安装 # tar -zxvf mod_python-3.3.1.tgz # cd mod_python-3.3.1 #./configure \ --with-apxs=/usr/local/apache2/bin/apxs \ --with-python=/usr/local/bin/python2.7 #make             #执行make的时候会报错,如下:

01

一些免费的学习资源 原

HTML5 Canvas编程:http://blog.csdn.net/column/details/canvas-programming.html GTK编程基础学习:http://blog.csdn.net/column/details/sjin-gtk.html Git学习系列:http://blog.csdn.net/column/details/git-lover.html git学习笔记:http://blog.csdn.net/column/details/gitnote.html Git深入体验:http://blog.csdn.net/column/details/gitexperience.html Git菜鸟变大神:http://blog.csdn.net/column/details/lilongsheng-git.html GitHub 漫游指南:http://github.phodal.com/ 全栈增长工程师指南:http://growth.phodal.com/ 全栈增长工程师实战:http://growth-in-action.phodal.com/ Phodal’s Idea实战指南:http://ideabook.phodal.com/ JavaScript 闯关记:https://github.com/stone0090/javascript-lessons css知多少:http://www.cnblogs.com/wangfupeng1988/p/4325007.html Docker入门教程:http://dockone.io/article/111 HTTP cookies 详解:http://bubkoo.com/2014/04/21/http-cookies-explained/ HTTP 接口设计指北:https://github.com/bolasblack/http-api-guide http2讲解:https://bagder.gitbooks.io/http2-explained/content/zh/ innodb源码分析:http://blog.csdn.net/column/details/innodb-zerok.html JavaScript Promise迷你书(中文版):http://liubin.org/promises-book/ JavaScript:http://blog.csdn.net/column/details/js-lyg.html JavaScript权威指南:http://blog.csdn.net/column/details/webcode.html JavaScript设计模式:http://blog.csdn.net/column/details/design-pattern-of-js.html JavaScript设计模式浅谈:http://blog.csdn.net/column/details/js-patterns.html LGCB:http://happypeter.github.io/LGCB/ linux基础与shell编程:http://blog.csdn.net/column/details/linux-world.html Linux内核读书笔记:http://blog.csdn.net/column/details/linuxnotes.html Linux入门及进阶:http://blog.csdn.net/column/details/dxmy-linux.html Nginx开发:http://blog.csdn.net/column/details/sknginx.html PHP程序员技术精粹:http://blog.csdn.net/column/details/phpjingcui.html PHP入门到精通:http://blog.csdn.net/column/details/phpspecialcolumn.html python3入门学习:http://blog.csdn.net/column/details/python-spider.html Python大法好:http://blog.csdn.net/column/details/python-master.html Python入门学习:http://blog.csdn.net/column/details/enjoypython.html Python学习笔记:http://blog.csdn.net/column/details/python-notes.html scala 从入门到入门+:https://segmentfault.com

04
领券