摘要: 没有任何注释,表怪我(¬_¬) 更新: 2016.05.29: 将AuthorizationServer和ResourceServer分开配置 2016.05.29: Token获取采用Http Basic认证以符合RFC6749标准 2016.05.29: grant_type支持authoriz 阅读全文
posted @ 2016-05-13 22:41 cFrost 阅读(4252) 评论(0) 推荐(0) 编辑
摘要: 第一列:设备名 第二列:设备挂载目录 (例如上面的“/”或者“/mnt”) 第三列:设备文件系统 (例如上面的“ext4”或者“tmpfs”) 第四列:挂载参数 (看帮助man mount)对于已经挂载好的设备,例如上面的/dev/sda2,现在要改变挂载参数,这时可以不用卸载该设备,而可以使用下面 阅读全文
posted @ 2016-05-13 22:20 cFrost 阅读(772) 评论(0) 推荐(0) 编辑
摘要: 今天在用Maven集成Struts2+Spring+Hibernate时发现只要不在web模块中声明spring-web的依赖,就会报java.lang.NoClassDefFoundError: [Lorg/springframework/context/ApplicationContextIni 阅读全文
posted @ 2016-05-13 22:06 cFrost 阅读(964) 评论(0) 推荐(0) 编辑
摘要: 在持续集成服务器上使用怎样的 mvn 命令集成项目,这个问题乍一看答案很显然,不就是 mvn clean install 么?事实上比较好的集成命令会稍微复杂些,下面是一些总结: 不要忘了clean: clean能够保证上一次构建的输出不会影响到本次构建。使用deploy而不是install: 构建 阅读全文
posted @ 2016-05-13 22:00 cFrost 阅读(13863) 评论(0) 推荐(2) 编辑
摘要: 1.安装最新版JDK(作为JENKINS运行环境)# mount -t cifs //192.168.8.1/share /mnt -o username=share,password=share,nounix,sec=ntlmssp 其中nounix,sec=ntlmssp两个参数是因为我连的是O 阅读全文
posted @ 2016-05-13 21:57 cFrost 阅读(331) 评论(0) 推荐(0) 编辑
摘要: 今天研究GitLab+Jenkins自动集成时,出现Failed to connect to repository : Command "git config --local credential.helper store --file=/tmp/git2956041026506359040.cre 阅读全文
posted @ 2016-05-13 21:49 cFrost 阅读(426) 评论(0) 推荐(0) 编辑
摘要: 使用Gitlab一键安装包安装Gitlab非常简单, 同样的备份恢复与迁移也非常简单. 使用一条命令即可创建完整的Gitlab备份: gitlab-rake gitlab:backup:create使用以上命令会在/var/opt/gitlab/backups目录下创建一个名称类似为13935131 阅读全文
posted @ 2016-05-13 21:38 cFrost 阅读(407) 评论(0) 推荐(0) 编辑
摘要: The Carriage Return (CR) character (0x0D, \r) moves the cursor to the beginning of the line without advancing to the next line. This character is used 阅读全文
posted @ 2016-05-13 21:22 cFrost 阅读(471) 评论(0) 推荐(0) 编辑