Skip to content
Sean Crowe edited this page Jan 30, 2017 · 4 revisions

Software

Postgresql 9.2.18

Apache Solr 4.10.2

Phusion Passenger

sudo yum install -y epel-release yum-utils
sudo yum-config-manager --enable epel
sudo yum clean all && sudo yum update -y
sudo yum install -y pygpgme curl
sudo curl --fail -sSLo /etc/yum.repos.d/passenger.repo https://oss-binaries.phusionpassenger.com/yum/definitions/el-passenger.repo
sudo yum install -y mod_passenger || sudo yum-config-manager --enable cr && sudo yum install -y mod_passenger
[source](https://www.phusionpassenger.com/library/install/apache/install/oss/el7/)  
# /etc/httpd/conf.d/tricerashopper.conf
<VirtualHost *:80>
    ServerName lucy.libraries.uc.edu

    # Tell Apache and Passenger where your app's 'public' directory is
    #DocumentRoot /var/www/tricerashopper/tricerashopper/public
    DocumentRoot /var/www/html

    PassengerRuby /home/tricerashopper/.rvm/gems/ruby-2.1.0@selector_reporting/wrappers/ruby

    Alias /tricerashopper /var/www/tricerashopper/tricerashopper/public
    <Location /tricerashopper>
        PassengerBaseURI /tricerashopper
        PassengerAppRoot /var/www/tricerashopper/tricerashopper

    </Location>
    <Directory /var/www/tricerashopper/tricerashopper/public>
        Allow from all
        Options -MultiViews
        # Uncomment this if you're on Apache >= 2.4:
        #Require all granted
    </Directory>
</VirtualHost>

Make sure to create a tricerashopper user to install and manage Ruby and tricerashopper

RVM

\curl -sSL https://get.rvm.io | bash -s stable --ruby

Ruby 2.1.0

Clone this wiki locally