Open-source video conference bigbluebutton development (1) -- initialize installation and configuration

Source: Internet
Author: User
Tags bigbluebutton oracle vm virtualbox vm virtualbox

Bigbluebutton is a distance education platform developed using ActionScript. Its main functions include speech, video lectures, desktop sharing, and online document presentation, such as PPT, word, and PDF, it also supports multi-language and text communication and is suitable for online teaching. Projects used by the server include activemq, asterisk, nginx, and tomcat!

 

The current version is 8.0, and the server runs on Ubuntu 10.04 32-bit or 64-bit. there are two ways to deploy the BBB server: Install from the installation package and install the BBB Virtual Machine! The following describes how to install the BBB virtual machine!

 

Initialization

 

First, download the BBB Vm, which is available on SourceForge!

Second, we need to first have a VMware or Oracle VM virtualbox. Here, we use vbox! Set the connection mode to bridging to ensure that the virtual machine can access the Internet!

3. decompress the BBB Virtual Machine package and you can see the following: select the first option for VMware installation and the second option for vbox installation!

Change default password

 

After the installation is complete, start the VM and you will be asked to enter the user name and password. The user name is firstuser and the password is default. Then, you will be asked to change the password. The current password is invalid, you will be asked to enter the current password, and then enter the new password twice. Finally, you will see the welcome information. You can access the bigbluebutton server through the IP address given in the welcome information! For example:


 
Run BBB VM

At this moment, you have a complete BBB service to start and run. Open your browser and enter the IP address above to access BBB. You can see the following interface:

Enter your name and click join to join the meeting:


Develop bbb

The Virtual Machine already contains all development tools to compile or deploy BBB-client, BBB-web, BBB-apps!

Update bbb

The BBB component has been included in the Ubuntu package, and the VM configuration file has been written to the official update address. You only need to enter the following command to update it:

 

 # sudo apt-get update  # sudo apt-get dist-upgrade

 

After entering the preceding command, you will see that it is automatically downloading the latest installation package. You may receive a prompt to update the existing configuration file! It is best to move out of the release document and enter specific instructions for updates!

Troubleshooting

When an error is displayed on the console, an IP address is required for the first time the VM is started, and the installation script is run to end the installation. The script is:

(1) Update packages

(2) install bbb

The first step is to ensure that the latest BBB release version is downloaded before initialization and installation. The most common error is that the server cannot obtain the IP address. When this error occurs, you can install it manually, first, ensure that the virtual machine obtains the IP address, and then ensure that the virtual machine can communicate with the host, insist on whether the connection mode is set to bridging mode, and then enter the command: Ping fvshi.com. If no data packet is transmitted, run the following command:

Sudo/etc/init. d/networking restart

After the network is connected, you can run the following command to install it:

Sudo apt-Get update

    sudo apt-get upgrade    sudo apt-get install bigbluebutton

The BBB server cannot run due to IP address changes.

 

Next, make sure that bigbluebutton is the IP address of your VM. One symptom is that when you try to access bigbluebutton through a Web browser, you will receive a welcome message from nginx! Check if your current environment bigbluebutton has problems that may prevent startup. type the following command:

 

Java code
 
  1. Sudo BBB-conf -- check
Sudo BBB-conf -- check

If there is any problem (that is, if BBB-conf detects that red5 is not running), you will see a warning message at the bottom! The above output will display the IP address monitored by your current BBB configuration file. When you enter the command and the IP address above is different from your vm ip address, you can modify the IP address through the configuration file! Enter ifconfig in the console to get the current vm ip address, for example, 10.1.161.138. Enter the following command to modify the IP Address:

 

Java code
 
  1. Sudo BBB-conf -- setip 10.1.161.138
Sudo BBB-conf -- setip 10.1.161.138

Then, if you need to restart, enter the following command to restart

 

Java code
 
  1. Bbb-conf -- clean
Bbb-conf -- clean

 

Check whether you have a network connection.

 

 

Java code
 
  1. Ping fvshi.com
Ping fvshi.com

If you get the information that eth0 is not connected, check whether the VM uses eht1:

 

Java code
 
  1. Ifconfig-
Ifconfig-

The following information is displayed:

 

Java code
 
  1. Eth1 link encap: Ethernet hwaddr 00: 0C: 29: DD: B4: 51
  2. Inet ADDR: 192.168.0.154 bcast: 192.168.0.255 mask: 255.255.255.0
  3. Inet6 ADDR: fe80: 20c: 29ff: fedd: b451/64 scope: Link
  4. Up broadcast running Multicast MTU: 1500 Metric: 1
  5. RX packets: 4080349 errors: 0 dropped: 0 overruns: 0 frame: 0
  6. TX packets: 3932137 errors: 0 dropped: 0 overruns: 0 carrier: 0
  7. Collisions: 0 FIG: 1000
  8. RX Bytes: 1216680270 (1.2 GB) TX Bytes: 822963271 (822.9 MB)
  9. Interrupt: 19 base address: 0x2000
  10. Lo link encap: local loopback
  11. Inet ADDR: 127.0.0.1 mask: 255.0.0.0
  12. Inet6 ADDR: 1/128 scope: Host
  13. Up loopback running MTU: 16436 Metric: 1
  14. RX packets: 12938 errors: 0 dropped: 0 overruns: 0 frame: 0
  15. TX packets: 12938 errors: 0 dropped: 0 overruns: 0 carrier: 0
  16. Collisions: 0 txqueuelen: 0
  17. RX Bytes: 40299608 (40.2 MB) TX Bytes: 40299608 (40.2 MB)
Eth1 link encap: Ethernet hwaddr 00: 0C: 29: DD: B4: 51 Inet ADDR: 192.168.0.154 bcast: 192.168.0.255 mask: 255.255.255.0 inet6 ADDR: fe80: 20c: 29ff: fedd: b451/64 scope: link up broadcast running Multicast MTU: 1500 Metric: 1 RX packets: 4080349 errors: 0 dropped: 0 overruns: 0 frame: 0 TX packets: 3932137 errors: 0 dropped: 0 overruns: 0 carrier: 0 Collisions: 0 txqueuelen: 1000 RX Bytes: 1216680270 (1.2 GB) TX Bytes: 822963271 (822.9 MB) interrupt: 19 base address: 0x2000lo link encap: local loopback Inet ADDR: 127.0.0.1 mask: 255.0.0.0 inet6 ADDR ::: 1/128 scope: Host up loopback running MTU: 16436 Metric: 1 RX packets: 12938 errors: 0 dropped: 0 overruns: 0 frame: 0 TX packets: 12938 errors: 0 dropped: 0 overruns: 0 carrier: 0 Collisions: 0 txqueuelen: 0 RX Bytes: 40299608 (40.2 MB) TX Bytes: 40299608 (40.2 MB)

Then make sure it uses eth0:

 

Java code
 
  1. VI/etc/udev/rules. d/70-persistent-net.rules
VI/etc/udev/rules. d/70-persistent-net.rules

The following information is displayed:

 

Java code
 
  1. # This file was automatically generated by the/lib/udev/write_net_rules
  2. # Program, run by the persistent-net-generator.rules rules file.
  3. #
  4. # You can modify it, as long as you keep each rule on a single
  5. # Line, and change only the value of the name = key.
  6. # PCI device 0x1022: 0x2000 (pcnet32)
  7. Subsystem = "Net", Action = "add", drivers = "? * ", ATTR {address} =" 00: 0C: 29: 23: D1: B3 ", ATTR {type} =" 1 ", kernel = "ETH *", name = "eth1"
  8. # PCI device 0x1022: 0x2000 (pcnet32)
  9. Subsystem = "Net", Action = "add", drivers = "? * ", ATTR {address} =" 00: 0C: 29: DD: B4: 51 ", ATTR {type} =" 1 ", kernel = "ETH *", name = "eth0"
# This file was automatically generated by the/lib/udev/write_net_rules # program, run by the persistent-net-generator.rules rules file. # You can modify it, as long as you keep each rule on a single # Line, and change only the value of the name = key. # PCI device 0x1022: 0x2000 (pcnet32) subsystem = "Net", Action = "add", drivers = "? * ", ATTR {address} =" 00: 0C: 29: 23: D1: B3 ", ATTR {type} =" 1 ", kernel = "ETH *", name = "eth1" # PCI device 0x1022: 0x2000 (pcnet32) subsystem = "Net", Action = "add ", drivers = "? * ", ATTR {address} =" 00: 0C: 29: DD: B4: 51 ", ATTR {type} =" 1 ", kernel = "ETH *", name = "eth0"

Exchange two entries by editing "name = eth1" to "name = eth0", and vice versa!

 

Restart your computer. Check whether you can connect to the Internet. Make sure that the network adapter of the virtual machine uses a bridge connection instead of Nat. The enable device menu of vbox is at the top.

Terminal window cannot be copied and pasted

When running the bigbluebutton Vm, you cannot use the clipboard in the terminal window provided by vbox. You can download and run putty and terminal simulation programs, and cut and paste them.

If the problem persists

You can enter a concise description or error message about your problem on Google!

This article may be written incorrectly or not perfect. Forget haihan ~, Reprinted to indicate the source: Http://yangactive.iteye.com/blog/1606929

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.