How to install samba4 on redhat?
-
Install Samba Packages (chopped most of the output)
rhel7> sudo yum install samba4 Installed: samba.x86_64 0:4.2.10-6.2.el7_2 Dependency Installed: cups-libs.x86_64 1:1.6.3-22.el7 libaio.x86_64 0:0.3.109-13.el7 libldb.x86_64 0:1.1.25-1.el7_2 libtalloc.x86_64 0:2.1.5-1.el7_2 libtdb.x86_64 0:1.3.8-1.el7_2 libtevent.x86_64 0:0.9.26-1.el7_2.1 libwbclient.x86_64 0:4.2.10-6.2.el7_2 pytalloc.x86_64 0:2.1.5-1.el7_2 samba-client-libs.x86_64 0:4.2.10-6.2.el7_2 samba-common.noarch 0:4.2.10-6.2.el7_2 samba-common-libs.x86_64 0:4.2.10-6.2.el7_2 samba-common-tools.x86_64 0:4.2.10-6.2.el7_2 samba-libs.x86_64 0:4.2.10-6.2.el7_2 Complete!
Install samba4 winbind for Active Directory
Installed: samba-winbind.x86_64 0:4.2.10-6.2.el7_2 Dependency Installed: samba-winbind-modules.x86_64 0:4.2.10-6.2.el7_2 Complete!
Install samba4 client tools
Installed: samba-client.x86_64 0:4.2.10-6.2.el7_2 Dependency Installed: libarchive.x86_64 0:3.1.2-7.el7 libsmbclient.x86_64 0:4.2.10-6.2.el7_2 Complete!
Start the services
rhel7> sudo systemctl enable smb.service Created symlink from /etc/systemd/system/multi-user.target.wants/smb.service to /usr/lib/systemd/system/smb.service. rhel7> sudo systemctl enable nmb.service Created symlink from /etc/systemd/system/multi-user.target.wants/nmb.service to /usr/lib/systemd/system/nmb.service. rhel7> sudo systemctl restart smb.service rhel7> sudo systemctl restart nmb.service rhel7> sudo systemctl status smb.service
© Lightnetics 2024