Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Note

This documentation is for Release 3.x2. For the Release 1 version of this page, see v.81. For the Release 2 version of this page, see v.87. For the Release 3.0-3.1 version of this page, see v.100.

 

These instructions provide a recipe for building your own all-in-one Avalon system from scratch on CentOS or Red Hat Enterprise Linux.  Please note that while an all-in-one installation as outlined here is certainly suitable for testing and demos,  a single, all-in-one, server may not be suitable for production environments.  For recipes on building each piece of the Avalon system on different hosts, (as would typically be done for a production environment), please see the instructions for (standalone) environments here:  Fedora (standalone)MySQL (standalone)Web (standalone)Solr (standalone)Red5 (standalone), and Matterhorn (standalone).

...

Code Block
su - avalon
curl -L https://get.rvm.io | bash -s stable --ruby=2.1.9.35

Source the RVM shell (as avalon user)

...

Code Block
$ passenger-config --root
/home/avalon/.rvm/gems/ruby-2.1.9.3-p5455/gems/passenger-4.0.4056

Install Passenger apache module requirements (as root)

...

Code Block
LoadModule passenger_module /home/avalon/.rvm/gems/ruby-2.1.9.3-p5455/gems/passenger-4.0.4056/buildout/apache2/mod_passenger.so
<IfModule passenger_module>
  PassengerRoot /home/avalon/.rvm/gems/ruby-2.1.9.3-p5455/gems/passenger-4.0.4056
  PassengerDefaultRuby /home/avalon/.rvm/wrappers/ruby-2.1.9.3-p5455/ruby
  PassengerMaxPoolSize 30
  PassengerPoolIdleTime 300
  PassengerMaxInstancesPerApp 0
  PassengerMinInstances 3
  PassengerSpawnMethod smart-lv2
</IfModule>

...

Code Block
/etc/init.d/httpd restart
su - avalon
which passenger-status
#> ~/.rvm/gems/ruby-2.1.9.3-p4485/bin/passenger-status

Avalon

...