安装过程参见:
- Trust the Draios GPG key, configure the yum repository
rpm --import https://s3.amazonaws.com/download.draios.com/DRAIOS-GPG-KEY.public
curl -s -o /etc/yum.repos.d/draios.repo https://s3.amazonaws.com/download.draios.com/stable/rpm/draios.repo
- Install the EPEL repository
Note: The following command is required only if DKMS is not available in the distribution. You can verify if DKMS is available with yum list dkms
rpm -i https://mirror.us.leaseweb.net/epel/6/i386/epel-release-6-8.noarch.rpm
- Install kernel headers
Warning: The following command might not work with any kernel. Make sure to customize the name of the package properly
yum -y install kernel-devel-$(uname -r)
- Install sysdig
yum -y install sysdig问题1:
kernel-devel 安装失败解决:
yum install kernel-devel 就可以了,pope用的内核分别是
3.10.0-957.el7.x86_64
3.10.0-514.el7.x86_64
$ sysdig
Unable to load the driver
error opening device /dev/sysdig0. Make sure you have root credentials and that the sysdig-probe module is loaded.解决:
没有评论:
发表评论