flask+gevent+gunicorn+nginx 初试...
分类:
其他好文 时间:
2014-05-13 06:37:52
阅读次数:
442
autoindex on; //自动显示目录 默认为off
autoindex_exact_size off; //人性化方式显示文件大小否则以byte显示 默认为on
autoindex_localtime on; //按服务器时间显示,否则以gmt时间显示 默认off...
分类:
其他好文 时间:
2014-05-12 23:48:06
阅读次数:
357
Multiple annotations found at this line: - schema_reference.4: Failed to read schema document 'http://www.directwebremoting.org/schema/spring-dwr-2.0.xsd', because 1) could not find the document; 2)...
分类:
编程语言 时间:
2014-05-12 22:55:47
阅读次数:
409
安装HBase 0.94.6-cdh4.3.0
设定HBase的配置文件,由于安装的是cdh版,各版本直接匹配,互相依赖的jar包也都正确,只需要配置下hbase的环境变量和配置文件即可。
1.配置hbase-env.sh,添加JAVA_HOME环境变量
[html] view
plaincopy
export JAVA_HOME=/us...
分类:
其他好文 时间:
2014-05-12 22:36:14
阅读次数:
504
环境介绍服务器端:Centos6.4客户端:Windows7服务器端配置将系统默认启动模式设置为图形模式,配置文件/etc/inittab文件内容调整如下:#Defaultrunlevel.Therunlevelsusedare:
#0-halt(DoNOTsetinitdefaulttothis)
#1-Singleusermode
#2-Multiuser,withoutNFS(Thesameas3,ifyo..
分类:
系统相关 时间:
2014-05-12 03:38:40
阅读次数:
437
XBMC快捷键配置文件:/usr/share/xbmc/system/keymaps/keyboard.xml<FullscreenVideo>
<keyboard>
<period>StepForward</period>
<comma>StepBack</comma>
<quote>SmallStepBack</quote>
<opensquarebracket>BigStepFor..
分类:
系统相关 时间:
2014-05-12 03:26:23
阅读次数:
417
经过一天的折腾,终于在MyEclipse2013下搭建出一个Struts2+Spring3.1+Hibernate3.3整合的项目,具体过程如下,仅供新手学习,大神勿喷首先新建Web项目:直接finish完成即可!加入Spring支持:弹出如下窗口:此处将Spring配置文件的名称改为applicationContext-hibernate.xml用..
分类:
编程语言 时间:
2014-05-12 03:11:02
阅读次数:
915
一、模拟Spring管理Bean
spring是如何管理Bean的? 想必这是每一个初学spring的同学想弄清楚的问题, 好吧, 网上百度一下你会得到这样的答案:
服务启动时, 容器会解析配置文件, 并且会通过反射机制实例化配置中所有的类, 然后我们可以通过下面的方法获取Bean:
ApplicationContext ctx = new ClassPathXmlApplica...
分类:
编程语言 时间:
2014-05-11 20:24:45
阅读次数:
351
Tomcat是由Apache软件基金会下属的Jakarta项目开发的一个Servlet容器,按照SunMicrosystems提供的技术规范,实现了对Servlet和JavaServerPage(JSP)的支持,并提供了作为Web服务器的一些特有功能,如Tomcat管理和控制平台、安全局管理和Tomcat阀等。由于Tomcat本身也内含了一..
分类:
其他好文 时间:
2014-05-11 19:20:06
阅读次数:
628