-
Notifications
You must be signed in to change notification settings - Fork 7
Production Installation: Overview
randikathryn edited this page Feb 1, 2014
·
71 revisions
HydraDAM runs on Linux and these production installation instructions have been tested on Ubuntu and CentOS. They may or may not work on other flavors of unix.
Follow the instructions in the order listed below. We recommend using rvm in single-user development environments, however native installation of ruby in production environments is preferred because of complexities that can arise when using rvm under multiple user contexts.
- Set up prerequisites for these instructions.
- Install dependencies (development tools & libraries).
- (CentOS) Disable SELinux.
- Install Ruby 2.0 and Rubygems 2.0.
- Install Java 7.
- Install Tomcat.
- Install a sql db for Fedora.
- Install Fedora.
- Install solr 4.2.
- Install Redis.
- Install ffmpeg.
- Install fits.
- Clone the git repo & install gems.
- Install & configure Apache & Passenger.
- Create the production sql database.
- Create and configure the yml files.
- Configure the rails application.
- Create an admin user.
- Set up resque pool.
- Test your installation.
Troubleshooting: finding the logs, administering solr, administering fedora, administering resque-pool
Enhancements/Additions
- Log rotation - you may want to rotate the logs for mysql, tomcat, fedora, apache, and the application
- Enable/configure email for password resets
- Firewall to secure Solr and Fedora
- Add FTP functionality Ftp allows you to upload files larger than the http transfer limit. Large video files generally must be uploaded via ftp.
- (CentOS) Incorporating SELinux SELinux offers filesystem security by enforcing rules on CentOS servers. In its default configuration, SELinux will interfere with HydraDAM. You'll need to configure it to allow the processes HydraDAM needs if you want to use it on your HydraDAM server.