apt-get install samba samb-common
mkdir /home/share
chmod 777 /home/share
gedit /etc/samba/smb.conf
max_log_size = 1000下添加
security = user
;write list = root,@lpadmin下添加
[myshare] #共享名,不需要与共享目录同名
comment = my share directory #对共享的描述
path = /home/share
browseable = yes
writeable = yes
mkdir /home/share
chmod 777 /home/share
gedit /etc/samba/smb.conf
max_log_size = 1000下添加
security = user
;write list = root,@lpadmin下添加
[myshare] #共享名,不需要与共享目录同名
comment = my share directory #对共享的描述
path = /home/share
browseable = yes
writeable = yes