Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Pre-requisite -

  • Docker

Steps to start Stun Server

 


Steps to install Docker

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

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

sudo docker load < ~/stun_server.tar 


Steps to start Roost Stun Server

sudo docker run -d -p 2502:2502 -e ROOST_IO_SVR="<RoostIO endPoint>" --name roost-stun-svr <roostStunSvrImage>

example:

sudo docker run -d -p 2502:2502 -e ROOST_IO_SVR="44.233.62.221:443" --name roost-stun-svr zbio/roost-stun-svr:v3

  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.