mdserver-web/plugins/dynamic-tracking/versions/ubuntu.sh

22 lines
434 B
Bash

#!/bin/bash
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin
export PATH
curPath=`pwd`
rootPath=$(dirname "$curPath")
rootPath=$(dirname "$rootPath")
serverPath=$(dirname "$rootPath")
SYS_ARCH=`arch`
# export GOPROXY=https://goproxy.io
# export GO111MODULE=on
apt -y install build-essential git make libelf-dev strace tar bpfcc-tools libbpf-dev
# clang -v
apt -y install clang llvm
apt -y install golang