上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 70 下一页
摘要: 1.定制每一台Nginx服务的响应头,以便于当某台服务出现问题时能快速定位到具体的服务器 # cat nginx.conf.j2 user nginx; {# start process equal cpu cores #} worker_processes {{ ansible_processor 阅读全文
posted @ 2020-10-26 00:13 littlevigra 阅读(170) 评论(0) 推荐(0) 编辑
摘要: 1.访问变量文件 - hosts: frame remote_user: root gather_facts: no vars_files: - /testdir/ansible/testfile.txt tasks: - debug: msg: "{{key_1}}" 变量文件: [root@fr 阅读全文
posted @ 2020-10-25 13:19 littlevigra 阅读(300) 评论(0) 推荐(0) 编辑
摘要: 1.async参数值:代表了这个任务执行时间的上限值。即任务执行所用时间如果超出这个时间,则认为任务失败。此参数若未设置,则为同步执行 2.poll参数值:代表了任务异步执行时轮询的时间间隔。 loop循环使用 - hosts: frame tasks: - name: yum install vs 阅读全文
posted @ 2020-10-23 18:00 littlevigra 阅读(427) 评论(0) 推荐(0) 编辑
摘要: 1.nginx -- filebeat -- es -- kibana [root@VM-1-12-centos filebeat-6.4.3-linux-x86_64]# cat filebeat.yml filebeat.inputs: - type: log enabled: true pat 阅读全文
posted @ 2020-10-23 11:21 littlevigra 阅读(350) 评论(0) 推荐(0) 编辑
摘要: 0.禁止root登陆1.用sudo的用户登陆2.执行root的权限 3.cat /etc/ansible/hosts # Ex 2: A collection of hosts belonging to the 'webservers' group [test] 10.0.0.3 ansible_s 阅读全文
posted @ 2020-10-21 16:30 littlevigra 阅读(2476) 评论(0) 推荐(0) 编辑
摘要: 链接:https://www.imooc.com/article/17788?block_id=tuijian_wz 1. Screen工具是一个终端多路转接器,在本质上,这意味着你能够使用一个单一的终端窗口运行多终端的应用。 2. 最大的功能是可以隐藏正在前台运行的任务和恢复被隐藏的会话1. Sc 阅读全文
posted @ 2020-10-20 17:18 littlevigra 阅读(145) 评论(0) 推荐(0) 编辑
摘要: 1.[BABEL] Note: The code generator has deoptimised the styling of "unknown" as it exceeds the max of " [BABEL] Note: The code generator has deoptimise 阅读全文
posted @ 2020-10-20 14:43 littlevigra 阅读(483) 评论(0) 推荐(0) 编辑
摘要: 1.ActiveMQ 安装: ActiveMQ 官网: http://activemq.apache.org ActiveMQ5.10.x 以上版本必须使用 JDK1.8 才能正常使用。 ActiveMQ5.9.x 及以下版本使用 JDK1.7 即可正常使用。 2.What is the diffe 阅读全文
posted @ 2020-10-18 15:52 littlevigra 阅读(606) 评论(0) 推荐(0) 编辑
摘要: 1.非常重要的结论:server_name对应的是http请求头里的Host字段的值 curl.exe -H "Host: aaa" 10.210.65.73 参考:https://www.cnblogs.com/xiaoshiwang/p/11436332.html proxy_set_heade 阅读全文
posted @ 2020-10-17 21:22 littlevigra 阅读(171) 评论(2) 推荐(0) 编辑
摘要: 1.timelion .es(q='status:200',index=filebeat-testindex*,timefield=@timestamp,metric=count).label('200'),.es(q='status:502',index=filebeat-testindex*,t 阅读全文
posted @ 2020-10-03 17:01 littlevigra 阅读(1244) 评论(1) 推荐(0) 编辑
上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 70 下一页