BBP Images

From SCECpedia
Jump to navigationJump to search

Fedora 14 Virtual Box Installation on Mac OS X 10.9

  • Set up for the SCEC CME Configuration:

Virtual Box Software

  • Install VB v4.3.18

Download Fedora 14

  • While current Fedora is v20, some VB features like guest additions work best on older versions of fedora
    • Machine name: scecbbp
    • Machine type: Linux - Fedora (64Bit)
  • Use the Default System except:
    • Set Base Memory to 2048MB
    • Set FileSystem type VDI
    • set dynamically allocated
    • Size: 71.31GB dynamic (does not need to be exactly this value)
  • After machine is created, select "Settings", "Display"
    • Increase video memory to 32MB
  • Define a shared folder location on host system
    • Select a folder on host system called "share"
  • Download "Fedora-14-x86_64-DVD.iso" onto Mac hard drive
    • Load it into VB
    • Select the "Fedora 14 iso image downloaded above", and then click "OK"
  • Boot (Start) the new machine and the Fedora 14 installation will begin
    • Select "install a new system or upgrade..."
  • Skip the media test
  • When warning dialog asking about re-initializing device pops-up, select "Re-Initialize All"
  • Machine name: "scecbbp"
  • Select "Los Angeles" time zone
  • Root password set to: "scecbbp2014"
  • Installation type: "Use all space"
    • Select the review and Customize box at the bottom of page
    • Delete the /home partition and make the / partition larger to use the space used by /home. Set it to Max size shown on screen
  • When it prompts for software to install
    • Select Customize Now
    • Edit source (from http to DVD)
    • Select "Software Development" and
    • add "Fedora 14 - x86_64" and "Fedora 14 - x86_64 Updates"
    • to add these, modify repository by changing url from https to http
  • Actual installation begins...
  • After machine reboots...
  • User setup
    • Username: scecbbp
    • Fullname: Broadband Platform
    • Password: sceccme
    • advanced settings and added this users to the wheel group
  • Installation ends!
  • Open terminal window
  • Set up sudo access for user cme
    • su - (to become root)
    • visudo
    • Find the line that says
    • ROOT ALL=(ALL) ALL
    • under that line add the line
      • Add line at the end: "scecbbp ALL=(ALL) ALL"
  • Error on sudo yum install
    • edit /etc/yum.repo.d/ files. Comment in the base url, and remove https and add http for mirrors.
    • This changes seems related to where image is originally loaded from, and this was needed
    • to get it to work from mac disk image.
    • edit /etc/yum.repos.d files to comment in baseurl and change https to http for mirror sites
  • 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!