摘要:
k8s基于containerd安装yum update -y 升级系统(master和work节点都需要配置)1、关闭防火墙:systemctl stop firewalldsystemctl disable firewalld 2、关闭selinux:(master和work节点都需要配置)sed 阅读全文
摘要:
from netmiko import ConnectHandler sw={ 'device_type':'cisco_ios_telnet', 'ip':'10.122.77.180', 'username':'cisco', 'password':'cisco' } with ConnectH 阅读全文
摘要:
华为堆叠配置交换机A:stack enablestack slot 0 renumber 1stack slot 1 priority 200stack reserved-vlan 4093stack timer mac-address switch-delay 10 interface stack 阅读全文
摘要:
var Wechat = { token: null, to: null, message: null, parse_mode: null, sendMessage: function() { var params = { msgtype: "markdown", chat_id: Wechat.t 阅读全文
摘要:
1、 被监控服务器上安装zabbix-agentyum install zabbix-agentsystemctl start zabbix-agentsystemctl enabel zabbix-agent 2、编写脚本 vim /tmp/tcp_status.sh #!/bin/bash tc 阅读全文
摘要:
dhcp集群搭建一、两台centos7安装dhcp服务,并设定开机自启yum install dhcp -ysystemctl enable dhcpd二、编辑dhcpd.conf配置文件1、primary服务器:vim /etc/dhcp/dhcpd.conf ddns-update-style 阅读全文
摘要:
两台服务为例,两台同时安装mariadb,要求版本一致,两台yum install mariadb* -y ,初始化mysql_secure_installation主服务器1、vim /etc/my.conf[mysqld]log-bin=mysql-bin 开启二进制日志server-id=1 阅读全文
摘要:
一、安装docker-composecurl -L https://get.daocloud.io/docker/compose/releases/download/1.25.0/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker 阅读全文
摘要:
一、下载相关的镜像1、docker pull zabbix/zabbix-server-mysql:centos-latest zabbix-server软件2、docker pull mysql:latest 数据库(尽量用最新的数据库)3、docker pull lh438369/zabbix- 阅读全文
摘要:
DHCPv6中继配置 1、R1配置 ipv6 dhcpv6 pool pool1 address prefix 2002:1:1:1::/64 excluded-address 2002:1:1:1::1 to 2002:1:1:1::10 dns-server 3003:1:1:1::1 dns- 阅读全文