Linux共享文件夹及文件夹同步

2023-02-16  本文已影响0人  芼芼567

题外话

  1. centos上的systemctl命令在最新的Ubuntu上用update-rc.d代替

共享文件夹

** 建议使用nfs,以下为安装步骤:**

  1. 安装rpc服务和nfs服务
yum install rpcbind
systemctl satrt rpcbind
systemctl enable rpcbind
yum install nfs-tools
systemctl satrt nfs
systemctl enable nfs
  1. 编辑配置文件
image
  1. 在客户机挂载
mount 192.168.10.110:/nfs_data /data

持久化配置

image

文件夹同步

参考:syncthing

上一篇下一篇

猜你喜欢

热点阅读