Presentation is loading. Please wait.

Presentation is loading. Please wait.

NFS Server Setup NFS SERVER SETUP. Network File Service NFS Server Setup Allows to share Directories between UNIX Systems Daemons: netfs, nfs, nfslock.

Similar presentations


Presentation on theme: "NFS Server Setup NFS SERVER SETUP. Network File Service NFS Server Setup Allows to share Directories between UNIX Systems Daemons: netfs, nfs, nfslock."— Presentation transcript:

1 NFS Server Setup NFS SERVER SETUP

2 Network File Service NFS Server Setup Allows to share Directories between UNIX Systems Daemons: netfs, nfs, nfslock (also uses portmap and rpc service)

3 NFS Server Configuration NFS Server Setup Exported File System(s) are defined in Configuration File /etc/exports /data 172.31.0.0/16 (ro) /www acb.sidbi.org

4 NFS Client Configuration NFS Server Setup Configuration File : /etc/fstab server1:/data /users/data nfs defaults 0 0 mount server1:/data /users/data (Note: The mount point must exist before /etc/fstab is read or the filesystem is manually mounted)

5 NFS Troubleshooting NIS Server Setup 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

6 Samba Server Setup SAMBA SERVER SETUP

7 Samba Service Samba Server Setup File and Printer Sharing from UNIX to Windows Uses smb Daemon service smb start/stop/restart

8 Samba Server Configuration Samba Server Setup 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

9 Samba Server Configuration Samba Server Setup 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

10 Authentication Methods Samba Server Setup Use local username/password (stored in /etc/samba/smbpasswd) To add a local user: smbpasswd –a fred (fred should be a user in /etc/passwd)

11 Samba Client Configuration Samba Server Setup Share the Samba Directory on Windows machine Share the Samba Filesystem on Unix machine by specifying in /etc/fstab server1:/smbdata /users/smbdata smbfs defaults 0 0 or use smbmount //server1/smbdata /users/smbdata –o username=fred


Download ppt "NFS Server Setup NFS SERVER SETUP. Network File Service NFS Server Setup Allows to share Directories between UNIX Systems Daemons: netfs, nfs, nfslock."

Similar presentations


Ads by Google