1.Samba源代码下载地址https://www.samba.org/ 2.下载Samba并进行解压 3.# ./configure 4 .#sudo apt-get install python-dev