在PC机端运行\\\\192.168.1.12进行共享。
8、(非匿名) Vi /etc/samba/smb.cof [global] Security = users
Passdb bachend = tdbsam [share]
comment = aa备注(可以任何字符) writable = yes browseable = yes available = yes path = /home/share valid = users = 用户名 3、添加samba密码 Smbpasswd –a 用户名
3、chmod 777 share
4、重启service smb start(使设置生效) 5、关闭防火墙:vi /etc/selinux/config SELINUY = disabled(重启,使之生效) 6、重启linux系统。
7、设置虚拟机与PC机的IP地址为同一网段。并ping通。 在PC机端运行\\\\192.168.1.12并输入用户名及密码进行共享。
相关推荐: