systemctl start network.service 重启网络服务,一切恢复正常。
SMB协议

systemctl start smb nmb

systemctl restart smb nmb

vim /etc/samba/smb.conf
在此配置中添加以下项:
+++++++++++++++++++++++++++++++++++++++++
[share]
comment = hjw_share
security = share
path = /home
public = yes
writable = yes
browseable = yes
+++++++++++++++++++++++++++++++++++++++++++++++++
如下图:
SMB协议
在我的电脑—网络----映射网络驱动
SMB协议

3.就可以实现虚拟机和windows之间的共享文件了

相关文章:

  • 2021-11-09
  • 2021-06-09
  • 2021-12-31
  • 2021-12-14
  • 2021-12-06
  • 2021-12-23
  • 2022-01-22
  • 2022-12-23
猜你喜欢
  • 2022-01-16
  • 2022-02-11
  • 2022-12-23
  • 2022-12-23
  • 2021-07-24
  • 2021-12-23
  • 2021-05-20
相关资源
相似解决方案