摘要: 安装:yum install ansible -y 编辑host文件:vim /etc/ansible/hosts 10.17.222.126 ansible_port=22 ansible_user=root ansible_ssh_pass=123456 第一次连接失败: vim /etc/an 阅读全文
posted @ 2020-12-03 17:37 非洲老野驴 阅读(60) 评论(0) 推荐(0)
摘要: 环境:centos7 通外网 备份:mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup 下载:wget -O /etc/yum.repos.d/CentOS-Base.repo http://mi 阅读全文
posted @ 2020-12-03 15:23 非洲老野驴 阅读(90) 评论(0) 推荐(0)
摘要: 第一步:workstatic 设置 vi编辑网卡 ip addr 查看网卡编号(ifconfig命令可能不支持) vi /etc/sysconfig/network-scripts/ 第四步:重启网卡 service network restart 第五步:在/etc/sysconfig/netwo 阅读全文
posted @ 2020-10-21 21:58 非洲老野驴 阅读(103) 评论(0) 推荐(0)
摘要: 第一步:启动需要安装VMware Tools的虚拟机,然后点击VMware左上角菜单栏第二步:创建挂载点目录,在命令行输入:mkdir /mnt/cdrom (确保为空目录)第三步:通过mount命令,挂载光驱mount -t iso9660 /dev/cdrom /mnt/cdrom/ 第四步:查 阅读全文
posted @ 2020-10-21 13:53 非洲老野驴 阅读(82) 评论(0) 推荐(0)