VirtualBox Configuration

From SCECpedia
Revision as of 18:19, 16 October 2014 by Maechlin (talk | contribs)
Jump to navigationJump to search

Fedora 20 Virtual Box Installation on Mac OS X 10.9

  • Set up for a VISES50GB Configuration:
  • Linux - Fedora (64Bit) v20
  • Use the Default System except:
    • Set Base Memory to 2048MB
    • Set Bidirectional shared files and cut and past
    • Set Video Memory to 32MB
    • Set FileSystem: 51.05GB dynamic
    • Modify default disk partition to /boot = 10G and /home = 40GB
    • Set Sharedfile system: automount
    • Set /users/maechlin/SharedVisesData
  • Create root pwd and user with SU privileges (maechlin)
  • Install compilers and libraries
    • Sudo yum -y install gcc
    • Sudo yum -y install gcc-gfortran
    • Sudo yum groupinstall “Development Tools”
    • Sudo yum -y install glibc-static
    • Sudo yum -y automake
    • sudo yum install icedtea-web java-1.7.0-openjdk
    • sudo yum install numpy scipy python-matplotlib pyproj
  • Install UCVM applications
    • UCVM
    • Download ucvm 14.3.0.tar.gz
    • Tar zxvf *.gz
    • Cd UCVM
    • ./ucvm_setup.py -d #dynamic linking
      • Select CVM-S4 and CVM-H only
    • Edit .bash_profile
    • Add /home/maechlin/ucvm-14.3.0/bin to path
    • Add LD_LIB and export
    • Make check
  • Install BBP Platform
    • Broadband Platform
    • Include LOMAP, LA, and Mojave GF
    • In top level make remove references to icc and fort
    • remove references to sdsu,irakura,exsim, csm
    • In UCSB remove references to Greenbank
    • in install_cfg.py remove references to sds, irakur, exsim,csm
    • ./tests ./test_gp.py runs
    • ./tests ./test_ucsb.py errors on test 7
    • modified the bhp_status.py to remove references to icc compilers

Current Disk Usage

    • / using 5G
    • /home using 21 GB
      • UCVM 4GB
      • BBP 16GB
      • SCECVOD 330MB
    • Clone Image 28.5GB

Fedora 14 Virtual Box Installation on Mac OS X 10.9

  • Set up for the SCEC CME Configuration:
  • Machine name: SCEC CME
  • Machine type: Linux - Fedora (64Bit)
  • Use the Default System except:
    • Set Base Memory to 2048MB
    • Set FileSystem: 70GB dynamic
  • After machine is created, select "Settings", "Display"
    • Increase video memory to 32MB
  • Download "Fedora-14-x86_64-DVD.iso"
  • Select "Settings", "Storage", select "Controller IDE", and then the small "Add new attachment" (CD/DVD)
    • Select the "Fedora 14 iso image downloaded above", and then click "OK"
  • Boot (Start) the new machine and the Fedora 14 installation will begin
    • If you test the media, Fedora 14 will eject the virtual CD, so click on "Devices", "CD/DVD", "IDE Primary" and select the Fedora 14 iso again
  • Select the default options for the first few screens
  • When warning dialog asking about re-initializing device pops-up, select "Re-Initialize"
  • Machine name: "scec-cme"
  • Select "Los Angeles" time zone
  • Root password set to: "sceccme"
  • Installation type: "Use all space"
    • Select the View and Customize box at the bottom
    • Delete the /home partition and make the / partition larger to use the space used by /home
  • Select "Software Development" and add "Fedora 14 - x86_64" and "Fedora 14 - x86_64 Updates"
  • Select "Customize Now"
  • Add
    • Applications
      • Editors
        • Emacs, vim-x11
      • Engineering and Scientific
        • R, Octave
      • Office/Productivity
  • Actual installation begins...
  • After machine reboots...
  • User setup
    • Username: cme
    • Fullname: SCEC CME
    • Password: sceccme
  • Installation ends!
  • Open terminal window
  • Set up sudo access for user cme
    • su - (to become root)
    • visudo
      • Add line at the end: "cme ALL(ALL) ALL"
  • Install missing Python dependencies for BBP and UCVM
    • sudo yum install numpy scipy python-matplotlib python-basemap
  • Disable the sendmail daemon
  • Install the Virtual Box guest additions (from http://www.sysprobs.com/install-fedora-15-virtualbox-steps-install-virtualbox-guest-additions-fedora-15)
    • sudo yum install dkms
    • Select "Devices" -> "Insert Guest Additions CD image..."
    • sudo su -
    • cd /media/VBOXADDITIONS_<VERSION_NUMBER>
    • sh ./VBoxLinuxAdditions.run
    • Reboot!


Install UCVM
  • UCVM
  • wget http://hypocenter.usc.edu/research/ucvm/14.3.0/ucvm-14.3.0.tar.gz
  • tar -xzvf ucvm-14.3.0.tar.gz
  • cd UCVM
  • ./ucvm_setup.py -d <------- Dynamic linking is needed!
    • Select installation path to /home/cme/CME/ucvm-14.3.0
    • Select CVM-S4 and CVM-H only
  • Edit .bashrc
    • Add /home/cme/CME/ucvm-14.3.0/bin to PATH
    • Add LD_LIBRARY_PATH and export
  • make check
Install BBP

Related Entries