08 2013 档案
摘要:1.安装时提示找不到python的Makefile文件,但是系统上安装的确实是python2.6版本的。[root@localhost Django-1.5.1]# python setup.py installrunning installerror: invalid Python installation: unable to open /usr/lib/python2.6/config/Makefile (No such file or directory)[root@localhost Django-1.5.1]# python -c 'import sys, pprint;
阅读全文
摘要:在安装nginx并启动后,能Ping得能IP却无法通过IP访问,经查是iptables的问题,以前用的ubuntu默认是关闭的,现在改fedora却默认打开了默认的iptables配置如下:可以看到只开启了22端口(sshd要用到),而web服务器80端口却不在ACCEPT之列。开启80端口:/sbin/iptables -I INPUT -p tcp --dport 80 -j ACCEPT可以看到此时80端口已经开启,访问页面正常。-----------------------------------------------------------------注意上面的命令中使用的是-I,
阅读全文
浙公网安备 33010602011771号