mirror of https://github.com/midoks/mdserver-web
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
434 B
21 lines
434 B
#!/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
|
|
|