自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(25)
  • 收藏
  • 关注

原创 FastDFS5.0.5+nginx-1.6.2

下载地址:https://github.com/happyfish100/libfastcommon.git安装环境:tracker:192.168.12.241Strorage:192.168.12.252                  192.168.12.244一、安装FastDFS1.安装 libfastcommon-master.zip  unzip li...

2015-05-16 19:57:46 199

原创 java实现四则运算

最近在考虑一个问题:公司项目可能会使用运算模板来计算相应的值,模板freemarker、velocity都是不错的选择。那通过模板将计算公式字符串组装出来后,就需要解析字符串得到计算结果,以下是我的实现:public class Arithmetic { private char[] oper = { '+', '-', '*', '/', '(', ')' }; p...

2015-02-11 10:06:33 147

原创 maven archetype脚手架生产项目

1.生产web项目:mvn archetype:generate -DgroupId=com -DartifactId=simple-web -DarchetypeArtifactId=maven-archetype-webapp 2.生产java项目:mvn archetype:generate -DgroupId=com -DartifactId=simple-app -Darc...

2015-02-11 09:39:36 161

原创 网页防注入式攻击

过滤器filter:public class XSSProtectFilter implements Filter{ private static final Logger logger = Logger.getLogger(XSSProtectFilter.class); private static String[] safeless = new String[0]...

2014-06-16 11:10:06 127

原创 jquery validate扩展

一、封装自定义验证方法-validate-methods.js/***************************************************************** jQuery Validate扩展验证方法 (linjq) *****************************************...

2014-05-26 09:55:22 86

原创 SpringMVC-Freemarker异常配置

原文:http://my.oschina.net/scipio/blog/200447

2014-05-20 14:35:41 118

原创 error: Cannot find libmysqlclient_r under /usr/local/mysql.

配置php的时候出现以下问题解决方案checking for MySQL support... yeschecking for specified location of the MySQL UNIX socket...nochecking for MySQL UNIX socket location... noconfigure: error: Cannot find libmysqlc...

2014-03-29 13:24:12 97

原创 Jboss AS7数据库连接密码加密

<datasources> <datasource jndi-name="java:jboss/datasources/testDS" pool-name="oracle" enabled="true" use-java-context="true"> <c

2014-03-26 17:54:07 162

原创 基于Jupiter建立code review机制

详细介绍请见:http://blog.csdn.net/cutesource/article/details/5824490

2014-02-08 09:39:44 93

原创 quartz集群服务器时钟不同步导致

Quartz集群问题:This scheduler instance (SchedulerName) is still active but was recovered by another instance in the cluster原因:集群服务器时钟不同步导致This exception often occurs when the clock times on the clu...

2013-12-16 15:01:08 4226

原创 jps和jmap的用法

jps介绍:http://blog.csdn.net/fwch1982/article/details/7947451jmap介绍:http://developer.51cto.com/art/201203/321422.htm                  http://readwall.blog.163.com/blog/static/101271322013513539331...

2013-12-03 19:57:40 242

原创 ws cxf 验证访问

一、服务端代码接口类 @WebServicepublic interface HelloWorld { public String sayHello(String param);} 实现类  @WebServicepublic class HelloWorldImpl implements HelloWorld { @Overri...

2013-11-02 15:58:32 99

原创 jprofile8 linux使用小结

附件中有jprofile  jboss安装使用文档及破解码。

2013-10-17 18:07:30 103

原创 undefined symbol: sqlite3_clear_bindings解决方法

httpd: Syntax error on line 150 of /usr/local/apache2/conf/httpd.conf: Cannot load modules/mod_dav_svn.so into server: /usr/local/subversion/lib/libsvn_subr-1.so.0: undefined symbol: sqlite3_clear_bi...

2013-09-26 11:31:44 970

WS-DISCOVERY使用

最近项目中要用到探测webservice服务端的信息,在网上查询后了解到apache cxf提供了这部分功能,支持包在附件中。具体使用如下:将支持包放到webservice服务项目lib目录下,提供udp探测功能。客户端探测实现代码: public class WsClientDiscovery { public static void main(String[]...

2013-09-10 20:43:31 1191

原创 Linux查看端口对应的pid号

[root@localhost ~]# netstat -anpActive Internet connections (servers and established)Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name   ...

2013-09-09 17:30:01 146

原创 JIRA6.0.7安装及汉化

1.下载jira并解压 #wget http://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-6.0.7.tar.gz #tar -zxvf atlassian-jira-6.0.7.tar.gz#mv atlassian-jira-6.0.7-standalone jira 2.安装准备...

2013-09-07 00:13:30 197

原创 SecureCRT 7 注册工具

SecureCRT 7 注册工具

2013-09-02 11:08:31 458

Apache配置多服务

1.安装apache,安装步骤参考:http://enenxie.iteye.com/admin/blogs/19333952.拷贝htdocs文件夹并重命名到当前同一目录下,如mydocs3.配置conf/httpd.conf[*]增加监听端口[code="java"]## Listen: Allows you to bind Apache to specific I...

2013-08-31 10:02:58 148

原创 linux wiki搭建

apr-1.4.8.tar.gz[code="java"]cd /tmptar -zxvf apr-1.4.8.tar.gzcd apr-1.4.8./configure --prefix=/usr/local/aprmakemake install[/code]apr-util-1.5.2.tar.gz[code="java"]cd /tmptar...

2013-08-29 16:32:53 129

原创 Linux mysql安装

1.将安装包mysql-5.0.60sp1.tar.gz拷贝到/opt目录下。2.安装:[code="java"]# groupadd mysql# useradd -g mysql mysql# cd /opt# tar –zxvf /opt/mysql-5.0.60sp1.tar.gz# cd mysql-5.0.60sp1# ./configure --prefi...

2013-08-29 13:15:11 51

linux java安装

1、拷贝jdk-1_5_0_15-linux-i586.bin到/opt目录下。[code="java"]# cp /media/cdrom/JDK/jdk-1_5_0_15-linux-i586.bin /opt/# cd /opt# chmod 755 jdk-1_5_0_15-linux-i586.bin# ./jdk-1_5_0_15-linux-i586.bin[/cod...

2013-08-29 11:45:19 57

linux telnet及vsftpd配置

telnet配置1.查看telnet安装包 [code="java"][root@localhost ~]# rpm -aq | grep telnettelnet-0.17-39.el5telnet-server-0.17-39.el5 [/code]没有看到结果请安装telent-server服务2.修改安全配置文件 mv /etc/securetty...

2013-08-29 11:28:20 397

jboss-as-7.1.1.Final 修改访问端口及非本机访问

[b]在jboss standalone(单例)模式下修改访问端口[/b]${jboss_home}\standalone\configuration\standalone.xml文件中找到以下节点:[code="xml"] ...

2013-08-29 11:13:17 293

jboss-as-7.1.1.Final JNDI配置及Spring使用

[b]一、创建jboss module:[/b]1.创建module目录在${jboss_home}\modules\目录下新建com\oracle\main目录。2.创建module.xml文件,文件内容为:[code="xml"] ...

2013-08-29 10:41:39 132

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除