skywalking-rover 起步

1, in wsl

apt update

apt install –y llvm && \

apt install -y clang && \

apt-get install -y gcc-multilib &&、


./docker/docker Dockerfile

apt update && \
git clone --depth 1 --branch v0.8.0 https://github.com/libbpf/libbpf.git && \
mkdir -p /usr/include/bpf && cp libbpf/src/*.h /usr/include/bpf && \
apt install -y lsb-release wget software-properties-common libc6-dev-i386 && \
cp -rf /usr/include/asm-generic/* /usr/include/asm && \
wget https://apt.llvm.org/llvm.sh && \
chmod +x llvm.sh && \
./llvm.sh 13


init

posted @ 2023-03-20 14:00  张保维  阅读(152)  评论(0编辑  收藏  举报