1  Windows访问Linux

安装相关软件和服务
sudo apt-get install samba
sudo apt-get install smbfs

修改配置文件 sudo vim /etc/samba/smb.conf

[root]
   comment = root
   browseable = yes
   path = /home/fei
   writable = yes
   valid users=fei

sudo smbpasswd -a fei

sudo /etc/init.d/samba restart

chmod 777 /home/fei -R       (-R 表示整个目录下的所有文件都修改)

\\ip地址  来访问

2.  Linux访问Windows

通过:位置---〉网络 可以查看到Windows的共享文件夹

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-07-23
  • 2021-12-03
  • 2022-01-14
  • 2021-07-25
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-12-10
  • 2021-08-24
  • 2022-12-23
  • 2021-06-15
  • 2021-11-28
  • 2021-10-25
相关资源
相似解决方案