hey @universeroc this what I did to help Frold install mediasoup demo is digitalocean using the cheapest droplet. Might have missed some instruction but the overall configuration is there, hope it helps.
apt-get update
add-apt-repository ppa:certbot/certbot
apt-get install build-essential gcc-8 g++-8 python python-pip curl openssl libssl-dev certbot nginx
unlink /usr/bin/gcc && sudo ln -s /usr/bin/gcc-8 /usr/bin/gcc
useradd -s /bin/bash -m -d /home/app -c "app" app
usermod -aG sudo app
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash
apt-get install nodejs
npm i npm -g
npm install pm2 -g
swapon --show
fallocate -l 2G /swapfile
chmod 600 /swapfile
mkswap /swapfile
swapon /swapfile
### mediasoup demo
sudo su app
cd /opt/
sudo git clone https://github.com/versatica/mediasoup-demo
sudo chown -R app:app mediasoup-demo/
sudo certbot certonly \
-d $DOMAIN\
--preferred-challenges http \
--agree-tos \
--no-eff-email \
--renew-by-default
# server
cd /opt/mediasoup-demo/server
npm install
sudo chmod o+r /etc/letsencrypt/live/$DOMAIN/fullchain.pem
sudo chmod o+r /etc/letsencrypt/live/$DOMAIN/privkey.pem
cp config.example.js config.js
vim config.js # set public ips, ...
pm2 start server
sudo env PATH=$PATH:/usr/local/bin pm2 startup -u app
cd /opt/mediasoup-demo/app
npm install
./node_modules/.bin/gulp dist
cp -rfv /opt/mediasoup-demo/server/public/* /var/www/html/
chown -R www-data:www-data /var/www/html/