-
Notifications
You must be signed in to change notification settings - Fork 0
Install notes
Sean Crowe edited this page Jan 30, 2017
·
4 revisions
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
# /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
\curl -sSL https://get.rvm.io | bash -s stable --ruby
Ruby 2.1.0