标签:
默认Raspberry不自带samb,需要手动安装。
如果默认的rasp源不好用的话,可以使用下面从网上找的:
deb http://mirrors.cqu.edu.cn/Raspbian/raspbian wheezy main contrib non-free rpi deb-src http://mirrors.cqu.edu.cn/Raspbian/raspbian/ wheezy main contrib non-free rpi deb http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/ wheezy main contrib non-free rpi deb-src http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/ wheezy main contrib non-free rpi deb http://mirrors.neusoft.edu.cn/raspbian/raspbian/ wheezy main contrib non-free rpi deb-src http://mirrors.neusoft.edu.cn/raspbian/raspbian/ wheezy main contrib non-free rpi deb http://mirrors.ustc.edu.cn/raspbian/raspbian/ wheezy main contrib non-free rpi deb-src http://mirrors.ustc.edu.cn/raspbian/raspbian/ wheezy main contrib non-free rpi
直接install samba可能会报错,先把错误提示中版本不对的依赖项卸载掉,比如我的树莓派需要重新安装这几个:
apt-get remove samba-common apt-get remove libwbclient0
然后正常安装samba,记得不光samba服务,还有管理工具:
apt-get install samba apt-get install samba-client apt-get install samba-common apt-get install samba-common-bin
装完这些基本够用了。
标签:
原文地址:http://www.cnblogs.com/shijianyujingshen/p/5451139.html