服务端的配置
vi /etc/exports
/data/cover.friends.mop.com/photo/storage 10.6.33.0/24(rw,no_root_squash,nohide)
10.6.32.0/24(rw,no_root_squash,nohide) 10.6.39.0/24(rw,no_root_squash,nohide)
10.4.0.0/16(rw,no_root_squash,nohide) 10.6.46.0/24(rw,no_root_squash,nohide)
客户端的配置
/bin/mount -t nfs -o rsize=8192,wsize=8192,timeo=30,intr,noatime 10.6.32.106:/data/cover.friends.mop.com /data/mvp/hi_tools/storage
/etc/rc.local //修改
/bin/mount -t nfs -o rsize=8192,wsize=8192,timeo=30,intr,noatime 10.6.32.106:/da
ta/cover.friends.mop.com /data/mvp/hi_tools/storage
/bin/mount -t nfs -o rsize=8192,wsize=8192,timeo=30,intr,noatime 10.6.33.132:/da
ta/images.ss.com /data/images.ss.com
/bin/mount -t nfs -o rsize=8192,wsize=8192,timeo=30,intr,noatime 10.6.32.118:/da
ta/resin_vhost/album_personal.ss.com /data/mvp/storage
/bin/mount -t nfs -o rsize=8192,wsize=8192,timeo=30,intr,noatime 10.6.32.108:/da
ta/resin_vhost/album_personal.ss.com/storage/c03 /data/mvp/storage/storage/c03
/bin/mount -t nfs -o rsize=8192,wsize=8192,timeo=30,intr,noatime 10.6.33.132:/da
ta/i.mop.com/styles /data/mvp/hi_main/styles
/bin/mount -t nfs -o rsize=8192,wsize=8192,timeo=30,intr,noatime 10.6.33.132:/da
ta/i.mop.com/images /data/mvp/hi_main/images
=========================================================
下面介绍NFS的安装与配置:
1.以root的身份在控制台输入setup,在系统服务选项中选中