CentOS 7 installed bcc-tools

bcc-tools require kernel version 4.1 or later, we first need to upgrade the kernel

centos version 7.3 or more does not need to update update

 

 

The first step to upgrade the kernel. You can run the following command to operate:

# Upgrade the system
yum -y Update

# installation ELRepo
RPM --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
RPM -Uvh https://www.elrepo.org/elrepo-release- 7.0-3.el7.elrepo.noarch.rpm

# install the new kernel
yum Remove -Y-headers kernel kernel kernel-Tools-Tools-libs
yum --enablerepo = "kernel-ELRepo" the install -Y-kernel kernel-ml to ml Kernel-ml-headers devel-ml-Kernel Kernel-ml-Tools-libs Tools Tools Kernel-ml-libs-devel-

# Grub restart after the update
grub2 -o-mkconfig /boot/grub2/grub.cfg
grub2-default-SET 0
reboot

after reboot confirmation # kernel version has been upgraded to 4.20.0-1.el7.elrepo.x86_64
uname -r
 

The second step, the installation bcc-tools:

 

#-Mounted Tools BCC
yum the install BCC -Y-Tools

# Configure the PATH
Export PATH = $ PATH: / usr / Share / BCC / Tools

# verify successful installation

---------------------
Disclaimer: This article is CSDN blogger "Zhang Boyi 'original article, follow the CC 4.0 by-sa copyright agreement, reproduced, please attach the original source link and this statement.
Original link: https: //blog.csdn.net/zhanglong_4444/article/details/90769075

Guess you like

Origin www.cnblogs.com/zzzao/p/11355341.html