centos.repo
[root@localhost ~]# vi centos.repo #输入以下内容并保存
[AppStream]
name=AppStream
baseurl=file:///media/AppStream
gpgcheck=0
enabled=1
[BaseOS]
name=BaseOS
baseurl=file:///media/BaseOS
gpgcheck=0
enabled=1
option routers 192.168.15.254;
sudo dnf install hello
yun -y install hello
yum install nmap

浙公网安备 33010602011771号