<<<第十三单元练习>>>
1.在server主机中配置yum仓库,并安装gcc编辑器
mount /rhel-server-7.1-x86_64-dvd.iso /mnt
vim /etc/yum.repos.d/yum/repo
cat/etc/yum.repos.d/yum/repo
[rhel7.2]
name=rhel7.2
baseurl=file:///mnt
gpgcheck=0
:wq
yum clean all
yum install gcc -y
<<<第十三单元练习>>>
1.在server主机中配置yum仓库,并安装gcc编辑器
mount /rhel-server-7.1-x86_64-dvd.iso /mnt
vim /etc/yum.repos.d/yum/repo
cat/etc/yum.repos.d/yum/repo
[rhel7.2]
name=rhel7.2
baseurl=file:///mnt
gpgcheck=0
:wq
yum clean all
yum install gcc -y