ChinaUnix.net
相关文章推荐:

ubuntu nginx uwsgi django

使用心得:nginx处理大并发比较稳定,特别省 内存 ,配置简单. 1.安装pythoncd /usr/ports/lang/python make install clean 2.安装flup cd /usr/ports/www/py-flup make install clean 3.安装 django 1) cd /usr/ports/www/py-django make install clean 4.安装 nginx cd /usr/ports/www/nginx make install clean 5.启动和管理flup的脚本 参考 http://www.djangoproject.com/documentation/fastcgi/ #!/bin/sh # Replace these thr...

by 剑心通明 - BSD文档中心 - 2008-03-23 20:44:48 阅读(1075) 回复(0)

相关讨论

django on nginx 建议:FreeBSD RELENG_6 使用心得:nginx处理大并发比较稳定,特别省内存,配置简单. 1.安装python cd /usr/ports/lang/python make install clean 2.安装flup cd /usr/ports/www/py-flup make install clean 3.安装django 1) cd /usr/ports/www/py-django make install clean 4.安装nginx cd /usr/ports/www/nginx make install clean 5.启动和管理flup的脚本 参考 http://www.djangoproject.co...

by jinxofeng - Python文档中心 - 2007-12-28 10:52:39 阅读(1770) 回复(0)

文件路径在: /home/Public_Html/down 运行 ./manage.py runserver 这样的 http://127.0.0.1:8000 django工作,正常访问 启动nginx后访问却不行.. 应该是django没工作 .. 高手看看是不是哪配置错误了.. nginx.conf user www www; worker_processes 5; pid /var/run/nginx.pid; error_log /var/log/httpd/error.log warn; events {      worker_connections 10240; #use ; } http {   &...

by 猫搂鱼睡觉 - Python - 2009-08-16 17:55:14 阅读(1829) 回复(4)

原始地址Windows 下以 nginx + fastcgi 运行 django 或 web.py 从 http://www.saddi.com/software/flup/dist/ 下载 flup 并执行 setup.py install 安装。 从 http://www.kevinworthington.co.....ers/nginx/ 下载nginx Windows版本的安装程序。 运行并安装。 打开配置文件 nginx/conf/nginx.conf 修改为: 1. #user nobody; 2. worker_processes 1; 3. 4. #error_log logs/error.log; 5. #error_log logs/err...

by gamexg - Python文档中心 - 2009-06-22 09:07:46 阅读(8580) 回复(1)

因为个人原因,LNMP经过几次跳票终于发布了,此次发布的是在Debian或者ubuntu下的nginx、PHP、MySQL、phpMyAdmin、Zend一键安装包,可以在VPS、独立主机上轻松的安装LNMP生产环境。 LNMP Ver0.2 for Debian/ubuntu软件版本说明(2009年8月26日更新): nginx:0.7.61 PHP:5.2.10 MySQL:暂时使用的apt-get安装 Zend Optimizer :3.3.3 使用说明: 如果系统预安装Apahce或你已经安装Apache,请先运行ap-get remove httpd,删除Ap...

by licess - 服务器应用 - 2009-09-04 10:28:23 阅读(3413) 回复(7)

django is opensource Web framework written in Python. django loosely follows MVC design pattern. django being written in Python you should have some knowledge of Python. You can download django from http://www.djangoproject.com/download . I have been using django since its 0.96 release. Today I decided to write a small application using it. As django follows design pattern similar to MVC lets fi...

by cobrawgl - Python文档中心 - 2009-04-06 16:13:27 阅读(1461) 回复(0)

这几天在学习django,现在我把碰到的一些问题和解决方法,记录下来。环境是windows xp。 1.安装python2.5. 2.安装mysql5.0,和mysql-python,也就是MySQLdb这个包。注意在安装mysql时候,需要将所用的字符集设置成utf8,如果没有设置,则在建立数据的时候一定做设置成utf8,否则在利用django admin site的时候会出现错误。 3.安装django0.96或者django 1.0。这两个版本有一些不一样,其中一个问题是在models.py这个文件中, django...

by luxiaokang - Python文档中心 - 2008-09-10 19:01:06 阅读(1723) 回复(0)

安装python: http://www.python.org/ftp/python/2.5.1/python-2.5.1.msi 安装wxPython: http://nchc.dl.sourceforge.net/sourceforge/wxpython/wxPython2.6-win32-ansi-2.6.4.0-py25.exe 安装SPE: http://nchc.dl.sourceforge.net/sourceforge/spe/SPE-0.8.2.a-wx2.6.1.0-py24.exe 安装django: svn co http://code.djangoproject.com/svn/django/trunk/            ...

by etony - Python文档中心 - 2007-10-04 15:32:58 阅读(1243) 回复(0)

要放弃django了,做这样的抉择有时很难,但是又没有办法。 现在年纪大了,身体大不如前,还经常掉头发,我发现自己已经开始进入中年了,虽然目前还不会出现上完厕所忘了上拉链的情况。 一直以来我希望能用python做个网站来玩玩,在turbogears和django之中,我选择了django,不过,做网站毕竟只是业余,也就是只有下班后找能玩玩。每天上班8到9个小时,坐车又两个多小时,每天回家后用于django的时间就很少了,因此,我自己梦想中的...

by jiaoya - Python文档中心 - 2007-05-20 23:49:22 阅读(1214) 回复(0)

是否: Twisted 能做的,django 未必做得到 ?? django 能做的, Twisted 也能做到.?? 用 Twisted 來做 web 好嗎??

by eookoo - Python - 2007-03-21 16:30:46 阅读(2707) 回复(1)