From the course: Linux System Engineer: Network Filesystems Using NFS and Samba

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Install Samba packages

Install Samba packages - Red Hat Enterprise Linux Tutorial

From the course: Linux System Engineer: Network Filesystems Using NFS and Samba

Start my 1-month free trial

Install Samba packages

- Before we begin, we'll need to install the Samba server on our hhost1. Be sure that our hhost1 is booted up and you're logged in with the terminal open. Let's install the Samba server package now. Type in "sudo" space "yum" space "install" space "dash y" space "samba" space "samba dash client" and hit Enter. Type in your password if prompted. The Samba package is the server. "Samba dash client" is a client side tool that we can use to test our shares. This should have installed the Samba server and any dependencies it may have had. Now let's see what's installed. Type in "clear", and then type in "rpm" space "dash q a" space "pipe" space "egrep" space "single quote smb 'pipe' samba 'pipe' cifs single quote" and hit Enter. This shows the common Samba packages and some libraries, in addition to the server we just installed. Now let's switch over to our hhost2. Log-in and start a terminal to install the Samba client packages. In a terminal, type in, "sudo" space "yum" space "install"…

Contents