[centos 7]centos perf 安装配置步骤详解

时间:2020-10-10  来源:Google  阅读:

查了一些资料,如果要安装perf的话,都说执行

 代码如下

apt-get perf
apt-get linux-tools
yum install google-perftools google-perftools-devel

之类的。

不过在centos下确实没有这些东西可用。
yum源找不到,所以还是自己找源装吧。

在这里找到一个rpm包的库: https://www.rpmfind.net/linux/rpm2html/search.php?query=perf

可以找到perf的rpm包。


比如我就选择的图上的那个。

直接执行


rpm -ivh ftp://195.220.108.108/linux/centos/6.7/centosplus/x86_64/Packages/perf-2.6.32-573.el6.centos.plus.x86_64.rpm

就可以了。
不过可惜我到这个镜像的网络不太好,所以先用wget指定了代理,把rpm下载下来,再直接安装rpm就好了。

centos-perf-install-rpm

 

[centos 7]centos perf 安装配置步骤详解

http://m.bbyears.com/seo/103726.html

推荐访问:centos7关闭防火墙 centos下载 centos7安装
相关阅读 猜你喜欢
本类排行 本类最新