Skip to content
This repository has been archived by the owner on Feb 8, 2022. It is now read-only.

Creating UCVM Virtual Box Image

Philip Maechling edited this page Mar 6, 2017 · 2 revisions

###Process for assembling the UCVMC virtual box image Using a virtual box on a Mac Sierra with virtual box: 5.0.32

Create a new image based:

  • Operating system: Linux
  • Distribution: 64-bit Ubuntu
  • Ubuntu 16.04.2 LTS
  • Memory Size: 2048 MB
  • Virtual Disk Size: 8GB
  • Hard disk file type: vdi (virtualbox disk image)
  • Dynamic file allocation:
  • File location and size: 100.82 GB
  • Creating a virtual optical disk. select one?

Install Sequence and selections

During ubuntu .iso installation:
My name: UCVM
Computer name: UCVM.17.1.VirtualBox
Username:ucvm
Password:scecucvm

Use account:ucvm for installation
Create image from Ubuntu iso file
Used Ubuntu-16.04.2-desktop-amd64.iso

Download the 64bit linux anaconda installer

Install in default:
/home/ucvm/anaconda2

Confirm default shell is bash
Env | grep SHELL

Add line to .bashrc at start
Source .bash_profile
Leave rest the same, except uncomment color terminal. Settings

Create two subdirectoris ucvm_src, and ucvm_bin.
Ucvm_bin will be the run directory.

Set LD_LIBRARY path in .bash_profile,
Python path,
Path to anaconda2.

Starting to add packages. Basic update tool will be apt get:
Sudo apt install git
Sudo apt install gfortran
sudo apt-get install automake autoconf

conda install matplotlib
conda install basemap
conda install pyproj

In ucvm_src/
git clone https://github.com/SCECcode/UCVMC.git

On virtual machine terminal, in ucvm_bin/largefiles subdirectory:
 ./get_large_files.py
./check_largefiles_md5.py
./stage_large_files.py

cd ..
./ucvm_setup.py
/home/ucvm/ucvm_bin
yes
yes
yes
yes
yes

Clone this wiki locally