Home mail me! Syndicate this site using RSS

Archive for TAG: exports

CentOS下搭建NFS平台

注:以下只是本人在VM下搭建高可用性负载的测试笔记。

1、先在VM下装一个CentOS作为NFS服务器(nfs-server.example.com),再克隆一个作为NFS客户端(nfs-client.example.com),MINI安装即可。

NFS服务器分配IP为192.168.1.100,NFS客户端分配IP为192.168.1.200。

nfs-server.example.com配置如下:

[root@nfs-server ~]# cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=nfs-server.example.com
[root@nfs-server ~]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1   localhost.localdomain localhost
192.168.1.200   nfs-client.example.com   nfs-client

Read more…

1 Comment »