NFS文件共享服务器
NFS Server:redhat6.3 新建共享目录/home/share
新建/etc/exports文件,这是NFS的配置文件,
Client:CentOS6.5 新建挂载目录/share
软件列表:nfs-utils-1.2.3-26.el6.x86_64.rpm
portmap-4.0-65.2.2.1.x86_64.rpm
启动的时候先启动portmap再启动nfs
1. [root@www Packages]# rpm -ivhnfs-utils-1.2.3-26.el6.x86_64.rpm
error: Failed dependencies:
libnfsidmap.so.0()(64bit)is needed by nfs-utils-1:1.2.3-26.el6.x86_64
nfs-utils-lib>= 1.1.0-3 is needed by nfs-utils-1:1.2.3-26.el6.x86_64
处理依赖:download and install libnfsidmap-0.26-0.0.fc20.x86_64.rpm
[root@wwwsoftbynfs]# rpm -ivh libnfsidmap-0.26-0.0.fc20.x86_64.rpm
warning:libnfsidmap-0.26-0.0.fc20.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID246110c1: NOKEY
error: Failed dependencies:
libc.so.6(GLIBC_2.14)(64bit)is needed by libnfsidmap-0.26-0.0.fc20.x86_64
提示说glibc需要2.14,rpm查到的glibc版本为2.12,故需升级glibc到2.14即可
下载文件后强制覆盖升级安装
rpm -Uvh glibc-2.14.1-6.x86_64.rpm --force--nodeps
rpm -Uvh glibc-common-2.14.1-6.x86_64.rpm--force --nodeps
2.[root@localhostadmin]# rpm -ivh libnfsidmap-0.26-0.0.fc20.x86_64.rpm
warning:libnfsidmap-0.26-0.0.fc20.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID246110c1: NOKEY
Preparing... ########################################### [100%]
file/etc/idmapd.conf from install of libnfsidmap-0.26-0.0.fc20.x86_64 conflictswith file from package nfs-utils-lib-1.1.5-6.el6.x86_64
file/usr/share/man/man5/idmapd.conf.5.gz from install oflibnfsidmap-0.26-0.0.fc20.x86_64 conflicts with file from packagenfs-utils-lib-1.1.5-6.el6.x86_64