12 2014 档案

摘要:template的默认目录在安装的目录里。所以要project 下重新设置。找到setting.py加上mysite/settings.pyTEMPLATE_DIRS = [os.path.join(BASE_DIR, 'templates')]这是目录:.├── db.sqlite3├── jas... 阅读全文
posted @ 2014-12-17 15:51 _Doraemon 阅读(481) 评论(0) 推荐(0)
摘要:原文:https://stackoverflow.com/questions/17263509/error-while-using-scrapy-scrapy-telnet-telnetconsole-no-module-named-conch/17264705#17264705On Ubuntu,... 阅读全文
posted @ 2014-12-13 09:07 _Doraemon 阅读(340) 评论(0) 推荐(0)
摘要:linux使用中发现我们可能开机要启动一系列程序.所以写个批处理d文件很方便:首先 到你用户d目录下:vim startup.sh#your dircd /home/jason/Downloads/openkeeper-cli-1.1-x86_64#your command as you dookc... 阅读全文
posted @ 2014-12-11 23:28 _Doraemon 阅读(905) 评论(0) 推荐(0)
摘要:转载来自:http://www.liaoxuefeng.com/wiki/001374738125095c955c1e6d8bb493182103fac9270762a000/001386832973658c780d8bfa4c6406f83b2b3097aed5df6000分布式进程810次阅读在... 阅读全文
posted @ 2014-12-10 15:24 _Doraemon 阅读(2516) 评论(0) 推荐(0)
摘要:配置PHP与Apache (CENTOS 6.5)原文参考链接:Click me第一步:安装Apache下载Apache源码到目录 如:/home/apache/解压(linux下我用.tar.gz 可以用tar工具命令:tar -zxvf your-file.tar.gz)到当前目录第二部:编译、... 阅读全文
posted @ 2014-12-07 12:59 _Doraemon 阅读(269) 评论(0) 推荐(0)
摘要:Nginx配置server { listen mysite.com:80; #如:listen 80 server_name mysite.com; #如:localhost root /path/to/tomcat/webapps/mysite/; locatio... 阅读全文
posted @ 2014-12-06 18:22 _Doraemon 阅读(238) 评论(0) 推荐(0)
摘要:ERROR:/configure: error: the HTTP rewrite module requires the PCRE library.You can either disable the module by using --without-http_rewrite_moduleopt... 阅读全文
posted @ 2014-12-06 11:21 _Doraemon 阅读(248) 评论(0) 推荐(0)
摘要:EG:drwx------ 3 user group 0 Dec 2 12:09 Java_server_proxydrwx------ 3 user group 0 Dec 1 12:42 agentdrwx------ 3 user group 0 Nov 2... 阅读全文
posted @ 2014-12-03 11:23 _Doraemon 阅读(538) 评论(0) 推荐(0)