...
Code Block |
---|
|
chkconfig --add omkdmysqld on
chkconfig omkd on
chkconfig httpd on |
Copy the config files.
Code Block |
---|
|
cp install/users.dat conf/
cp install/oae_reports.json conf/
cp install/opCommon.nmis conf/ |
...
Code Block |
---|
|
mysql -u root -popenauditrootuserpassword -e "USE openaudit; DELETE FROM oa_config WHERE config_name = 'maps_url'; INSERT INTO oa_config (config_name, config_value, config_editable, config_description) VALUES ('maps_url', 'http://IPADDRESS/omk/oae/map', 'y', 'The web server address of Maps for Open-AudIT Enterprise.');"
mysql -u root -popenauditrootuserpassword -e "USE openaudit; DELETE FROM oa_config WHERE config_name = 'oae_url'; INSERT INTO oa_config (config_name, config_value, config_editable, config_description) VALUES ('oae_url', 'http://IPADDRESS/omk/oae', 'y', 'The web server address of Open-AudIT Enterprise.');" |
PHP Installation
Code Block |
---|
|
yum -y install nano openssh-server php php-cli php-mysql php-ldap php-mbstring php-mcrypt php-snmp php-xml nmap snmp zip |
Test the website
You should now be able to access the web page at http://IPADDRESS/index.php Assuming you can, proceed to the next section.
...