Chapter 12. Samba or NFS file sharing

This chapter deals
. 1, Samba service program
2, a network file system (the Network File the System, the NFS)
. 3, the autofs service
Samba service program's main configuration file, including global configuration parameters and zone configuration parameters
Samba service program is used by default user password authentication mode (user), pdbedit command is used to manage SMB service program account information database
Chapter 12. Samba or NFS file sharing
ways to create shared resources is very simple, as long as the parameters in table 12-2 Samba service program written to the main configuration file in
Chapter 12. Samba or NFS file sharing
the Samba service program not only bu file sharing between Linux and Windows, you can also file sharing between Linux systems.

NFS (Network File System) service can file on a remote Linux system to mount shared resources directory on the local host, so that the local host (Linux clients) based on TCP / IP protocol, as it did read resources on the local host write a shared file system on a remote Linux
Chapter 12. Samba or NFS file sharing
NFS client to use the showmount command to query a remote NFS server to share information, and then create a directory to mount the NFS client, if you want NFS file-sharing services could have been effective, it needs to be written fstab file to

autofs service program is a Linux system daemons, when detecting the user attempts to access a file system is not mounted, it will automatically mount the file system.
The main configuration file /etc/auto.master autofs services need to be in the main configuration file autofs service program in accordance with the "sub-directory mount configuration file" format to fill, child profiles require user-defined file name is not strictly required , but the suffix is recommended to .misc end, the sub configuration file, it should follow: to fill "mount directory permissions to mount the file type and device name" format, complete configuration and then thrust the autofs service starts and added to the system startup item.

This chapter follows the course notesChapter 12. Samba or NFS file sharingChapter 12. Samba or NFS file sharingChapter 12. Samba or NFS file sharingChapter 12. Samba or NFS file sharing

Guess you like

Origin blog.51cto.com/13812690/2406399