Skip to content
randikathryn edited this page Jan 31, 2014 · 3 revisions

System Requirements

A Virtual Server (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

Software Requirements

  1. CentOS, Version 6.5 OR Ubuntu, Version 12.04 lts (Precise Pangolin)
  2. Native installation of Ruby

Steps

  1. Using bash as your shell, log in as a regular user (not a root user).
    Note: Make sure your user has full sudo privileges (with or without password).
  2. Check to be sure that your environment contains a $USER variable.
    echo $USER should return your current user name.
  3. Set a $HYDRA_NAME variable to be the name of this hydra head, HydraDAM. echo "HYDRA_NAME=hydradam" | sudo tee -a /etc/environment

[[email protected]] echo "HYDRA_NAME=hydradam" | sudo tee -a /etc/environment HYDRA_NAME=hydradam

and load it into your shell environment
source /etc/environment

  1. 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

[[email protected]] source /etc/environment [[email protected]] echo "RAILS_ENV=production" | sudo tee -a /etc/environment RAILS_ENV=production

  1. Create the /opt/install directory
sudo chown $USER:$USER /opt  
mkdir -p /opt/install

[[email protected]] source /etc/environment [[email protected]] sudo chown $USER:$USER /opt
[[email protected]] mkdir -p /opt/install

Verification/Validation Steps

echo $USER should return your current user name [[email protected]] echo $USER user

echo $HYDRA_NAME should return "hydradam"
[[email protected]] echo $HYDRA_NAME hydradam

echo $RAILS_ENV should return "production" [[email protected]] echo $RAILS_ENV production

Next Step

Proceed to Install Dependencies or return to the Overview page.

Clone this wiki locally