1、yum install vsftpd;2、vi /etc/vsftpd/vsftpd.conf 将userlist_enable=YES改为NO3、vi /etc/vsftpd/ftpuser 将root注释掉4、如果提示 500 OOPS cannot change directory:/ro...
分类:
系统相关 时间:
2014-07-19 15:28:00
阅读次数:
349
在index.php的第97和98行的注释, // The directory name, relative to the "controllers" folder. Leave blank // if your controller is not in a sub-folder within t....
分类:
其他好文 时间:
2014-07-19 00:18:35
阅读次数:
212
在新建 dynamicWeb Project,然后新建 JSP文件的时候,报这个错.安装报错的信息,我通过buildpath->configurebuildpath-> Add External JARS的方式,依然没有解决.网上搜了一下,原理是设计到tomcat服务器配置问题,需要添加Tomc.....
分类:
编程语言 时间:
2014-07-18 17:18:01
阅读次数:
204
When learning the usage of map collection in java, I found serveral beneficial methods that was encountered in the daily life. Now I made a summary:
import java.util.ArrayList;
import java.util.Col...
分类:
编程语言 时间:
2014-07-18 15:13:56
阅读次数:
242
在使用maven开发web项目极大地方便了jar包的依赖,在测试时也可以集成Servlet容器,从启动速度和量级上看,Jetty无疑是不二选择,然而从8.x开始,如果你的web项目中不包含数据库访问(或者说没有事务管理器)的话,在其启动时会提示找不到事务管理器,而且启动过程会暂停十几秒,在反复调试代码时很浪费时间,经过多天在网上搜索资料,终于找到了解决办法。...
分类:
其他好文 时间:
2014-07-18 15:13:41
阅读次数:
206
..\..\SYSTEM\usart\usart.c(1): error: #5: cannot open source input file "sys.h": No such file or directory
#include "..\sys\sys.h"这样就可以找到路径了
再次编译出现了问题
..\..\SYSTEM\usart\..\sys\sys.h(3): error: ...
分类:
其他好文 时间:
2014-07-18 13:33:31
阅读次数:
311
SegmentInfo包含除了delCount和delGen之外的段其他信息
SegmentInfoPerCommit既包含SegmentInfo,也包含delCount和delGen信息。
SegmentInfos是SegmentInfoPerCommit的集合,此外还包含counter,generation,user data信息。
addIndexes(Directory...)操作过...
分类:
其他好文 时间:
2014-07-18 13:29:06
阅读次数:
177
Smith Numbers
Background
While skimming his phone directory in 1982, Albert Wilansky, a mathematician of Lehigh University , noticed that the telephone number of his brother-in-law H. Smith had ...
分类:
其他好文 时间:
2014-07-18 13:28:06
阅读次数:
234
JNDI 全称:Java Name and Directory Interface
,中文名:Java命名和目录服务接口
用途:
将【名称】和【位置|服务|信息|资源】绑定,从而通过【名称】即可访问【位置|服务|信息|资源】,进而在分布式计算环境中获取共享的【组件和资源】
功能:
1.将【名称】和【位置|服务|信息|资源】绑定
2.通过【名称】对【位置|服务|信息|资源】进...
分类:
其他好文 时间:
2014-07-18 12:33:44
阅读次数:
221
用Eclispe进行Debug时一直被一个问题所困扰:Source not found.
问题产生的原因是调试进入了一个没有源码的jar包里。
简短说明:
Edit Source Lookup Path… 可以解决Debug过程中找不到源码的问题,PS,需要重启服务。
Configure Build Path 中可以给jarattach上源码,这个管的是阅读代码时可以看到jar包里的...
分类:
系统相关 时间:
2014-07-18 12:23:39
阅读次数:
337