1) 安装samba:yum -y install samba samba-client samba-winbind,查看已安装的samba组件:
rpm -qa | grep samba
samba-common-4.4.4-14.el7_3.noarch
samba-winbind-modules-4.4.4-14.el7_3.x86_64
samba-4.4.4-14.el7_3.x86_64
samba-client-libs-4.4.4-14.el7_3.x86_64
samba-winbind-4.4.4-14.el7_3.x86_64
samba-client-4.4.4-14.el7_3.x86_64
samba-libs-4.4.4-14.el7_3.x86_64
samba-common-libs-4.4.4-14.el7_3.x86_64
samba-common-tools-4.4.4...