Bb DEV Virtual Machine

Blog Post created by on Dec 11, 2015

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:

-> 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@'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/ services.start

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

-> sudo /usr/local/blackboard/tools/admin/ 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 = 'bb-learn-9.1.201404.160205'
  config.vm.box_url = './' :forwarded_port, guest: 8080, host: 9876 :forwarded_port, guest: 8443, host: 9877 :forwarded_port, guest: 2222, host: 9878