apt install samba samba-common

vim /etc/samba/smb.conf 修改如下:

[homes]

   comment = Home Directories

   browseable = yes

   read only = no

   path = /root

   valid users = root 

ubuntu 安装samba

 

添加samba客户端用户:

smbpasswd -a root

重启ubuntu虚拟机

在windows7下映射网络驱动器:

 \\192.168.242.132\root

相关文章:

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