安装autofs
[root@localhost ~]# mount /dev/sr0 /mnt
mount: /dev/sr0 is write-protected, mounting read-only
[root@localhost ~]# yum install autofs -y
启动autofs
发现 / 根目录下面多了两个目录
cd cd
在其他路径下:cd cd
[root@localhost ~]# cd cd
-bash: cd: cd: No such file or directory
[root@localhost ~]#
在misc路径下:cd cd
[root@localhost ~]# cd /misc/
[root@localhost misc]# cd cd
[root@localhost cd]# pwd
/misc/cd
第一步:配置主机文件
这里我又新建了一个IP 192.168.72.106
[root@localhost ~]# vim