摘要:
1、使用桥接模式,确保虚拟机目前可联网 因为我们要使用目前的配置,使得目前ip为固定ip,确保ip无冲突 2、查看目前ip配置 ip addr show # 查看ip,找到虚拟机目前联网的网络接口, 我的是【ens33】 ip addr show ens33 # 查看 , 确定 ip和子网掩码【17 阅读全文
摘要:
ip a # 查看ip2: ens33: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 link/ether 00:0c:29:d7:7e:d4 brd ff: 阅读全文
摘要:
1、sudo yum install 安装软件经常需要切换root用户或者sudo。 没有设置sudo报错: xx is not in the sudoers file. This incident will be reported. 2、centos设置sudo su - # 切换root vis 阅读全文