摘要: 购买阿里云512M内存ECS后,mysql有时候会自动关闭,停止运行解决办法:a,优化mysql配置,因为自己安装的是mysql 5.6,而从5.6开始,mysql安装包中不再包含my-small.cnf配置文件。该文件是为内存小于64M的服务器设计的配置参数。所以,只需将my.cnf中的参数配置成... 阅读全文
posted @ 2014-07-08 13:25 ustory 阅读(1834) 评论(0) 推荐(0) 编辑
摘要: find /xxx-name"*"| xargs grep "某内容"/xxx表示路径,"*"表示在含有某关键字名字下的文件中查找,无要求可写为"*“.find ./-name"*"| xargs grep "Temporary_random"表示当前目录下搜索含有Temporary_random内... 阅读全文
posted @ 2014-06-16 13:59 ustory 阅读(369) 评论(0) 推荐(0) 编辑
摘要: 背景:客户支付成功,无法返回支付结果=====================================查找原因,追踪代码:verified = AlipayNotify.verify(params,alipayConfig.sign_type,alipayConfig.partner,ali... 阅读全文
posted @ 2014-06-08 13:45 ustory 阅读(288) 评论(0) 推荐(0) 编辑
摘要: 1.【ProductStoreFacility】获得店铺绑定的仓库列表2.遍历仓库,调用【getInventoryAvailableByFacility】,传入[facilityId : facilityId, productId : productId]3.不断叠加获取的【availableToP... 阅读全文
posted @ 2014-05-16 16:53 ustory 阅读(199) 评论(0) 推荐(0) 编辑
摘要: 1.下载eclipse安装包 http://mirror.neu.edu.cn/eclipse/technology/epp/downloads/release/kepler/SR2/eclipse-standard-kepler-SR2-linux-gtk-x86_64.tar.gz2.修改ecl... 阅读全文
posted @ 2014-05-03 11:33 ustory 阅读(199) 评论(0) 推荐(0) 编辑
摘要: 1.下载jdk压缩包: http://download.oracle.com/otn-pub/java/jdk/7u55-b13/jdk-7u55-linux-x64.tar.gz2.解压缩jdk3.设置环境变量(隐藏文件).bashrc文件最后添加3个参数: export JAVA_HOME=/h... 阅读全文
posted @ 2014-05-03 11:17 ustory 阅读(119) 评论(0) 推荐(0) 编辑
摘要: 在windows上压缩的文件,是以系统默认编码中文来压缩文件。由于zip文件中没有声明其编码,所以linux上的unzip一般以默认编码解压,中文文件名会出现乱码。通过unzip行命令解压,指定字符集unzip -O CP936 xxx.zip (用GBK, GB18030也可以)有趣的是unzip... 阅读全文
posted @ 2014-05-03 02:39 ustory 阅读(242) 评论(0) 推荐(0) 编辑
摘要: 映射:1.开启apache中的proxy模块(proxy.conf,proxy.load,proxy_http.load)2.配置apache配置文件,添加 ServerName ××.××.cn ProxyPreserveHost On ProxyPass / http://××:8090/eco... 阅读全文
posted @ 2014-04-17 14:27 ustory 阅读(1230) 评论(0) 推荐(0) 编辑
摘要: 部署在云主机上的网站有时不能访问,使用内网地址可以访问原因是云主机端口没有开启 阅读全文
posted @ 2014-04-17 10:14 ustory 阅读(165) 评论(0) 推荐(0) 编辑
摘要: birt报表中图标部分的中文显示为框框,其他部分中文显示正常解决办法:修改jdk中的字体设置/jdk1.6.0_13/jre/lib /fonts/fonts.dir1.将宋体字体copy到/jdk1.6.0_13/jre/lib/fonts2.第一行数字加1;3.最后一行添加simsun.ttc ... 阅读全文
posted @ 2014-04-10 11:29 ustory 阅读(393) 评论(0) 推荐(0) 编辑