上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 38 下一页
摘要: - hosts: all tasks: - name: Copy Package copy: src=/usr/local/filebeat-6.2.2-linux-x86_64.tar.gz dest=/usr/local/filebeat-6.2.2-linux-x86_64.tar.gz - name: Tar Package shell: cd /... 阅读全文
posted @ 2018-03-20 10:02 缤纷世界 阅读(775) 评论(0) 推荐(0) 编辑
摘要: - hosts: all tasks: - name: copy package copy: src=/usr/local/openresty-1.13.6.1.tar.gz dest=/usr/local/openresty-1.13.6.1.tar.gz - name: tar nginx shell: cd /usr/local/;tar -zxvf... 阅读全文
posted @ 2018-03-19 16:34 缤纷世界 阅读(413) 评论(0) 推荐(0) 编辑
摘要: 安装rpm -Uvh https://mirrors.zju.edu.cn/epel/6/x86_64/epel-release-6-8.noarch.rpmyum install -y ansible 配置hostsvi /etc/ansible/hosts aly ansible_ssh_por 阅读全文
posted @ 2018-03-19 13:07 缤纷世界 阅读(192) 评论(0) 推荐(0) 编辑
摘要: 解决:Limit of total fields [1000] in index [nginx-access-log] has been exceeded" 的问题 PUT http://10.10.6.225:9200/cars/_settings { "settings": { "index.m 阅读全文
posted @ 2018-03-15 14:24 缤纷世界 阅读(1335) 评论(0) 推荐(0) 编辑
摘要: 当用户没有直接输入 www.csdn.net的时候进行 301 跳转。 引导用户到 www.csdn.net/index.html 首页。 其他动态请求打到tomcat上面。 这样的在nginx上面直接做了301 跳转。 阅读全文
posted @ 2018-02-28 10:31 缤纷世界 阅读(177) 评论(0) 推荐(0) 编辑
摘要: 把ssl on这行注释掉,ssl写在443端口后面。这样http和https的链接都可以用 阅读全文
posted @ 2018-02-28 10:29 缤纷世界 阅读(474) 评论(0) 推荐(0) 编辑
摘要: took:执行整个搜索请求耗费了多少毫秒。 /_search在所有的索引中搜索所有的类型/gb/_search在 gb 索引中搜索所有的类型/gb,us/_search在 gb 和 us 索引中搜索所有的文档/g*,u*/_search在任何以 g 或者 u 开头的索引中搜索所有的类型/gb/use 阅读全文
posted @ 2018-02-24 20:03 缤纷世界 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 一、下载地址 官网:https://www.elastic.co/cn/downloads/logstash 百度云盘: 二、安装 配置文件(配置文件放哪个目录都可以,在启动Logstash时可以指定配置文件位置) 启动(到bin目录下) ./logstash -f k_es.conf 后台运行 n 阅读全文
posted @ 2018-02-11 14:43 缤纷世界 阅读(505) 评论(0) 推荐(0) 编辑
摘要: 一、下载地址: 官方:https://www.elastic.co/cn/downloads/beats/filebeat 百度云盘:https://pan.baidu.com/s/1dvhqb0 二、安装 也可yum安装 下载和安装key文件 创建yum源文件 开始安装 三、配置 注:output 阅读全文
posted @ 2018-02-10 14:19 缤纷世界 阅读(523) 评论(0) 推荐(0) 编辑
摘要: local args = {} args["name"] = "张三" args["sex"] = "男" local captureRes; if ngx.var.request_method == "POST" then captureRes = ngx.location.capture('/dsideal_yy/test', {method = ngx.HTTP_POST, he... 阅读全文
posted @ 2018-02-01 10:02 缤纷世界 阅读(373) 评论(0) 推荐(0) 编辑
上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 38 下一页