Personal tools
You are here: Home Documentation Gratia Accounting Viewer Installation
Document Actions

Accounting Viewer Installation

by admin last modified 2008-12-22 06:29

UNL has put together its own custom accounting viewer based upon the Gratia DB. This page covers its installation

  1. Make sure that the Nebraska YUM repository is on this machine.  If it isn't, install the following RPM as root (assuming a SL5 / x86_64 machine):
    rpm -i http://t2.unl.edu/store/rpms/SL5/x86_64/Nebraska-repo-0.1-1.noarch.rpm
  2. Install the AccountingView RPM via YUM:
    yum install AccountingView
    The current version as of this writing is 0.1.1-1.
  3. Create a new database parameter file from the template:
    cp /etc/DBParam_basic.xml.rpmnew /etc/DBParam.xml
    Edit the newly created /etc/DBParam.xml and fill in the correct database authentication information.
  4. Add the GratiaBasicWeb service to the startup service list:
    /sbin/chkconfig --level 345 GratiaBasicWeb on
    Modify the above line as desired.
  5. Start up the web interface:
    /etc/init.d/GratiaBasicWeb start
    There are (unrotated) log files kept in /var/log/GratiaWeb*.  This will start a service on port 8100 of the host machine.
  6. If you want users to be able to access the web interface via the standard HTTP port (highly recommended), you'll need to create an apache redirect.  Alter httpd.conf to contain:
    <VirtualHost *:80>
    # Change the alias to reflect your hostname
    ServerAlias   gratia.example.com
    ServerAdmin   webmaster@example.org
    ServerSignature On

     LogLevel warn

     <IfModule mod_rewrite.c>
       RewriteEngine On
       RewriteRule ^/gratia/(.*) http://localhost:8100/gratia/$1 [L,P]
    </IfModule>
    </VirtualHost>
    Make sure you replace "gratia.example.com" above with the correct webserver address.  Restart apache.



Powered by Plone, the Open Source Content Management System