课程: Linux System Engineer: Network Filesystems Using NFS and Samba

今天就学习课程吧!

今天就开通帐号,24,700 门业界名师课程任您挑!

Preparing your lab for Samba

Preparing your lab for Samba

- [Narrator] In order to keep troubleshooting simple we're going to disable the nfs specific changes we've done previously in this course. This means disabling one auto fs share and commenting outline in the sfs tab file. Make sure you're logged into arri tro 2 VM and you have a terminal open. First, let's disable the auto fs share by editing the slash etc slash auto dot master file. In a terminal, type in sudo vi /etc/auto.master and hit enter. Type in your password as prompted. Go clear to the bottom. Comment out the line that points to auto.direct. And save and exit by pressing esc + : + ! + enter. Now let's restart the auto fs service. Type in sudo systemctl restart autofs and hit enter. The second thing we'll do is at the sfs tab file and comment out any fs shares there. Type in sudo vi /etc/fstab and hit enter. Peruse this file and if you have any nf shares that are active, then comment them out. In my case, the only one is already commented out, so I'll just exit. Save and exit…

内容