摘要: # 安装补丁包# yum install -y conntrack ipvsadm ipset jq iptables curl sysstat libsecomp wget net-tools git vim# 禁用防火墙# systemctl stop firewalld && systemct 阅读全文
posted @ 2020-06-17 23:54 越滚越大雪球 阅读(172) 评论(0) 推荐(0)
摘要: #主机环境 #hostnamectl status Static hostname: k8s-master Icon name: computer-vm Chassis: vm Machine ID: 60943b8b8b72471c82b7e50337e0ab9e Boot ID: d5e57a9 阅读全文
posted @ 2020-06-17 23:29 越滚越大雪球 阅读(827) 评论(0) 推荐(0)
摘要: #1、收集DMZ的代理信息 #!/bin/bash#script:get_xxx_info.sh #create: 2020/06/04 #update: 2020/06/12 function get_host_info(){ HOST_NAME=$(hostname -s) HOST_IPADD 阅读全文
posted @ 2020-06-04 19:27 越滚越大雪球 阅读(577) 评论(0) 推荐(0)
摘要: aixos基础用法 <div> <button onclick="testGet()">GET请求</button> <button onclick="testPost()">POST请求</button> <button onclick="testPut()">PUT请求</button> <bu 阅读全文
posted @ 2020-05-07 23:15 越滚越大雪球 阅读(203) 评论(0) 推荐(0)
摘要: 1.安装json-server npm install -g json-server 2. 启动json-server json-server --watch db.json 3.访问验证http://localhost:3000/posts/1 获得 { "id": 1, "title": "js 阅读全文
posted @ 2020-05-07 22:37 越滚越大雪球 阅读(190) 评论(0) 推荐(0)
摘要: #1、启动firewalld服务 systemctl restart firewalld.service && systemctl enable firewalld.service #2、添加默策略zone默认为public 先添加SSH通讯IP firewall-cmd --permanent - 阅读全文
posted @ 2020-05-07 18:17 越滚越大雪球 阅读(974) 评论(0) 推荐(0)
摘要: 所有配置项都有存在的意义,而他们之间的内在关系是CMDB的重要价值体现之一,关系明确了,运维人员就能准确的找到相关实体资源,当发生故障时能够快速定位故障来源及其影响范围,从而迅速的解决各种隐患。 定义配置项关系,一般可使用两种方法: ·自上而下——通常要求企业先明确对外提供的服务目录,然后基于服务目 阅读全文
posted @ 2020-04-29 11:35 越滚越大雪球 阅读(1459) 评论(0) 推荐(0)
摘要: #在 chrony server 检查时间源同步状态 (ansible) [root@xxbgvura01 ansible]# chronyc sourcestats -v 210 Number of sources = 2 .- Number of sample points in measure 阅读全文
posted @ 2020-04-27 18:09 越滚越大雪球 阅读(635) 评论(0) 推荐(0)
摘要: 1、新编译一套python3.7.2 2、下载python安装包,制定安装的目录 3、 指定安装pipenv的环境 /usr/local/python3.7.2/bin/pip3 --proxy="10.*.*.*" install pipenv 4、通过pipenv配置pipenv 开发环境 # 阅读全文
posted @ 2020-04-27 17:58 越滚越大雪球 阅读(677) 评论(0) 推荐(0)
摘要: 加固修复建议 设置密码访问认证,可通过修改redis.conf配置文件中的"requirepass" 设置复杂密码 (需要重启Redis服务才能生效); 对访问源IP进行访问控制,可在防火墙限定指定源ip才可以连接Redis服务器; 禁用config指令避免恶意操作,在Redis配置文件redis. 阅读全文
posted @ 2020-04-27 11:53 越滚越大雪球 阅读(1180) 评论(0) 推荐(0)