摘要: 请参考链接: 链接加密,获取密码请加VX:MJQ2050566682 博主创作不易,感谢打赏! 阅读全文
posted @ 2022-04-09 20:43 汝南 阅读(64) 评论(0) 推荐(0)
摘要: 1、esxcli创建虚拟标准交换机 esxcli network nic list esxcli network vswitch standard add --vswitch-name=vSwitch1 esxcli network vswitch standard add --vswitch-na 阅读全文
posted @ 2021-11-03 08:59 汝南 阅读(359) 评论(0) 推荐(0)
摘要: PowerCLI安装完成之后,以管理员身份运行 get-executionpolicy 查看状态确实为Restricted set-executionpolicy 将属性从Restricted更改为remotesigned 再次启动,连接主机 connect-viserver 10.11.233.2 阅读全文
posted @ 2021-11-03 08:49 汝南 阅读(120) 评论(0) 推荐(0)
摘要: 1、yum install dhcp tftp-server httpd syslinux xinetd net-tools -y2、编辑/etc/xinetd.d/tftp service tftp { socket_type = dgram protocol = udp wait = yes u 阅读全文
posted @ 2021-08-28 11:25 汝南 阅读(89) 评论(0) 推荐(0)
摘要: ansible all -m shell -a "lldptool -t -n -i enp60s0f1 | grep Ifname" ansible all -m shell -a "lldptool -t -n -i enp60s0f1 | grep JLJY | grep -v dT" 阅读全文
posted @ 2021-08-28 10:40 汝南 阅读(102) 评论(0) 推荐(0)
摘要: 以xfs格式挂载sdb到/home #格式化除sda外的所有磁盘 i=1 j=1 for disk in `fdisk -l | grep "/dev/sd*"|awk '{if($2~/sd/ && $2!="/dev/sda:") print substr ($2,0,length($2)-1) 阅读全文
posted @ 2020-08-20 12:37 汝南 阅读(202) 评论(0) 推荐(0)
摘要: 添加用户 cat users.csv 1,tom 2,jack 3,lucy 4,jim 5,lose 6,lili cat add_user.sh #!/bin/bash input=users.csv while IFS=',' read -r userid name do echo "addi 阅读全文
posted @ 2020-08-20 11:54 汝南 阅读(89) 评论(0) 推荐(0)
摘要: 惠普 lldpad -d for i in `ls /sys/class/net/ | grep 'eth\|ens\|eno\|p\|enp\|em'` ; do echo "enabling lldp for interface: $i" ; lldptool set-lldp -i $i ad 阅读全文
posted @ 2020-08-20 11:48 汝南 阅读(500) 评论(0) 推荐(0)
摘要: 接前面内容master,主要修改zone参数内的allow-transfer项目 [root@master ~]# cat /etc/named.conf options { listen-on port 53 { any; }; listen-on-v6 port 53 { ::1; }; dir 阅读全文
posted @ 2020-08-08 21:53 汝南 阅读(321) 评论(0) 推荐(0)
摘要: centos7.4系统下搭建dns [root@master ~]# cat /etc/redhat-release CentOS Linux release 7.4.1708 (Core) [root@master ~]# yum install bind bind-utils -y 修改dns主 阅读全文
posted @ 2020-08-08 19:25 汝南 阅读(116) 评论(0) 推荐(0)