- Install golang
wget https://golang.org/dl/go1.16.2.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go1.16.2.linux-amd64.tar.gz
export PATH=$PATH:/usr/local/go/bin
- Clone the repo
cd /opt/
git clone https://github.com/SevenTV/ServerGo.git
cd seventv
- Build the source
go build
- Modify the config.
cp demo.yaml config.yaml && vim config.yaml
- Setup auto run with systemboot.
sudo cp seventv.service /etc/systemd/system && sudo systemctl start seventv && sudo systemctl enable seventv