会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
馳騁衿琾
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
···
8
下一页
2018年7月16日
Freemarker模板语法
摘要: 1.1.1. 访问map中的key ${key} 1.1.2. 访问pojo中的属性 Student对象。学号、姓名、年龄 ${key.property} 1.1.3. 取集合中的数据 <#list studentList as student> ${student.id}/${studnet.na
阅读全文
posted @ 2018-07-16 17:16 馳騁衿琾
阅读(168)
评论(0)
推荐(0)
2018年7月13日
ActiveMQ安装
摘要: 1.1. 安装环境: 1、需要jdk 2、安装Linux系统。生产环境都是Linux系统。 1.2. 安装步骤 第一步: 把ActiveMQ 的压缩包上传到Linux系统。 第二步:解压缩。 第三步:启动。 使用bin目录下的activemq命令启动: [root@localhost bin]# .
阅读全文
posted @ 2018-07-13 14:34 馳騁衿琾
阅读(115)
评论(0)
推荐(0)
2018年7月12日
Solr简单使用
摘要: 1.添加索引 2.删除 SolrServer solrServer = new HttpSolrServer("http://192.168.25.154:8080/solr"); solrServer.deleteByQuery("title:change.me"); solrServer.com
阅读全文
posted @ 2018-07-12 14:26 馳騁衿琾
阅读(125)
评论(0)
推荐(0)
Solr坏境搭建
摘要: 1.1. 搭建步骤 第一步:把solr 的压缩包上传到Linux系统 第二步:解压solr。 第三步:安装Tomcat,解压缩即可。 第四步:把dist目录下的solr.war部署到Tomcat下。 第五步:启动Tomcat解压 第六步:把/root/solr-4.10.3/example/lib/
阅读全文
posted @ 2018-07-12 14:25 馳騁衿琾
阅读(87)
评论(0)
推荐(0)
2018年7月11日
Jedis
摘要: 需要把jedis依赖的jar包添加到工程中 连接单机版 连接单机版使用连接池 spring中配置
阅读全文
posted @ 2018-07-11 10:38 馳騁衿琾
阅读(140)
评论(0)
推荐(0)
Redis集群搭建
摘要: Redis集群中至少应该有三个节点。要保证集群的高可用,需要每个节点有一个备份机。Redis集群至少需要6台服务器。 集群搭建环境 1、使用ruby脚本搭建集群。需要ruby的运行环境。 安装ruby yum install ruby yum install rubygems 2、安装ruby脚本运
阅读全文
posted @ 2018-07-11 10:31 馳騁衿琾
阅读(106)
评论(0)
推荐(0)
2018年7月6日
Redis
摘要: String: set str abc设置值 get str 获取值 del str 删除值 Hash: hset hash1 filed1 1 设置值 hget hash1 filed1 获取值 hset hash1 filed2 2,hset hash1 filed3 3 hash1中可以添加多
阅读全文
posted @ 2018-07-06 17:02 馳騁衿琾
阅读(96)
评论(0)
推荐(0)
FastDFS使用
摘要: 1.在linux系统中安装FastDFS服务image-server.7z 2.导入FastDFS jar包 fastdfs_client_v1.20.jar 3.创建配置文件fastdfs_client.conf加入tracker_server=192.168.25.133:22122 4.测试代
阅读全文
posted @ 2018-07-06 11:06 馳騁衿琾
阅读(146)
评论(0)
推荐(0)
2018年7月5日
Nginx
摘要: 1.http服务器 2.虚拟主机 3.反向代理,负载均衡 安装nginx 配置虚拟主机: /usr/local/nginx/conf/nginx.conf 一个server就是一个虚拟主机 1.通过端口访问 2.共用80端口,通过域名访问 反向代理: 启动两个tomcat: 负载均衡: 再启动一个t
阅读全文
posted @ 2018-07-05 17:49 馳騁衿琾
阅读(127)
评论(0)
推荐(0)
Dubbo
摘要: 服务层: 1.添加dubbo所需jar包 2.添加约束: xmlns:dubbo="http://code.alibabatech.com/schema/dubbo" http://code.alibabatech.com/schema/dubbo http://code.alibabatech.c
阅读全文
posted @ 2018-07-05 16:36 馳騁衿琾
阅读(120)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
···
8
下一页
公告