-
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
[user@ip.address] 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
[user@ip.address] source /etc/environment [user@ip.address] 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
[user@ip.address] source /etc/environment
[user@ip.address] sudo chown $USER:$USER /opt
[user@ip.address] mkdir -p /opt/install
echo $USER
should return your current user name
[user@ip.address] echo $USER
user
echo $HYDRA_NAME
should return "hydradam"
[user@ip.address] echo $HYDRA_NAME
hydradam
echo $RAILS_ENV
should return "production"
[user@ip.address] echo $RAILS_ENV
production
Proceed to Install Dependencies or return to the Overview page.