使用源码安装:
从官网上下载源码包:wget https://www.samba.org/samba/ftp/stable/samba-4.2.3.tar.gz解压编译: ./configure --prefix=directory
makemake ins