There are two ways of creating a new IBIC virtual machine in a workstation.
Get a copy current version of Virtual Machine from server
In IBIC computing system, Virtual Machine are produced internally. These are milestone releases. Current and previous version of Virtual Machine are stored in central IBIC NAS storage.
For developing purpose, you should always start from current version, and keep track of customization for later migration of central copy. With this method, you can easily have a current version of Virtual Machine anywhere, your workstation, or your home laptop, and use a vm player to run the virtual machine.
- Copy current version of Virtual Machine from NAS to your workstation local directory,
#cd /current_vm #cp -r IBIC_0.0.1 /var/lib/vmware/Virtual\ Machine/ Replace IBIC-0.0.1 with the name of virtual machine
# To start VM ware that located in IBIC workstation, start web browser, and type address:
- Follow the instruction on the menu for adding new Virtual Machine, add the vmware you just copied, in this case, it would be IBIC-0.0.1
Create new IBIC Virtual Machine using script
This method requires scripts that are located in a network attached file server.
# Start VMWare server console using web browser, and type address:
Follow the instruction on the menu for creating a new vm, and configure boot disk to a iso image file in freenas.OS iso file can be located at following location:
- Once approach to Install OS stage, use the kickstart file to start installation.
At the installation prompt, type:
# Power up the new created virtual machine when installation completed, and mount network file server to the new created vm.
#mkdir /mnt/home #mount ibicnas.ibic.washington.edu:/export/ibic/home /mnt/home
# Setup your vm workstation using scripts in /mnt/home/stegbk
#cd /mnt/home/stegbk/setup_linux #./init_source_dirs.sh #./first_boot.sh
# Reboot, and log in as root to start installing software package
#cd /mnt/home/stegbk/setup_linux #./install_vm_package.sh