1.配置好PACKAGESITE
(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 却表有下面几行
- 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
5.增加smb用户
smbpasswd -a test1 回车 输入密码
阅读(918) | 评论(0) | 转发(0) |