摘要: docker中 启动所有的容器命令 docker start $(docker ps -a | awk '{ print $1}' | tail -n +2) docker中 关闭所有的容器命令 docker stop $(docker ps -a | awk '{ print $1}' | tai 阅读全文
posted @ 2021-12-07 18:00 WangXiaopang 阅读(56) 评论(0) 推荐(0) 编辑
摘要: 一、安装前的一些基础优化 1、优化镜像源 [root@wxw ~]# rm -fr /etc/yum.repos.d/* curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo [r 阅读全文
posted @ 2020-11-18 16:50 WangXiaopang 阅读(118) 评论(0) 推荐(0) 编辑
摘要: 使用yum安装 yum install epel-release -y yum install ansible –y 使用pip(python的包管理模块)安装 pip install ansible #如果没pip,需先安装pip. yum可直接安装: yum install python-pip 阅读全文
posted @ 2020-11-17 17:58 WangXiaopang 阅读(57) 评论(0) 推荐(0) 编辑
摘要: 一、 准备台机器 配置两块网卡 net.ifnames=0 biosdevname=0 修改网卡名 eth0 两块网卡 NAT 模拟公网 LAN 区段 模拟局域网(内网)172.16.1.0/24 网卡配置 eth0 TYPE=Ethernet BOOTPROTO=none NAME=eth0 DE 阅读全文
posted @ 2020-11-05 15:44 WangXiaopang 阅读(163) 评论(0) 推荐(0) 编辑
摘要: mysql安装步骤 一、安装前的一些基础优化 1、优化镜像源 [root@mysqlJX ~]# rm -fr /etc/yum.repos.d/* curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Ce 阅读全文
posted @ 2020-06-11 15:37 WangXiaopang 阅读(207) 评论(0) 推荐(0) 编辑
摘要: zabbix agent(数据采集)— zabbix server(数据分析|报警)— 数据库(数据存储)1{print $6}'|grep LISTEN|wc l UserParameter=TIME_WAIT,netstat ant|awk 'NR 1{print $6}'|grep TIME_ 阅读全文
posted @ 2020-05-16 18:57 WangXiaopang 阅读(184) 评论(0) 推荐(0) 编辑
摘要: 一、 监控知识基本概述 1.为什么要使用监控 1.对系统不间断实时监控 2.实时反馈系统当前状态 3.保证服务可靠性安全性 4.保证业务持续稳定运行 2.如何进行监控,比如我们需要监控磁盘的使用率 1.如何查看磁盘使用率 df h 2.监控磁盘的那些指标 block、 inode 3.如何获取具体的 阅读全文
posted @ 2020-05-16 18:48 WangXiaopang 阅读(133) 评论(0) 推荐(0) 编辑
摘要: Git 、Jenkins (三)Jenkins 安装部署 Git 、Jenkins (三)Jenkins 安装部署 一、jenkins安装 Jenkins 插件离线包地址 浏览器访问:http://10.0.0.15:8080 二、Jenkins主要目录 三、构建项目 1.创建一个自由风格的项目 2 阅读全文
posted @ 2020-04-24 15:29 WangXiaopang 阅读(277) 评论(0) 推荐(0) 编辑
摘要: Git 、Jenkins (二)Gitlub安装部署 一、安装GitHub 方法一: [root@git01 ~]# yum install -y policycoreutils-python #安装依赖 #上传 rpm包 gitlab-ce-12.0.3-ce.0.el7.x86_64.rpm [ 阅读全文
posted @ 2020-04-24 15:27 WangXiaopang 阅读(238) 评论(0) 推荐(0) 编辑
摘要: Git 、Jenkins (一)Git基础 一、Git 1.Git安装 1)系统环境准备 2) git 安装部署 3)git 初始化 二、 Git常规使用 1.Git的工作区、暂存区和版本库的含义 工作区: 就是你在电脑里能看到的目录。 暂存区: 英文叫stage, 或index。一般存放在 ".g 阅读全文
posted @ 2020-04-21 11:07 WangXiaopang 阅读(280) 评论(0) 推荐(0) 编辑