Configure a Samba Server and Client and Mount a File System on Linux
NFS and Samba are both used commonly as file-sharing solutions between Linux servers. In this lab, you'll learn to configure a Samba server and a file share. You'll then create a Samba user. Next, you'll configure a Samba client and mount the file system from the server to the client.
Challenge
Install Samba, Add a User, Create a Directory, Check selinux Status, and Set File System Context
smbuser1 user to the system.smbuser1./smbuser1./smbuser1.selinux./smbuser1 to samba_share_t.Challenge
Edit the Samba Configuration and Add a Share, Test the Configuration, and Restart the Samba Service
/smbuser1 with read and write access for user smbuser1.Challenge
On the Client Server, Install the CIFS package, Configure a Persistent Mount, and Test the File System
/mnt/smbuser1./smbuser1./mnt/smbuser1 to mount persistently on Server2.