Pre-requisite -
Docker
2502 port must be openRoostControlPlane should already be configured.
Ubuntu 64-bit(x86) instance with inbound TCP traffic allowed on 2502 port.
Admin/User should have sudo privileges.
Steps to start Stun Server
Code Block | ||
---|---|---|
| ||
curl -q -s https://remote-roostprod.s3-us-west-1.amazonaws.com/roost-enterprise.sh -o $HOME/roost-enterprise.sh chmod +x $HOME/roost-enterprise.sh $HOME/roost-enterprise.sh -i stun -e <roostControlPlaneIP:Port> |
example:$HOME/roost-enterprise.sh -i stun -e roost.io:443
The below steps are for Internal Team Only
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
...
Inside the VM
Code Block | ||
---|---|---|
| ||
sudo docker load < ~/stun_server.tar |
...