Skip to content

Latest commit

 

History

History
52 lines (29 loc) · 1.54 KB

INSTRUCTIONS.md

File metadata and controls

52 lines (29 loc) · 1.54 KB

1) Create VM

Create a new virtual machine, selecting Linux and Ubuntu64 as the Type and Version. Select sufficient memory (i.e. in green zone just before the redzone). For the hard disk, select the 'Create a virtial hard disk now' option. Choose VDI and dynamically allocated. Choose 1TB as the size.

2) Install Ubuntu

Follow instructions as directed on screen to install Ubuntu. Choose minimal installation. Restart when prompted.

3) Run an update

sudo apt-get update
sudo apt-get upgrade
reboot

4) Install the following software

sudo apt-get install gcc make git

5) Install guest additions

Insert and run the guest additions. Set the Shared Clipboard and Drag and Drop to be bidirectional. Restart the machine. Don't forget to eject the Guest Additons disk.

6) Clone the repo for installing the software

git clone https://github.com/WTAC-NGS/ngs-vm.git
cd ngs-vm

7) Install miniconda

Install latest version of miniconda for Python 3

./install_miniconda.sh

8) Install the software

Install the softare in a specific conda environment and add a line to the bashrc to activate that environment.

./install_software.sh

9) Run the tests

cd tests
./test_unix.sh

10) To enable shared folders

sudo usermod -a -G vboxsf manager

11) Add terminal and screenshot to the menu

12) Tag the repo

Tag a version of the repo used to make the VM using the name of the course as the tag name. Historically, this has not ben done.