标签:bsp dmi bak min only 关于 ack read mount -a
安装一台服务器:CentOS-7.4-x86_64-DVD-1708.iso
root 密码:1
admin 密码:1
安装VMware Tools
制作镜像、挂载镜像、配置yum源:
1、dd if=/dev/cdrom of=/root/centos7.iso
2、mkdir /mnt/centos7
vi /etc/fstab
/root/centos7.iso /mnt/centos7 iso9660 defaults 0 0
[root@localhost ~]# mount -a
mount: /dev/loop0 is write-protected, mounting read-only
mount (查看)
df -h
umount
3、mv CentOS-Base.repo CentOS-Base.repo.bak
vi CentOS-Localsource.repo
[Localsource]
name=[Local]
baseurl=file:///mnt/centos7/
enabled=1
gpgcheck=0
yum repolist (查看)
yum clean all
标签:bsp dmi bak min only 关于 ack read mount -a
原文地址:https://www.cnblogs.com/jidong0515/p/10253777.html