# 最小安裝預設沒有安裝 showmount 指令
[root@example ~]# showmount -e nas
-bash: showmount: command not found
# 安裝 nfs-utils 套件
[root@example ~]# yum install nfs-utils
Last metadata expiration check: 0:49:59 ago on Mon 03 May 2021 01:03:19 PM CST.
Dependencies resolved.
========================================================================================
Package Architecture Version Repository Size
========================================================================================
Installing:
nfs-utils x86_64 1:2.3.3-35.el8 baseos 494 k
Installing dependencies:
gssproxy x86_64 0.8.0-16.el8 baseos 118 k
keyutils x86_64 1.5.10-6.el8 baseos 63 k
libverto-libevent x86_64 0.3.0-5.el8 baseos 16 k
python3-pyyaml x86_64 3.12-12.el8 baseos 193 k
quota x86_64 1:4.04-10.el8 baseos 214 k
quota-nls noarch 1:4.04-10.el8 baseos 94 k
rpcbind x86_64 1.2.5-7.el8 baseos 70 k
Transaction Summary
========================================================================================
Install 8 Packages
Total download size: 1.2 M
Installed size: 3.8 M
Is this ok [y/N]: y
Downloading Packages:
(1/8): libverto-libevent-0.3.0-5.el8.x86_64.rpm 667 kB/s | 16 kB 00:00
(2/8): keyutils-1.5.10-6.el8.x86_64.rpm 2.0 MB/s | 63 kB 00:00
(3/8): gssproxy-0.8.0-16.el8.x86_64.rpm 2.9 MB/s | 118 kB 00:00
(4/8): python3-pyyaml-3.12-12.el8.x86_64.rpm 11 MB/s | 193 kB 00:00
(5/8): quota-nls-4.04-10.el8.noarch.rpm 9.7 MB/s | 94 kB 00:00
(6/8): quota-4.04-10.el8.x86_64.rpm 11 MB/s | 214 kB 00:00
(7/8): nfs-utils-2.3.3-35.el8.x86_64.rpm 12 MB/s | 494 kB 00:00
(8/8): rpcbind-1.2.5-7.el8.x86_64.rpm 8.0 MB/s | 70 kB 00:00
----------------------------------------------------------------------------------------------------------------------------------------
Total 1.0 MB/s | 1.2 MB 00:01
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Running scriptlet: rpcbind-1.2.5-7.el8.x86_64 1/8
Installing : rpcbind-1.2.5-7.el8.x86_64 1/8
Running scriptlet: rpcbind-1.2.5-7.el8.x86_64 1/8
Installing : quota-nls-1:4.04-10.el8.noarch 2/8
Installing : quota-1:4.04-10.el8.x86_64 3/8
Installing : python3-pyyaml-3.12-12.el8.x86_64 4/8
Installing : libverto-libevent-0.3.0-5.el8.x86_64 5/8
Installing : gssproxy-0.8.0-16.el8.x86_64 6/8
Running scriptlet: gssproxy-0.8.0-16.el8.x86_64 6/8
Installing : keyutils-1.5.10-6.el8.x86_64 7/8
Running scriptlet: nfs-utils-1:2.3.3-35.el8.x86_64 8/8
Installing : nfs-utils-1:2.3.3-35.el8.x86_64 8/8
Running scriptlet: nfs-utils-1:2.3.3-35.el8.x86_64 8/8
Verifying : gssproxy-0.8.0-16.el8.x86_64 1/8
Verifying : keyutils-1.5.10-6.el8.x86_64 2/8
Verifying : libverto-libevent-0.3.0-5.el8.x86_64 3/8
Verifying : nfs-utils-1:2.3.3-35.el8.x86_64 4/8
Verifying : python3-pyyaml-3.12-12.el8.x86_64 5/8
Verifying : quota-1:4.04-10.el8.x86_64 6/8
Verifying : quota-nls-1:4.04-10.el8.noarch 7/8
Verifying : rpcbind-1.2.5-7.el8.x86_64 8/8
Installed:
gssproxy-0.8.0-16.el8.x86_64 keyutils-1.5.10-6.el8.x86_64 libverto-libevent-0.3.0-5.el8.x86_64 nfs-utils-1:2.3.3-35.el8.x86_64
python3-pyyaml-3.12-12.el8.x86_64 quota-1:4.04-10.el8.x86_64 quota-nls-1:4.04-10.el8.noarch rpcbind-1.2.5-7.el8.x86_64
Complete!
[root@example ~]# which showmount
/usr/sbin/showmount
留言列表