国内很多文章都是抄来抄去,用不成,用我这个就可以了编辑 http.conf 文件去掉 #LoadModule headers_module modules/mod_headers.so 前面的注释#去掉 #LoadModule deflate_module modules/mod_deflate.s...
分类:
其他好文 时间:
2014-09-17 21:50:42
阅读次数:
271
以jboss7.1.0和mysql为例1、找到安装目录,我的目录是:jboss-as-7.1.0.CR1b2、找到standalone.xml,这个文件在我的电脑上是C:\Users\dan\Desktop\jboss-as-7.1.0.CR1b\standalone\configuration3、...
分类:
数据库 时间:
2014-09-17 12:01:22
阅读次数:
325
Jboss EAP 6.3 Domain模式配置实战
分类:
其他好文 时间:
2014-09-17 11:40:42
阅读次数:
306
在pygame中,有很多模块,每个模块对应着不同的功能,如果我们知道这些模块是做什么的,那么,对我们的游戏开发会起到关键性的作用。我们就说说pygame中的各个模块吧!!!#pygame modules__author__ = {'name' : 'Hongten', 'm...
分类:
其他好文 时间:
2014-09-16 20:33:30
阅读次数:
687
[root@gxapp01shells]#catcheck_saqz.sh#!/bin/bash#date=2014-09-06#istocheckthehttpstatus.ifitisnotOK,restarttheprogressrestart_saqz(){kill-9`ps-elf|grepjboss-saqz|grep-v"grepjboss-saqz"|awk-F‘‘‘{print$4}‘|tail-1`rm-rf/usr/local/jboss/server/jboss-saqz/tmp/*r..
分类:
其他好文 时间:
2014-09-16 16:05:51
阅读次数:
164
之前看了《Netty权威指南》一书,第14章用整个章节介绍了如何设计和实现一个简单的私有协议,内容很好,但是作者提供的代码片段有很多错误,根本不可能正确编译。
比如MarshallingEncoder这个类是Netty提供了JBoss Marshalling的一个适配类,它的encode方法是protected,不是public,并且其中用到的ChannelBufferByteOutput类是...
分类:
Web程序 时间:
2014-09-16 16:01:41
阅读次数:
294
clipse helios(3.6)版1.启动eclipse2.选择Help > Install New Software...>3.添加如下地址:http://download.jboss.org/jbosstools/updates/stable/helios/4.选择性安装:hibernate...
分类:
系统相关 时间:
2014-09-16 10:33:30
阅读次数:
265
1.去除入口脚本需要在重写url,如果你的webserver软件时Apache的话,必须配置httpd.conf,搜索“LoadModule rewrite_module modules/mod_rewrite.so”,然后去掉此行前面的“#”[ps:注释符号]:2.在yii的web应用程序主配置文...
分类:
Web程序 时间:
2014-09-15 22:36:59
阅读次数:
279
今天学习angular提到了marka测试驱动开发,就安装了下,结果一直提示命令没找到。如下图:
查找了一些资料,发现marka的资料少的可怜。最后终于发现了问题所在。
原因是:npm没有在/usr/local/bin目录下面创建 Karam目录的软链接导致。因为Karma的实际安装目录可能是在:/usr/local/lib/node_modules/karma...
分类:
其他好文 时间:
2014-09-15 19:32:49
阅读次数:
174
1.查看ubuntu版本 shell> cat /etc/issue Ubuntu 14.04 LTS \n \l 扩展:查看内核版本 shell>uname -r 3.13.0-24-generic 查看详细版本号: shell>sudo lsb_release -a No LSB modules are available. Distributo...
分类:
其他好文 时间:
2014-09-15 11:31:48
阅读次数:
221