analyzer-d4-log/install_server.sh

21 lines
319 B
Bash
Raw Normal View History

#!/bin/bash
set -e
set -x
2020-02-25 16:03:32 +01:00
# Go #
sudo apt-get install screen -y
sudo add-apt-repository ppa:longsleep/golang-backports -y
sudo apt update
sudo apt install golang-go -y
2020-02-25 14:37:52 +01:00
go get -u
2020-02-25 11:02:55 +01:00
go build
# REDIS #
mkdir -p db
test ! -d redis/ && git clone https://github.com/antirez/redis.git
pushd redis/
git checkout 5.0
make
popd