41 lines
1.2 KiB
Plaintext
41 lines
1.2 KiB
Plaintext
$OpenBSD: README,v 1.3 2012/05/17 11:06:33 sthen Exp $
|
|
|
|
+-----------------------------------------------------------------------
|
|
| Running ${FULLPKGNAME} on OpenBSD
|
|
+-----------------------------------------------------------------------
|
|
|
|
Connect to the database as an administrative user, create the
|
|
icinga_web user and database, grant privileges and import the default
|
|
schema.
|
|
|
|
Example for MySQL:
|
|
|
|
$ myqsl -u root -p
|
|
[...]
|
|
SQL> CREATE DATABASE icinga_web;
|
|
SQL> GRANT USAGE ON *.* TO 'icinga_web'@'localhost' IDENTIFIED BY 'icinga_web_password';
|
|
SQL> GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, ALTER, INDEX ON icinga_web.* TO 'icinga_web'@'localhost';
|
|
SQL> FLUSH PRIVILEGES;
|
|
SQL> \u icinga_web;
|
|
SQL> \. ${PREFIX}/etc/schema/mysql.sql
|
|
|
|
|
|
|
|
${PREFIX}/app/config/databases.xml
|
|
${PREFIX}/etc/conf.d/databases.xml ?!?!
|
|
Change the credentials for your database connection
|
|
N.B. app/config/databases.xml entries for icinga_web *and* icinga db's
|
|
|
|
....???.....
|
|
${PREFIX}/app/modules/Web/config/module.xml
|
|
Go to the appkit.factories section and change the path and the
|
|
credentials for the icinga-api
|
|
|
|
default
|
|
User: root
|
|
Pass: password
|
|
|
|
|
|
|
|
|