上一页 1 2 3 4 5 6 7 8 9 ··· 12 下一页
摘要: 安装tree命令 yum -y install tree 测试 tree /tmp [root@wyx ~]# tree /tmp/ /tmp/ ├── anaconda.log ├── hsperfdata_root │ └── 2501 ├── ifcfg.log ├── ks-script-j 阅读全文
posted @ 2019-08-24 15:55 西伯利亚的狼 阅读(204) 评论(0) 推荐(0) 编辑
摘要: 终端 1、多个终端 连接linux的客户端可以理解为终端。例如 仿真终端 gnome桌面 ,kde桌面的konsole terminale。 远程链接终端 xshell crt等链接工具 命令:tty查看终端 2、不同终端之间的通讯 [root@wyx wyx]# echo 123 > /dev/p 阅读全文
posted @ 2019-08-20 23:29 西伯利亚的狼 阅读(487) 评论(0) 推荐(0) 编辑
摘要: 关闭防火墙并设置开机不启动 systemctl status firewalld.service #查看firewalld状态systemctl stop firewalld #关闭systemctl start firewalld #开启systemctl disable firewalld #开 阅读全文
posted @ 2019-08-18 18:23 西伯利亚的狼 阅读(395) 评论(0) 推荐(0) 编辑
摘要: 网卡命名规则 CENTOS6的网卡命名方式:它会根据情况有所改变而非唯一且固定,在CENTOS6之前,网络接口使用连续号码命名: eth0、 eth1等,当增加或删除网卡时,名称可能会发生变化 CENTOS7采用dmidecode采集命名方案,以此来得到主板信息;它可以实现网卡名字永久唯一化(dmi 阅读全文
posted @ 2019-08-17 22:11 西伯利亚的狼 阅读(330) 评论(0) 推荐(0) 编辑
摘要: 一、安装 https://www.cnblogs.com/wudequn/p/11001382.html https://github.com/medcl/elasticsearch-analysis-ik/(官方文档) 二、配置 IKAnalyzer.cfg.xml 这个是配置文件,其他的都是自带 阅读全文
posted @ 2019-08-03 15:25 西伯利亚的狼 阅读(1548) 评论(0) 推荐(0) 编辑
摘要: 初始化实例 nuget安装 1、单点连接 2、连接池连接 3、指定索引 可以通过ConnectionSettings使用.DefaultIndex(),来指定默认索引。当一个请求里没有指定具体索引时,NEST将请求默认索引。 新增 删除 根据ID删除 删除多条 从新指定索引 修改 更新多条 查询 多 阅读全文
posted @ 2019-08-03 01:51 西伯利亚的狼 阅读(3160) 评论(1) 推荐(0) 编辑
摘要: 什么是TTL RabbitMQ的TTL全称为Time-To-Live,表示的是消息的有效期。消息如果在队列中一直没有被消费并且存在时间超过了TTL,消息就会变成了"死信" (Dead Message),后续无法再被消费了。设置TTL有两种方式: 第一种是声明队列的时候,在队列的属性中设置,这样该队列 阅读全文
posted @ 2019-07-18 23:45 西伯利亚的狼 阅读(4315) 评论(1) 推荐(2) 编辑
摘要: logstash配置 官方文档:https://www.elastic.co/guide/en/logstash/current/index.html https://www.cnblogs.com/wudequn/p/12983887.html 在config/logstash.yml中 http 阅读全文
posted @ 2019-07-14 17:20 西伯利亚的狼 阅读(716) 评论(0) 推荐(0) 编辑
摘要: 学习网站 https://discuss.elastic.co https://github.com/elastic 配置 server.port: 5601 server.host: "localhost" elasticsearch.hosts: ["http://localhost:9200" 阅读全文
posted @ 2019-07-14 16:16 西伯利亚的狼 阅读(306) 评论(0) 推荐(0) 编辑
摘要: 跨域 elasticsearch-head连接es时会提示连接失败,有可能就是没有开启跨域 http.cors.enabled 是否支持跨域,默认为false http.cors.allow-origin 当设置允许跨域,默认为*,表示支持所有域名,如果我们只是允许某些网站能访问,那么可以使用正则表 阅读全文
posted @ 2019-07-14 14:52 西伯利亚的狼 阅读(2758) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 12 下一页