-
Notifications
You must be signed in to change notification settings - Fork 7
Prerequisites
A Virtual Server (VM) or Machine with at least:
- 64-bit architecture
- 15G of memory
- 10G of disk space on the root drive
- 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
- 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). - Check to be sure that your environment contains a $USER variable.
echo $USER
should return your current user name. - 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
- 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
- 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
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
Proceed to Install Dependencies or return to the Overview page.