安裝完 CentOS 7 最小安裝後
會發現以前習慣的工具預設都不會安裝了,取而代之的是新的指令
如果還是習慣以前的工具的話可以另外再透過yum 安裝
例如

nslookup
dig
host
# yum -y install bind-utils

ifconfig
netstat
# yum -y install net-tools

iostat
# yum -y install sysstat

另外如果還想再安裝其他工具,但不知道要安裝哪個套件的話
可以執行以下指令,來找到應該要安裝哪一個套件

# yum provides */iostat
or
# yum provides iostat
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: ftp.tc.edu.tw
 * extras: ftp.tc.edu.tw
 * updates: ftp.tc.edu.tw
pcp-4.1.0-4.el7.x86_64 : System-level performance monitoring and performance management
Repo        : base
Matched from:
Filename    : /var/lib/pcp/config/pmlogconf/tools/iostat

pcp-4.1.0-5.el7_6.x86_64 : System-level performance monitoring and performance management
Repo        : updates
Matched from:
Filename    : /var/lib/pcp/config/pmlogconf/tools/iostat

pcp-testsuite-4.1.0-4.el7.x86_64 : Performance Co-Pilot (PCP) test suite
Repo        : base
Matched from:
Filename    : /var/lib/pcp/testsuite/sadist/iostat

pcp-testsuite-4.1.0-5.el7_6.x86_64 : Performance Co-Pilot (PCP) test suite
Repo        : updates
Matched from:
Filename    : /var/lib/pcp/testsuite/sadist/iostat

sysstat-10.1.5-17.el7.x86_64 : Collection of performance monitoring tools for Linux
Repo        : base
Matched from:
Filename    : /usr/bin/iostat

undefined
鳥哥的Linux私房菜:基礎學習篇(附DVD一片)(第四版)

作者: 鳥哥  
出版社:碁峰

arrow
arrow
    文章標籤
    centos linux yum
    全站熱搜

    helloworld 發表在 痞客邦 留言(0) 人氣()