題外話
- centos上的systemctl命令在最新的Ubuntu上用update-rc.d代替
共享文件夾
** 建議使用nfs册踩,以下為安裝步驟:**
- 安裝rpc服務(wù)和nfs服務(wù)
- centos
yum install rpcbind
systemctl satrt rpcbind
systemctl enable rpcbind
yum install nfs-tools
systemctl satrt nfs
systemctl enable nfs
- 編輯配置文件
image
- 在客戶機(jī)掛載
mount 192.168.10.110:/nfs_data /data
持久化配置
image
文件夾同步
參考:syncthing