Creating an SL Virtual Machine

You can create an SL virtual machine on a different operating system in order to run the artdaq demo. Below are the instructions, tested on Mac OS X 10.10.

  1. Download VirtualBox for your OS and the extension pack from the VirtualBox web page:
  2. Install VirtualBox, and then the Extension Pack.
  3. Make an "Other Linux" virtual machine system. I'd recommend 2 GB of RAM, and at least 15 GB of hard disk (but opt for more if you can).
  4. Download a boot ISO for SL. You can find a SLF6 one here:
  5. Point the CDROM of the virtual machine to load this file. To do that, in the VM settings, go to storage, click on the optical drive, and then click on the cdrom button on the right-hand side under the attributes. Click the 'Choose Virtual Optical Disk File' option, and point it to the boot ISO from the previous step.
  6. Start the VM. You should see a 'Welcome to SLF 6!' screen and give options for installation. Choose 'Install or Upgrade to SLF6.x'
  7. After some booting, it will ask to do a test of the disk (the boot ISO). Say 'Skip'
  8. It should download updates and a basic installation image, and lead you to the GUI installation screen.
  9. Follow the steps through that, setting up the system as you'd like. I'd recommend one partition devoted to the VM, where you completely wipe whatever was before it.
  10. Select the timezone.
  11. Choose installation packages. I'd suggest the default SLF Desktop, with just the default options for add-ons.
  12. Wait for the installation to finish. Will likely take a while!
  13. There will be an automatic reboot. Turn the VM off at this point, and go back to the VM settings, Storage, and click on the optical drive, then click on the cdrom button and click 'Remove Disk from Virtual Drive'
  14. Start up the VM, fill out the initial user info.
  15. Follow the instructions for the artdaq demo. You will need to install ruby: to do so, you can use the gui package manager. Go to 'System' on the main toolbar, then 'Administration' then 'Add/Remove Software'. Search for 'curl' and download the basic ruby library.
  16. Before running the quick-start, you need to change the /etc/hosts file to recognize your system name. Find your assigned IP address (using ifconfig), and insert a line into the /etc/hosts file as root to assign the hostname as a nickname for that IP address (follow the pattern for the local host). Then you can run the demo.