NFS Server Setup NFS SERVER SETUP NFS Server
- Slides: 11
NFS Server Setup NFS SERVER SETUP
NFS Server Setup Network File Service Allows to share Directories between UNIX Systems Daemons: netfs, nfslock (also uses portmap and rpc service)
NFS Server Setup NFS Server Configuration Exported File System(s) are Configuration File /etc/exports /data 172. 31. 0. 0/16 (ro) /www acb. sidbi. org defined in
NFS Server Setup NFS Client Configuration File : /etc/fstab server 1: /data /users/data nfs defaults 0 0 mount server 1: /data /users/data (Note: The mount point must exist before /etc/fstab is read or the filesystem is manually mounted)
NIS Server Setup NFS Troubleshooting Use exportfs command to find and verify which areas are exported by the server Use mount command to find and verify which areas are mounted by the client
Samba Server Setup SAMBA SERVER SETUP
Samba Server Setup Samba Service File and Printer Sharing from UNIX to Windows Uses smb Daemon service smb start/stop/restart
Samba Server Setup Samba Server Configuration Use GUI Applications Server Settings Services SMB Configuration File: /etc/samba/smb. conf Configuring File and Directory Sharing [share_name] comment = Fred's Home Directory path = /home/fred valid users = fred public = no writable = yes printable = no
Samba Server Setup Samba Server Configuration Configuring Printer Sharing [printer_share_name] comment = Fred's Printer valid users = fred path = /var/spool/samba printer = freds_printer public = no writable = no printable = yes
Samba Server Setup Authentication Methods Use local username/password /etc/samba/smbpasswd) (stored in To add a local user: smbpasswd –a fred (fred should be a user in /etc/passwd)
Samba Server Setup Samba Client Configuration Share the Samba Directory on Windows machine Share the Samba Filesystem on Unix machine by specifying in /etc/fstab server 1: /smbdata /users/smbdata smbfs defaults 0 0 or use smbmount //server 1/smbdata /users/smbdata –o username=fred