Page tree

Versions Compared


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


Installation type: custom
Fedora home directory: /usr/local/fedora
fedoraAdmin password: fedoraPassword
server host: localhost
Application context: fedora
require authentication for api-a: false
ssl availability: true 
ssl required for api-a: false
ssl required for api-m: true
servlet engine: existingTomcat
tomcat home: /usr/local/tomcat
tomcat http port: 8983
tomcat shutdown port: 8005
tomcat secure port: 8443
keystore file: default
password for keystore: changeit
keystore type: jks
database: mysql
mysql jdbc driver: included
database username:fcrepo
database password: fcrepo
jdbc url: default jdbc:mysql://localhost/fedora3?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true
jdbc driverclass:  default


accept remaining defaults


As Avalon user, Install RVM and ruby 1.9.3-p392p429

# curl -L | bash -s stable --ruby=1.9.3




Install Passenger apache module requirements (as root)


Code Block
LoadModule passenger_module /home/avalon/.rvm/gems/ruby-1.9.3-p392p429/gems/passenger-3.0.19/ext/apache2/
<IfModule passenger_module>
   PassengerRoot /home/avalon/.rvm/gems/ruby-1.9.3-p392p429/gems/passenger-3.0.19
   PassengerRuby /home/avalon/.rvm/wrappers/ruby-1.9.3-p392p429/ruby
  PassengerMaxPoolSize 30
  PassengerPoolIdleTime 300
  PassengerMaxInstancesPerApp 0

  PassengerMinInstances 3
  PassengerSpawnMethod smart-lv2



[avalon@localhost ~]$ which passenger-status


As Root


git clone git://

git checkout release/1.0.0master

rm  /var/www/avalon/.rvmrc


edit /var/www/avalon/.ruby-version and enter 1.9.3-p327p429

cp config/authentication.yml.example config/authentication.yml

edit config/database.yml

  adapter: mysql2
  database: rails
  username: rails
  password: rails
  pool: 5
  timeout: 5000


yum install mysql-devel

gem install activerecord-mysql2-adapter

gem install mysql2


edit Gemfile.local:

gem 'mysql2', '~>0.3.11'

Run bundle install

edit solr.yml

    url: http://localhost:8983/solr/

edit fedora.yml

    user: fedoraAdmin
    password: FedoraPassword


create config/matterhorn.yml



  url: http://matterhorn_system_account:CHANGE_ME@localhost:8080/

create config/avalon.yml

    path: '/var/avalon/dropbox/'
    upload_uri: 'sftp://localhost/var/avalon/dropbox'
    username: 'test'
    password: 'test'
    notification_email_address: ''


rake db:create

This command creates the database.


Visit port 80

Sign in

Create identifyidentity: