Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 25 Next »

These are my (bdwheele) brainstorming notes for the VM image...I'm still testing this.

VM Configuration

  • Using VirtualBox:
    • 1 Core
    • 3G RAM
    • 500G System Disk (VMDK, Dynamically Allocated)
    • Set network to "Attached to Bridged Adapter"

Base OS Install

  • Centos 6.4 x86-64
  • English language and keyboard
  • hostname: localhost.localdomain (the default)
    • if it is localhost it should set it to the dhcp hostname provided.
  • eth0:
    • Clear "Device MAC address"
    • Connect automatically
    • IPv4 Settings
      • Automatic (DHCP)

  • set timezone to america/indiana/indianapolis, clock uses utc
  • root password is 'changeme'
  • partitioning:
    • custom layout
      • /dev/sda1:  500M ext4 mounted as /boot
      • /dev/sda2:  (remainder of disk) Physical volume
      • Volume Group:  vg_avalon
        • PVs: /dev/sda2
        • LV lv_swap 2G
        • LV lv_root (remainder of disk) ext4 mounted as /
  • Desktop install
  • Reboot / Firstboot
    • Leave all of the defaults, except...
    • Do Not create a new user
  • Log in as root
    • do not check "do not show me this again" to the "you are running as root" dialog.  Just close it.
    • yum update
    • open these ports in the firewall:
      • tcp/22
      • tcp/80
      • tcp/1935
      • tcp/18080
    • clean up eth0 configuration in /etc/sysconfig/network-scripts/ifcfg-eth0:
      • remove UUID
      • remove any DHCP_CLIENT_ID
  • OPTIONAL:
    • shut down the VM
    • at this point the vm is at "baseOS" and can be used as a cloning point

Avalon Install

  • OPTIONAL:
    • clone the baseOS image as puppet-YYYYMMDD
  • Use the installation notes from https://github.com/avalonmediasystem/avalon-installer
    • When setting FACTER_* environment variables, set
      • FACTER_avalon_dropbox_password to "changeme"
      • FACTER_avalon_hostname to "localhost.localdomain"

Demo Content

  • OPTIONAL:
    • clone the puppet image as democontent-YYMMDD
  • Get the demo fixtures bundle

    cd /var/avalon/dropbox
    wget dlib.indiana.edu/~cjcolvar/DemoFixturesBatch.tar.gz     #We need a better place to serve this from
    tar xvzf DemoFixturesBatch.tar.gz

    Change the ownership to something reasonable

    chown avalondrop.dropbox -R DemoFixturesBatch
    Grab the demo fixtures bundle:
    
    cd /var/avalon/dropbox
    wget dlib.indiana.edu/~cjcolvar/DemoFixturesBatch.tar.gz     #We need a better place to serve this from
    tar xvzf DemoFixturesBatch.tar.gz
    
    #At this point the demo fixture batch should start running, you can check on them in the avalon interface, and you'll need to wait until it is all done
    
    Once it is done processing then figure out the pids for the three media objects
    
    Edit /var/www/avalon/current/app/views/catalog/_home_text.html.erb so that the a href's have a path to those objects:
    
    <a href="<%= media_object_path('avalon:1') %>" class="thumbnail"><%= image_tag "Nutcracker-Ballet.png", alt: "Featured Collection" %></a>
    
    Go to the home page and make sure that the images and objects match up and link correctly.  That's it!
    

VM Image Prep

 

  • No labels