3.3. Installing Samba Using yum
To install Samba using yum, install the Samba group using the following command:
Copy to Clipboard
Copied!
Toggle word wrap
Toggle overflow
yum groupinstall RH-Gluster-Samba-Server
# yum groupinstall RH-Gluster-Samba-Server
If you require Samba Active Directory integration with gluster, execute the following command:
yum groupinstall RH-Gluster-AD-Integration
# yum groupinstall RH-Gluster-AD-Integration
For more information about installing Red Hat Gluster Storage using yum, see Section 2.3, “Installing Red Hat Gluster Storage Server on Red Hat Enterprise Linux (Layered Install)”.
Samba can also be installed by following these steps:
- To install the basic Samba packages, execute the following command:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow yum install samba
# yum install samba
- If you require the
smbclient
on the server, then execute the following command:Copy to Clipboard Copied! Toggle word wrap Toggle overflow yum install samba-client
# yum install samba-client
- If you require an Active directory setup, then execute the following commands:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow yum install samba-winbind yum install samba-winbind-clients yum install samba-winbind-krb5-locator
# yum install samba-winbind # yum install samba-winbind-clients # yum install samba-winbind-krb5-locator
- Verify if the following packages are installed.
Copy to Clipboard Copied! Toggle word wrap Toggle overflow samba-libs samba-winbind-krb5-locator samba-winbind-modules samba-vfs-glusterfs samba-winbind samba-client samba-common samba-winbind-clients samba
samba-libs samba-winbind-krb5-locator samba-winbind-modules samba-vfs-glusterfs samba-winbind samba-client samba-common samba-winbind-clients samba