ubuntu安装nfs服务
安装
apt-get install -y nfs-kernel-server nfs-common
配置
vim /etc/exports
/data *(rw,sync,no_root_squash)
服务
service nfs-kernel-server restart
开机挂载
@reboot /usr/bin/mount -t nfs 172.16.0.15:/data /backup
安装
apt-get install -y nfs-kernel-server nfs-common
配置
vim /etc/exports
/data *(rw,sync,no_root_squash)
服务
service nfs-kernel-server restart
开机挂载
@reboot /usr/bin/mount -t nfs 172.16.0.15:/data /backup