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 5 Next »

Pre-requisite -

  • Docker

  • 2502 port must be open

Steps to start Stun Server

curl -q -s https://remote-roostprod.s3-us-west-1.amazonaws.com/roost-enterprise.sh -o $HOME/roost-enterprise.sh
./roost-enterprise.sh -i stun -e roost.io:443

The below steps are for Internal Team Only

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

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

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