标签:style c class blog code java
安装samba:
sudo apt-get install samba
修改samba配置:
sudo nano /etc/samba/smb.conf
修改内容如下
去掉 security = user 前#
在 map to guest = bad user 行下添加 guest account = pi
共享目录方法(匿名访问读写)
[Code]
comment = Code
path = /home/pi/code
browseable = Yes
read
only = No
guest ok = Yes
[WWW]
comment = Web
path = /var/www
browseable = Yes
read only =
No
guest ok = Yes
重启samba:
sudo service samba restart
标签:style c class blog code java
原文地址:http://www.cnblogs.com/wjne/p/3753803.html