课程: Linux: Storage Systems

免费学习该课程!

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

Solution: NFS behavior and SSHFS

Solution: NFS behavior and SSHFS - Linux教程

课程: Linux: Storage Systems

Solution: NFS behavior and SSHFS

(upbeat music) - [Instructor] Let's address those challenges that involved NFS and SSHFS. Let's start with NFS. So you need to make an entry in your Etc exports file. And I made one here for my home directory. I'm instructor here. I've got a director called NFS.dir and I'm going to let local hosts mount it, read, write. And after I did that, I did an exportFS minus A, which checked it and made it export. So that looks good, and then I wrote a little script here to do the mount. So you can see a mounting from local host that home instructor, NFS.dir to a subdirectory. I have NFS.mounted underneath mounts. And let's make sure that that's not currently mounted. Okay. And then just check with mount, all kind of stuff there. Oop, don't forget to say grep. Luckily instructor isn't some terrible command. Just double checking there. Okay, everything's unmounted. Let's run the script. We need to do sudo for this because mounting ordinary stuff is a privileged command. And now let's try the…

内容