RedHat_6.8安装nfs
--=============================安装规划=================================
nfs_server
IP:192.168.16.60
[root@nfs_server ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.8 (Santiago)
[root@nfs_server ~]# uname -r
2.6.32-642.el6.x86_64
[root@nfs_server ~]# uname -m
x86_64
nfs_client
IP:192.168.16.50
[root@nfs_client ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.8 (Santiago)
[root@nfs_client ~]# uname -r
2.6.32-642.el6.x86_64
[root@nfs_client ~]# uname -m
x86_64
NFS两个软件包:
nfs-utils: NFS主程序,包含rpc.nfsd rpc.mount两个deamons
rpcbind: RPC主程序
--=================================安装前检查==================================
rpm -qa | grep nfs-utils rpcbind
mount /dev/cdrom /mnt/cdrom //ISO文件中带安装包
[root@nfs_client yum.repos.d]# cat iso.repo
[rhel-source]
name=Red Hat Enterprise Linux $releasever - $basearch - Source
baseurl=file:///mnt/cdrom
enabled=1
gpgcheck=0
[root@nfs_client yum.repos.d]# yum clean all
Loaded plugins: fastestmirror, product-id, search-disabled-repos, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Cleaning repos: rhel-source
Cleaning up Everything
Cleaning up list of fastest mirrors
[root@nfs_client yum.repos.d]# yum repolist
Loaded plugins: fastestmirror, product-id, search-disabled-repos, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Determining fastest mirrors
rhel-source