nmbbb
This tutorial is for setting up a BBB instance using their installer script. In my case, this instance will run in a virtualized environment on a physical host with a symmetric gig connection.
Step #1
Okay, so I installed a clean Ubuntu 18.04.6 on a VM with 8 processors and 16GB RAM. I used the install script found at the BBB documentation/install website:
wget -qO- https://ubuntu.bigbluebutton.org/bbb-install-2.5.sh | bash -s -- -v focal-250 -s bbb.example.com -e notice@example.com -a -w
Since my data center does not support ipv6, I needed to disable this. I am working with Brown Rice to make ipv6 a reality, but all in good time. BBB ipv6 disable resource.
sudo nano /opt/freeswitch/etc/freeswitch/autoload_configs/event_socket.conf.xml <param name="listen-ip" value="127.0.0.1"/> sudo mv /opt/freeswitch/etc/freeswitch/sip_profiles/internal-ipv6.xml /opt/freeswitch/etc/freeswitch/sip_profiles/internal-ipv6.xml_ sudo mv /opt/freeswitch/etc/freeswitch/sip_profiles/external-ipv6.xml /opt/freeswitch/etc/freeswitch/sip_profiles/external-ipv6.xml_
It is now time to set up Greenlight.
mkdir ~/greenlight cd ~/greenlight
If you lock yourself out of admin account after a vanilla install.
docker run --rm bigbluebutton/greenlight:v2 cat ./sample.env > .env docker run --rm bigbluebutton/greenlight:v2 bundle exec rake secret sudo bbb-conf --secret docker run --rm --env-file .env bigbluebutton/greenlight:v2 bundle exec rake conf:check docker run --rm bigbluebutton/greenlight:v2 cat ./greenlight.nginx | sudo tee /etc/bigbluebutton/nginx/greenlight.nginx sudo systemctl restart nginx
Now, let's start greenlight:
cd ~/greenlight docker-compose -v mkdir /etc/bigbluebutton/nginx/ touch /etc/bigbluebutton/nginx/greenlight.nginx docker run --rm bigbluebutton/greenlight:v2 cat ./docker-compose.yml > docker-compose.yml export pass=$(openssl rand -hex 24); sed -i 's/POSTGRES_PASSWORD=password/POSTGRES_PASSWORD='$pass'/g' docker-compose.yml;sed -i 's/DB_PASSWORD=password/DB_PASSWORD='$pass'/g' .env docker-compose up -d
— oemb1905 2022/11/11 22:12