上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 16 下一页
摘要: linux安装oracle1.增大swap空间,内存大于8G后swap跟内存同等大小即可 mkdir /home/swap cd /home/swap dd if=/dev/zero of=swapfile bs=1G count=31 mkswap swapfile ... 阅读全文
posted @ 2015-01-22 13:42 lichmama 阅读(205) 评论(0) 推荐(0) 编辑
摘要: 完成Tomcat集群搭建后,我们只需修改两、三处即可实现动静分离。1.将原来httpd.conf中JkMount的路由规则都放入conf/extra/httpd-urimap.conf中:/*=loadbalancer/jkstatus=jkstatus!/*.css=loadbalancer!/*... 阅读全文
posted @ 2015-01-16 20:04 lichmama 阅读(903) 评论(0) 推荐(0) 编辑
摘要: 详情参考:http://tomcat.apache.org/tomcat-7.0-doc/apr.htmlhttp://www.365mini.com/page/tomcat-connector-mode.htm操作环境:rhel6.3 x86_x64、 tomcat7.0.42tomcat con... 阅读全文
posted @ 2015-01-15 09:49 lichmama 阅读(565) 评论(0) 推荐(0) 编辑
摘要: 详情参考:http://www.365mini.com/page/tomcat-manager-user-configuration.htm修改$CATALINA_BASE/conf/tomcat-user.xml如下: that surrounds them.--> ... 阅读全文
posted @ 2015-01-14 15:52 lichmama 阅读(470) 评论(0) 推荐(0) 编辑
摘要: URI 统一资源标识符URL 统一资源定位符URN 统一资源名称URI是一种资源定位的概念,而URL和URN是其具体的实现。URL和URN的主要区别在于位置相关性。举例说明:http://www.baidu.com/index.html 这是一个标准的URL,由[协议]://[主机]/[资源路径]组... 阅读全文
posted @ 2015-01-05 16:07 lichmama 阅读(264) 评论(0) 推荐(0) 编辑
摘要: 逛百度知道看到有个人提问:http://zhidao.baidu.com/question/1447092283140740700C写HTTP应用只有疯子才会老老实实的SOCKET编程吧?我后来还是没给他写,因为就算是libcurl我也没下载安装。下面的哥们用C#几行代码就搞定了,只需引入个类库一切... 阅读全文
posted @ 2015-01-03 02:58 lichmama 阅读(2832) 评论(0) 推荐(0) 编辑
摘要: 下载地址:http://pan.baidu.com/s/1bnGU5Nx安装方法:将下载后的WIAAutSDK.zip解压,复制wiaaut.dll到C:\Windows\System32,注册组件"regsvr32 wiaaut.dll"测试代码:'save as wia-installing-t... 阅读全文
posted @ 2015-01-01 22:43 lichmama 阅读(2204) 评论(0) 推荐(0) 编辑
摘要: SOAP协议主要是XML交互,所以其访问过程类似于这样:wget --header='Content-Type: text/xml;charset=utf-8' --post-data=' ' http://remotehost:8080/webservice/dosometh... 阅读全文
posted @ 2014-12-30 12:51 lichmama 阅读(522) 评论(0) 推荐(0) 编辑
摘要: web1和web2的部署可参考我之前的文章《Tomcat集群搭建》,这里就省去该过程了。#安装haproxy-1.4.17tar -zxf haproxy-1.4.17.tar.gzcd haproxy-1.4.17/make TARGET=linux26 PREFIX=/usr/local/hap... 阅读全文
posted @ 2014-12-25 16:00 lichmama 阅读(1187) 评论(0) 推荐(0) 编辑
摘要: 参考链接:http://www.cnblogs.com/morvenhuang/p/4184262.html#配置redis主从复制:#安装redis-2.8.12master 192.168.1.1 6379slave 192.168.1.2 6379#修改slave端的配置(redis.con... 阅读全文
posted @ 2014-12-25 14:59 lichmama 阅读(742) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 16 下一页