User Tools

Site Tools


computing:nmbbb

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
computing:nmbbb [2022/07/16 05:22] oemb1905computing:nmbbb [2022/11/12 05:23] (current) oemb1905
Line 11: Line 11:
 ------------------------------------------- -------------------------------------------
  
-This tutorial is for folks who have need for a [[https://docs.bigbluebutton.org/|Big Blue Button]] instance.  In my case, I am teacher and I need reliable digital instructional platform that is also full of features ... and floss.  BBB is the only choice for these requirements.  Moreover, it also helps with a specific //thinking routine// I developed, called [[https://youtu.be/lOKaVAsyDaY|Inquirer Presenter Scribe]].  The platform and the approach together provide a rich opportunity for mathematical seminar and other forms of pedagogy.  This service will, furthermore, be available to all New Mexico educators for free - schedule details will be released when/if the project reaches full maturity, which we hope it will. This will be the official wiki for documentation of configs, setup, etc.  The status page and client functionality update site is located [[https://haacksnetworking.com/2021/03/31/nm-community-big-blue-button-project/|here]] at my business website which oversees the project.  Alright, more later folks.+This tutorial is for setting up BBB instance using their installer script. In my case, this instance will run in virtualized environment on physical host with a symmetric gig connection.
  
 ------------------------------------------- -------------------------------------------
Line 19: Line 19:
 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 [[https://docs.bigbluebutton.org/2.3/install.html#Install_|BBB documentation/install website]]: 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 [[https://docs.bigbluebutton.org/2.3/install.html#Install_|BBB documentation/install website]]:
  
-  wget -qO- https://ubuntu.bigbluebutton.org/bbb-install.sh | bash -s -- -v bionic-230 -s bbb.example.com -e notice@example.com  -a -w+  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
      
-After this completed, I checked for errors and as directed ran ''sudo bbb-conf --check'' It's not time to debug BBB yetas Greenlight, which manages users and accounts, etc., is not even configured yet however, it is time to debug failures on the install script, and one part that always fails for me is the Let's Encrypt portion I just ignore it, however, and then run the following commands manually:+Since my data center does not support ipv6, I needed to disable thisI am working with Brown Rice to make ipv6 a realitybut all in good timeBBB ipv6 [[https://docs.bigbluebutton.org/support/troubleshooting.html#freeswitch-fails-to-bind-to-port-8021|disable resource]].
  
-  sudo apt install letsencrypt python-certbot-nginx +  sudo nano /opt/freeswitch/etc/freeswitch/autoload_configs/event_socket.conf.xml 
-  sudo certbot --authenticator standalone --installer nginx -d example.com --pre-hook "systemctl stop nginx" --post-hook "systemctl start nginx"+  <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_
      
-This lengthy script does what the BBB script does not do properly, and what many other users forget to do, which is properly start and stop the webserver during automatic setup and/or properly start/stop during manual setup.  It was posted by someone long ago on the ACME git, and it still works cherry.  After fixing this (yep, it worked again), I then finally could run ''sudo bbb-conf --check'' The output revealed that ....  --- //[[jonathan@haacksnetworking.com|oemb1905]] 2021/10/29 22:04//+It is now time to set up Greenlight.
  
   mkdir ~/greenlight   mkdir ~/greenlight
Line 33: Line 35:
 If you lock yourself out of admin account after a vanilla install. If you lock yourself out of admin account after a vanilla install.
      
-  docker exec -it greenlight-v2 bash +  docker run --rm bigbluebutton/greenlight:v2 cat ./sample.env > .env 
-  bundle exec rails c +  docker run --rm bigbluebutton/greenlight:v2 bundle exec rake secret 
-  User.find_by(email"<email of user to reset>").update_attribute(:password,"<new password>") +  sudo bbb-conf --secret 
-   +  docker run --rm --env-file .env bigbluebutton/greenlight:v2 bundle exec rake conf:check 
-Disabled ipv6 since BR does not supportOpen the xml file and change the line to listen to local host only.+  docker run --rm bigbluebutton/greenlight:v2 cat ./greenlight.nginx | sudo tee /etc/bigbluebutton/nginx/greenlight.nginx 
 +  sudo systemctl restart nginx
  
-  nano /opt/freeswitch/etc/freeswitch/autoload_configs/event_socket.conf.xml +Now, let's start greenlight:  
-  <param name="listen-ip" value="127.0.0.1"/> +
-   +
-Starting greenlight:+
  
   cd ~/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   docker-compose up -d
      
  
- + --- //[[jonathan@haacksnetworking.org|oemb1905]] 2022/11/11 22:12//
- --- //[[jonathan@haacksnetworking.org|oemb1905]] 2022/07/15 23:22//+
computing/nmbbb.1657948973.txt.gz · Last modified: 2022/07/16 05:22 by oemb1905