光盘yum源autofs按需挂载

Posted mr-ws

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了光盘yum源autofs按需挂载相关的知识,希望对你有一定的参考价值。

 

1.安装autofs服务  (yum install autofs -y)

技术图片

2.创建按需挂载文件  (mkdir     /automnt)

mkdir /automnt

3.编辑主配置文件  (vim /etc/auto.master)

技术图片

(刚才创建的目录,配置文件(配置文件一般命名格式为auto. 按需挂载目录名))

4.新配置文件auto.automnt  (vim /etc/auto.automnt)

技术图片

5.

 

以上是关于光盘yum源autofs按需挂载的主要内容,如果未能解决你的问题,请参考以下文章