...
Code Block | ||
---|---|---|
| ||
service omkd start |
Test the daemon
You should now be able to point a web browser at http://SERVER:8042/omk/oae
The default credentials for the Dashboard are user: nmis, password: nm1888.
Configure Apache
Copy the apache config file to the correct location and restart apache.
...
Section | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Configure MySQL
...
- The root password for MySQL
...
- needs to be set next; if you have used
mysql_secure_installation
ormysqladmin
before to set the password, then you can skip this step.
In the command below
...
- replace the token
PASSWORD
(and only the
...
- all-uppercase token
PASSWORD
) with a suitable password of your choosing.
Code Block | ||
---|---|---|
| ||
mysql -u root -e "USE mysql; UPDATE user set Password = password('PASSWORD') WHERE User = 'root'; FLUSH PRIVILEGES;" |
...
- Now create the Open-AudIT database and the database user to be used by the application. Make sure you replace the token
PASSWORD
with the actual database password that you set.
Code Block | ||
---|---|---|
| ||
mysql -u root -pPASSWORD -e "CREATE DATABASE openaudit;" mysql -u root -pPASSWORD -e "CREATE USER openaudit@localhost IDENTIFIED BY 'openauditpassword';" mysql -u root -pPASSWORD -e "GRANT ALL PRIVILEGES ON openaudit.* TO openaudit@localhost IDENTIFIED BY 'openauditpassword';" mysql -u root -pPASSWORD -e "FLUSH PRIVILEGES;" |
Insert the database schema
Code Block | ||
---|---|---|
| ||
mysql -u root -pPASSWORD openaudit < /usr/local/open-audit/other/openaudit_mysql.sql |
...