Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |
openils.xml [2007/05/09 07:14] – Update openils.xml -> opensrf.xml dbs | openils.xml [2010/09/06 13:11] (current) – Delete obsolete page dbs |
---|
[[user-comments:open-ils.xml|User Comments]] | |
| |
The opensrf config XML file is one of the more complicated pieces of the configuration process. OpenSRF is meant to be flexible, and as such it provides a lot of configuration options for running servers. Installing OpenSRF (which will happen when you install OpenILS) will create an ''opensrf.xml.example'' file with comments on the various configuration sections. Installing OpenILS will copy a customized version of ''opensrf.xml.example'' file for you to use as the template for the global configuration file. | |
| |
Below are the main sections that will need editing in ''opensrf.xml'': | |
| |
- edit the ''<dirs>'' section to point to directories created to hold the various pieces. Make sure that these directories all exist and can be written to by the user running the services before services are started. | |
- update username/password in the z3950/oclc section if you have an OCLC login and want to use the marc import functionality | |
- edit ''<open-ils.circ><app_settings><rules>''... to point to the installed circ rules. Their default location is ''PREFIX/var/circ/<filename>'' | |
- if necessary, update the database info in the storage settings (''<open-ils.storage>'') | |
- if you want to disable/enable any specific applications, update the ''<activeapps>'' listing, near the bottom of the config file | |
- edit the ''<hosts>'' section so that the first XML element name within it matches the results of running ''perl -MNet::Domain=hostfqdn -e 'print hostfqdn(); ''' on your server | |