自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

HAWQ安装步骤

HAWQ安装步骤# install document with yumsed -i 's/tsflags=nodocs//g' /etc/yum.conf# install jdkyum install -y wget# 没有安装包时取安装包wget --no-check-certificate --no-cookies --header "Cookie: orac...

2016-01-10 11:57:49 405

原创 CentOS7 minimal安装erLang和RabbitMQ

CentOS7 minimal安装erLang和RabbitMQ #准备 vi /etc/hosts127.0.0.1yourhostname # 安装yum install -y wget gcc glibc-devel make ncurses-devel openssl-devel autoconf && wget http://dl.fe...

2016-01-10 11:53:34 148

原创 Spring-xd安装

单节点安装,带取jdkwget --no-check-certificate --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u66-b17/jdk-8u66-linux-x64.rpm &&am...

2016-01-07 14:25:02 167

Centos7下openresty自启动配置

vi /usr/lib/systemd/system/nginx.service[Service]Type=forkingPIDFile=/usr/local/openresty/nginx/logs/nginx.pidExecStartPre=/usr/local/openresty/nginx/sbin/nginx -tExecStart=/usr/local/openr...

2016-01-07 14:22:26 2866

原创 yum install sbt

curl https://bintray.com/sbt/rpm/rpm > bintray-sbt-rpm.repomv bintray-sbt-rpm.repo /etc/yum.repos.d/yum install sbtsbt --version 

2015-12-15 08:08:16 538

原创 kafka自启动脚本

#!/bin/sh## chkconfig: 345 99 01# description: Kafka## File : Kafka## Description: Starts and stops the Kafka server#source /etc/rc.d/init.d/functionsKAFKA_HOME=/opt/kafkaK...

2015-12-14 10:20:46 663

原创 魔兽世界mac版客户端台服国服互转简单方法

在安装目录的WTF路径下找到Config.wtf,用文本编辑打开,找到:SET locale "zhTW"SET installLocale "zhTW" 这是访问台服的配置,注:这两行不在一起,移动到第一行方便修改。SET locale "zhCN"SET installLocale "zhCN" 这是访问国服使用的配置。 第一次修改完打开启动器时可能需要下载...

2013-11-02 22:37:56 5477

原创 关闭chrome和safari页面弹性效果的办法

使用CSShtml {  height: 100%;  width: 100%;  overflow: hidden;} body {  height: 100%;  width: 100%;  overflow: auto;} 

2013-05-05 15:48:10 2269

原创 编译WebRTC时,svn报错

If you are getting the "Mac OS X server certificate verification failed: issuer is not trusted issue" error there is a simple fix which has been found to work: In Mac OS X open a terminal: s...

2013-04-19 20:16:46 97

原创 tomcat组合nginx使用小结[ZT]

http://www.myexception.cn/software-architecture-design/411802.html解决了我的大问题。

2012-09-06 20:05:34 70

原创 新开发模式、新架构的准备工作

一、资料收集1.   centos6下载镜像2.   linux下nginx+svn3.   通过jsvc将tomcat6添加到linux服务4.   centos下安装vsftpd,vsftpd出现500 OOPS: cannot change directory的解决办法5.   centos最小化安装系统后的基本调优及安全设置6.   CentOS 6 最小化安装之后...

2012-06-23 14:37:30 104

原创 在Mac上安装Nginx

1. 安装PCREDownload latest PCRE. After download go to download directory from terminal. $ cd ~/Download $ tar xvzf pcre-8.12.tar.gz $ cd pcre-8.12 $ sudo ./configure --prefix=/usr/local $...

2012-05-20 09:51:26 167

原创 WP7 StatusBar和ApplicationBar透明

MainPage.xaml中: StatusBar配置:    shell:SystemTray.IsVisible="True"     shell:SystemTray.Opacity="0.5"  ApplicationBar配置:    <shell:ApplicationBar IsVisible="True" IsMenuEnabled="T...

2012-05-01 11:11:41 102

原创 使用NodeJs创建最简单的https服务

var https = require('https');var fs = require('fs');//install openssl, and run//openssl genrsa -out privatekey.pem 1024 //openssl req -new -key privatekey.pem -out certificate.csr//openssl...

2012-04-14 19:23:05 140

原创 WPD device manager正在使用你的裝置

Win7系统下,Mango跟ZUNE连接提示“WPD device manager正在使用你的裝置”,此时无法部署app,请检查进程中是否包含“PowerDVD...”,终止这些进程后就行了。

2012-02-19 18:38:34 199

JAX-WS与Spring Annotation配合中的关键

@WebService(targetNamespace = "http://xxx.cn/tp")@SOAPBinding(style = SOAPBinding.Style.RPC)public class PeopleI extends SpringBeanAutowiringSupport{ @Autowired private IPeopleService peopl...

2011-12-26 10:59:50 84

原创 JQuery和flot插件结合动态显示服务器CPU及内存状态

JSP代码:<div> <div id="cpuChart" style="width: 312px; height: 100px; float: left; margin: 0px; border: solid black 1px;"></div> <span>CPU&Mem</span>

2011-12-15 10:30:08 262

原创 Spring Junit读取WEB-INF下的配置文件

@RunWith(SpringJUnit4ClassRunner.class)@ContextConfiguration(locations = "file:WebContent/WEB-INF/applicationContext.xml")public class FileProcessorTest { @Autowired private FileProcessor...

2011-09-27 15:14:13 113

原创 解决IE在URL中对中文做的手脚

使用AjaxUpload上传图片后,需要将图片的URL返回到页面来,如果图片文件名中有中文,在IE接收到的json中,中文都变成了乱码,FF、Chrome、Safari都正常。 这时只要在java代码中加入下面两句:response.setCharacterEncoding("UTF-8");response.setContentType("text/html; charset=UT...

2011-09-05 10:46:22 199

原创 离线升级WP7至mango7720

准备下载离线大法中的所有软件包,下载Connection Setup.xap和NativeAccess.xap准备好xap安装工具,我用的是SDK自带的。PC区域设置是中文,不要改成英文。小猪的离线大法http://bbs.fengbao.com/thread-466636-1-1.html7720越狱功率http://bbs.obaoz.com/forum.php?mo...

2011-09-03 20:06:16 155

原创 ImageMagick图片处理的命令行解决方案

使用ImageMagick和JMagick对上传图片进行缩放和裁切处理时,经常引起tomcat崩溃,可采用下述方案解决。对原图片首先按短边压缩至要求的像素数,然后再对处理结果进行取中裁切。 public class ImageUtil { @SuppressWarnings({ "rawtypes", "unchecked" }) public static boolea...

2011-09-01 15:22:35 188

原创 使用ZUNE从marketplace安装wp7 app的方法

1. 下载安装telex代理软件,启动,将ie代理设置好(我用的是chrome和switchy,很方便)。2. 手机连接到PC,启动ZUNE。3. 然后在ZUNE的marketplace下选择app,下载安装。 有个不爽的地方是:以前已经下载过的app无法从zune下载。...

2011-08-30 22:04:54 165

原创 Solr与mmseg4j部署

一. solr安装1. 下载solr    http://www.apache.org/dyn/closer.cgi/lucene/solr/2. apache-solr-1.4.1.zip解压,复制dist/apache-solr-1.4.1.war到TOMCAT_HOME/webapps下,改名为solr.war,启动tomcat;3. 在控制台看到启动完毕关闭tomcat,有...

2011-08-23 10:12:29 105

原创 WP7下异步通讯中,总是取回同样内容的处理办法

WP7异步通信很好处理,按照微软给出的实例即可,见下面链接的实例代码:http://msdn.microsoft.com/zh-cn/library/system.net.httpwebrequest.begingetresponse.aspx但是,由于缓存的问题,每次取同样URL的网页时,内容不变。这个问题有三个解决方案,可以任选其一。1. URL中带唯一性标识,比如GUID2. 后台服务中将r...

2011-08-02 15:03:30 79

原创 MySQL server has gone away

 When you see “MySQLserver has gone away” at console, please modify:        max_allowed_packet=32Min my.ini. thenrestart mysql service.         导入数据库时,一旦console报错“MySQL server has gone...

2011-08-01 15:23:59 60

JOIDS部署说明

 1.   使用SVN下载JOIDS源代码至D:\jos, http://openid-server.googlecode.com/svn/trunk/2.   准备maven,http://maven.apache.org/ 解压到D:\ apache-maven-3.0.3\3.   下载Calendar,http://www.dynarch.com/projects/...

2011-08-01 15:08:08 194

空空如也

空空如也

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

TA关注的人

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