开启samba服务的设置步骤
# 开启samba服务的设置步骤
[1] 通过在linux虚拟机上开启samba服务,使得windows宿主机能够访问linux虚拟机磁盘空间。
[[email protected] /]# vi /etc/samba/smb.conf
[SHARE]
comment = share home directory
path = /home --填写你的linux上需要共享给win7宿主机的目录
create mask = 0755
directory mask = 0755
public = yes
writable = yes
valid users = root
browseable = yes
[[email protected] /]# smbpasswd -a root --提示输入samba密码
[[email protected] /]# /etc/init.d/smb(d) restart
[[email protected] /]# shutdown -r now
[2] 然后,通过windows的网络驱动器映射,把 \\linux网络地址\SHARE 映射到windows上指定驱动器即可。