您的位置:首页 > 运维架构 > Linux

CentOS 6.9 安装htop,也适合centOS7

2017-11-17 00:00 369 查看
摘要: CentOS 6.9 安装htop

CentOS6.9安装htop,也适合CentOS7。htop官方网站:http://hisham.hm/htop/

首先安装首先啟用 EPEL Repository。

[root@localhost ~]# yum -y install epel-release
[root@localhost ~]# yum -y update
#安装htop
[root@localhost ~]# yum install htop

yum安装htop完成。

源码安装htop,首先安装git。ncurses-devel编译安装htop时需要。

[root@localhost ~]# yum -y install git ncurses-devel

htop GIT源码下载地址。https://github.com/hishamhm/htop

git clone htop代码。

[root@localhost ~]# git clone https://github.com/hishamhm/htop.git

切换到htop代码目录执行./configure; make; sudo make install 即可。

下图是centOS6.9安装完成软件运行截图。

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  CentOS htop