(freebsd 7 是setenv PACKAGESITE ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/amd64/7.0-RELEASE/packages/Latest/)
2.pkg_add -rv samba3
3.修改/etc/rc.conf 增加 “samba_enable="YES"”
4.修改/etc/inet.conf 却表有下面几行
5.增加smb用户
smbpasswd -a test1 回车 输入密码
2.pkg_add -rv samba3
3.修改/etc/rc.conf 增加 “samba_enable="YES"”
4.修改/etc/inet.conf 却表有下面几行
- netbios-ssn stream tcp nowait root /usr/local/sbin/smbd smbd
- netbios-ns dgram udp wait root /usr/local/sbin/nmbd nmbd
- swat stream tcp nowait/400 root /usr/local/sbin/swat swat
smbpasswd -a test1 回车 输入密码