linux Centos (6.6)服务器之间文件共享挂载
目的:因为服务器设置了负载均衡,多服务器的文件上传必然要同步,这里的目的把服务器1设置为主文件服务器
服务器1:192.168.1.100
服务器2:192.168.1.20
风来了.呆狐狸
安装基础所需套件[每台] 1.nfs [html] view plain copy
print? yum install nfs-utils 2.设置服务自启动 [plain] view plain copy
print? chkconfig rpcbind on chkconfig nfs on 3.启动服务 [plain] view plain copy
print? service rpcbind start service nfs start
[root@localhost database]# yum install portmap 已加载插件:fastestmirror, langpacks Loading mirror speeds […]
Recent Comments