Pre-requisite -
Steps to start Stun Server
Steps to install Docker
Code Block |
---|
|
sudo apt update -y
sudo apt install -y apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable"
sudo apt update -y
apt-cache policy docker-ce
sudo apt install -y docker-ce
sudo systemctl status docker |
...
Steps to create Roost Stun Server Image
This for Internal Team Only
Code Block |
---|
|
cd ~/go/src/github.com/ZB-io/stun-server/server/cmd
make
cd ../../docker
make
docker save -o stun_server.tar zbio/roost-stun-svr:v1
scp -i ~/zb-stun.pem ./stun_server.tar ubuntu@*.*.*.*:~/ |
Steps to load Roost Stun Server Image
This for Internal Team Only
Inside the VM
Code Block |
---|
|
sudo docker load < ~/stun_server.tar |
Steps to start Roost Stun Server
...