Skip to content

Installation: Prerequisites

randikathryn edited this page Jan 19, 2014 · 19 revisions

Goal

To verify that all the prerequisites have been met prior to installation.

Steps

  1. Use a vm or machine with at least:
    1. 64-bit architecture
    2. 15G of memory
    3. 10G of disk space on the root drive
    4. 30-300G of disk space on a drive mounted at /opt, depending on the files you plan to ingest - low end for images/text, high end for audio/video
  2. If using CentOS, use version 6.5 minimal install CentOS-6.5-x86_64-minimal.iso from any mirror.
  3. If using Ubuntu, use version 12.04 lts (Precise Pangolin) ubuntu-12.04.3-server-amd64.iso.
  4. Log in as a regular user (not root).
  5. Use bash as your shell.
  6. Make sure your user has full sudo privileges (with or without password).
  7. Check to be sure that your environment contains a $USER variable.
    echo $USER should return your current user name.
  8. Set a $HYDRA_NAME variable to be the name of this hydra head, hydradam. echo "HYDRA_NAME=hydradam" | sudo tee -a /etc/environment
    and load it into your shell environment
    source /etc/environment
  9. Set the rails environment ($RAILS_ENV) to production
    echo "RAILS_ENV=production" | sudo tee -a /etc/environment
    and load that into your shell environment
    source /etc/environment
  10. Create the /opt/install directory
sudo chown $USER:$USER /opt  
mkdir -p /opt/install

Verification/Validation Steps

echo $USER should return your current user name
echo $HYDRA_NAME should return "hydradam"
echo $RAILS_ENV should return "production"

Next Step

Proceed to ... or return to the ... page.

Clone this wiki locally