Skip to content

dlab-projects/collaboratool-base

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

collaboratool-base

NOTE - this project was an intermediate step to do some lightweight development on the collaboratool project. It remains primarily for archival/reference.

For current work, please see https://github.com/dlab-berkeley/collaboratool


A minimal set of things required to enable collaborative, reproducible compute

This is the current process:

"By hand"

Prior to installing base OS

Note: You need to do some of the below in the settings dialogue after creating the VM in VirtualBox. For now, we're using 32 bits Xubuntu or linux Mint 32.

  • 1024 MB RAM
  • Leave default 8 GB of virtual drive
  • 1 CPU (for now) installed)
  • Settings dialogue
    • Under Network->Advanced port forwarding: 2222 (127.0.0.1, host) -> 22 (10.0.2.15, guest), maybe a web port (8080 -> 80)?
    • Bump video memory to max, enable 3D accel (2D is currently windows only)

Install OS

  • vanilla 32-bit Xubuntu (relatively light, handles virtual graphics resize well)
    • Install updates if you've got time / bandwidth
    • DON'T install proprietary
    • Go with default "erase disk" install
  • 'ct' as user
  • login automatically

Install VB Extensions & git

Now do this inside the VM

  • [dkms / guest extensions isn't necessary for Linux Mint, though it won't be "up to date"]
  • apt-get install dkms git openssh-server
  • run installer (mount CD via VB GUI)
  • Now you can enable bidirectional clipboard in VirtualBox settings

Auto-provisioning

Also inside the VM. But could in principle be done via ansible outside the machine. In this case, we absolutely need the openssh-server from above.

To bring the machine up-to-date with changes in the ansible playbooks, simply re-run that last command!

Saving that work

  • Shut down the machine
  • File->Export from VirtualBox, using v1.0 OVA format

Example of setting up a compute environment on top of that foundation

  • cd collaboratool-base/materials-template
  • ./run-local-ansible.sh

About

A minimal set of things required to enable collaborative, reproducible compute

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages