Created
February 6, 2019 14:41
-
-
Save hronecviktor/00d898b1ff31ba68c1ef2e4dfa6a7ce0 to your computer and use it in GitHub Desktop.
aresdb setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/cuda-repo-ubuntu1804_10.0.130-1_amd64.deb | |
sudo dpkg -i cuda-repo-ubuntu1804_10.0.130-1_amd64.deb | |
sudo apt-key adv --fetch-keys http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/7fa2af80.pub | |
sudo apt-get update && sudo apt-get install cuda build-essential gcc golang python3.7-dev git htop screen linux-headers-$(uname -r) nvidia-cuda-toolkit -y | |
export GOPATH=$HOME/.go | |
export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin | |
curl https://glide.sh/get | sh | |
cd $HOME/.go/src/github.com/uber/aresdb | |
export LD_LIBRARY_PATH=/usr/local/cuda-10.0/lib64:$HOME/.go/src/github.com/uber/aresdb/lib:${LD_LIBRARY_PATH} | |
cd $HOME/.go/src/github.com/uber/aresdb/api/ui/swagger | |
wget https://raw.githubusercontent.com/swagger-api/swagger-ui/master/dist/swagger-ui.css | |
wget https://raw.githubusercontent.com/swagger-api/swagger-ui/master/dist/swagger-ui-standalone-preset.js | |
wget https://raw.githubusercontent.com/swagger-api/swagger-ui/master/dist/swagger-ui-bundle.js | |
wget https://gist.githubusercontent.com/hronecviktor/6eab69761d554cff64a11860b6bab8c8/raw/8c42158e27961c4852d4fbe59c721d3a6f9f6db0/index.html.patch | |
patch index.html -i index.html.patch | |
cd $HOME/.go/src/github.com/uber/aresdb/ | |
make run_server |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment