Changes between Version 11 and Version 12 of InstallingFromSources

Show
Ignore:
Timestamp:
06/03/11 16:00:28 (13 years ago)
Author:
bartek
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • InstallingFromSources

    v11 v12  
    3535}}} 
    3636== Service configuration == 
    37 Minimal configuration requires only the host and port to be changed in the main service configuration file: `PREFIX/etc/qcg-ntfd.xml`. The complete configuration guide can be found in the `PREFIX/share/qcg-ntf/doc/` directory.  
     37Minimal configuration requires only the host and port to be changed in the main service configuration file: `PREFIX/etc/qcg-ntfd.xml`. Although it is optional, you may also need to setup a database to realize more advanced notification scenarios. 
     38 
     39=== Database configuration === 
     40The easiest way to setup QCG-Notification database is use of provided script located in `PREFIX/share/qcg-ntf/tools/` direcotory: 
     41{{{ 
     42#!div style="font-size: 90%" 
     43{{{#!sh 
     44/opt/qcg/share/qcg-ntf/tools/qcg-ntf-install.sh 
     45Welcome to qcg-ntf installation script! 
     46 
     47This script will guide you through process of configuring proper environment 
     48for running the QCG-Notification service. You have to answer few questions regarding 
     49parameters of your database. If you are not sure just press Enter and use the 
     50default values. 
     51   
     52Use local PostgreSQL server? (y/n) [y]: y 
     53Database [qcg_ntf]:  
     54User [qcg_ntf]:  
     55Password [qcg_ntf]: MojeTajneHaslo 
     56Create database? (y/n) [y]: y 
     57Create user? (y/n) [y]: y 
     58   
     59Checking for system user qcg_ntf...OK 
     60Checking whether PostgreSQL server is installed...OK 
     61Checking whether PostgreSQL server is running...OK 
     62   
     63Performing installation 
     64* Creating user qcg_ntf...OK 
     65* Creating database qcg_ntf...OK 
     66* Creating database schema...OK 
     67* Checking for ODBC data source qcg_ntf... 
     68* Installing ODBC data source...OK 
     69     
     70Remember to add appropriate entry to /var/lib/pgsql/data/pg_hba.conf (as the first rule!) to allow user qcg_ntf to 
     71access database qcg_ntf. For instance: 
     72   
     73host    qcg_ntf       qcg_ntf       127.0.0.1/32    md5 
     74   
     75and reload Postgres server. 
     76}}} 
     77}}} 
     78 
     79The complete configuration guide can be found in the `PREFIX/share/qcg-ntf/doc/` directory.  
    3880 
    3981= Starting the service =