Solve centos7.3 install wmwaretools can not find the kernel header

yum install kernel-headers-$(uname -r) kernel-devel-$( uname -r) -y


cat > env.sh <<EOF
export GOROOT=/usr/local/go
export GOPATH=/root/GoSpace
export GOBIN=/root/GoSpace/bin
export PAHT = $ PATH: $ GOROOT/bin: $ GOBIN
EOF

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326224026&siteId=291194637