Skip navigation
All Places > Blackboard Developer Community > Blackboard Learn Developers > Blog > Author: arturo.llanos.bb

This is my cheatsheet for the Bb DEV Virtual Machine (managed by Vagrant).

 

Vagrant command line

Where to run the commands on Windows: Run > cmd > C:\Users\[my user]\[the_folder_with_the_april_release_box + vagrant_file]> <run your command here>

-> vagrant up

-> vagrant halt

-> vagrant reload (after applying changes to the Vagrantfile)

-> vagrant box list
-> vagrant plugin install vagrant-hostupdater
-> vagrant ssh

-> vagrant destroy

-> vagrant box remove

 

SSH connection to the back-end

Note that on a Windows host machine you may experience issues, hence for the SSH connection use instead putty or MobaXterm or RemoteNG:

-> Host: 127.0.0.1

-> Username: vagrant
->  Port: 2222 (do not use 22) (Blackboard box OR e.g: lucid32 Ubuntu box)

Port: 2200 (in case you assigned the 2222 to other box, use the port 2200 for the Blackboard box)

-> vagrant@127.0.0.1's password: vagrant

 

SSL certs

SSL cert (it has a Private key, but it is not a CA cert): C:/Users/[my user]/.vagrant.d/insecure_private_key

 

Manage the Learn Bb VM: edit bb-config, use the command line admin tools

-> sudo /usr/local/blackboard/tools/admin/ServiceController.sh services.start

-> sudo vi /usr/local/blackboard/config/bb-config.properties (save & exit: ESC ZZ)

-> sudo /usr/local/blackboard/tools/admin/ServiceController.sh services.start

 

GUI access to the Learn Bb VM

-> April 2014 and above: https://localhost:9877/ (web browser) u: administrator - p: password

 

Example of a "Vagrantfile"

 

Vagrant.configure("2") do |config|

 

  config.vm.provider :virtualbox do |vb|
    vb.customize ["modifyvm", :id, "--memory", "4096"]
  end

 

  config.vm.box = 'bb-learn-9.1.201404.160205'
  config.vm.box_url = './bb-learn-9.1.201404.160205.box'
  config.vm.network :forwarded_port, guest: 8080, host: 9876
  config.vm.network :forwarded_port, guest: 8443, host: 9877
  config.vm.network :forwarded_port, guest: 2222, host: 9878

end