摘要: 1 #!/bin/bash 2 # Author : standby 3 # Date : 2017-05-12 4 # Description : Deploy something. 5 6 . /etc/init.d/functions 7 8 # Usage... 9 function Usage() 10 { 11 ech... 阅读全文
posted @ 2017-05-12 22:54 lixin[at]hitwh 阅读(199) 评论(0) 推荐(0) 编辑
摘要: 1 #!/bin/bash 2 # chkconfig: 2345 40 98 3 # description: Start/Stop Nginx server 4 5 path=/application/nginx/sbin 6 pid=/application/nginx/logs/nginx.pid 7 RETVAL=0 8 9 . /etc/init.d/funct... 阅读全文
posted @ 2017-05-11 23:56 lixin[at]hitwh 阅读(390) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bash # Author : standby@gmail.com # Date : 2018-02-27 NGX_CONF="/usr/local/nginx/conf/nginx.conf" # Get the dev which contains ./liveroot/ function get_point() { arr=(`df ... 阅读全文
posted @ 2017-05-11 23:49 lixin[at]hitwh 阅读(278) 评论(0) 推荐(0) 编辑
摘要: 1 log_format main '"someTag" "versionInfo" "$remote_addr" "$host" "$time_iso8601" ' 2 '"$request_method" "$server_port" "$request_uri" "$server_protocol" ' 3 '... 阅读全文
posted @ 2017-05-11 23:35 lixin[at]hitwh 阅读(135) 评论(0) 推荐(0) 编辑
摘要: ATS-6 的round_robin可以有4种算法可以选择 true true Traffic Server goes through the parent cache list in a round robin-based on client IP address. 按照客户端IP进行轮训,如果都 阅读全文
posted @ 2017-05-11 23:27 lixin[at]hitwh 阅读(1041) 评论(0) 推荐(0) 编辑
摘要: ping 返回的TTL数值代表什么? 查看一共经历几跳路由 查看返回的TTL 64 - 6 = 58 已知经过6跳路由,那么我们尝试设置ttl为6进行试验: 已知经过6跳路由,那么我们尝试设置ttl为7进行试验: 阅读全文
posted @ 2017-05-11 23:24 lixin[at]hitwh 阅读(7676) 评论(0) 推荐(0) 编辑
摘要: 1 # -*- coding: UTF-8 -*- 2 import smtplib 3 from email.mime.text import MIMEText 4 5 mailto_list = ['hitwh_Gypsy@126.com','hitwh_Gypsy@163.com','hitwh_Gypsy@aliyun.com','1027179157@qq.com'] 6... 阅读全文
posted @ 2017-05-11 23:18 lixin[at]hitwh 阅读(256) 评论(0) 推荐(0) 编辑
摘要: 收集服务器网卡和IP信息 Python2环境 Python3环境 阅读全文
posted @ 2017-05-05 15:18 lixin[at]hitwh 阅读(366) 评论(0) 推荐(0) 编辑
摘要: Parent Proxy Configuration Origin Server Connect Attempts 参考:https://docs.trafficserver.apache.org/en/6.2.x/admin-guide/files/records.config.en.html 阅读全文
posted @ 2017-05-04 21:25 lixin[at]hitwh 阅读(1260) 评论(0) 推荐(0) 编辑
摘要: 字段解释 Cache Result Codes logs_xml.config 阅读全文
posted @ 2017-05-01 21:44 lixin[at]hitwh 阅读(1817) 评论(0) 推荐(0) 编辑