04 2022 档案

摘要:1、编写脚本实现登陆远程主机。(使用expect和shell脚本两种形式) #1 安装expect[root@centos7 ~]# yum install expect -y[root@centos7 home]# vim expect2#!/usr/bin/expectset ip 192.16 阅读全文
posted @ 2022-04-24 18:05 海阔天空1122 阅读(31) 评论(0) 推荐(0) 编辑
摘要:1、自建yum仓库,分别为网络源和本地源 #1 关闭防火墙 vim /etc/selinux/config SELINUX=disabled #2 查看防火墙为关闭状态 firewall-cmd --permanent --list-port FirewallD is not running #3 阅读全文
posted @ 2022-04-17 22:20 海阔天空1122 阅读(43) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示