Start Apache and MySQL before installing the console.
This commit is contained in:
parent
e7a555532f
commit
7105d6801e
|
@ -16,6 +16,12 @@ function check {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Start the required services.
|
||||||
|
service mysqld start && /usr/bin/mysqladmin -u root password 'pandora'
|
||||||
|
check "Starting the MySQL Server" $?
|
||||||
|
service httpd start
|
||||||
|
check "Starting the Apache Web Server" $?
|
||||||
|
|
||||||
# Install the Pandora FMS Console.
|
# Install the Pandora FMS Console.
|
||||||
cd /tmp/pandorafms/pandora_console && chmod +x pandora_console_install && yes | ./pandora_console_install --install
|
cd /tmp/pandorafms/pandora_console && chmod +x pandora_console_install && yes | ./pandora_console_install --install
|
||||||
check "Installing the Pandora FMS Console" $?
|
check "Installing the Pandora FMS Console" $?
|
||||||
|
@ -34,11 +40,7 @@ check "Installing the Pandora FMS Server" $?
|
||||||
cd /tmp/pandorafms/pandora_agents/unix && chmod +x pandora_agent_installer && ./pandora_agent_installer --install
|
cd /tmp/pandorafms/pandora_agents/unix && chmod +x pandora_agent_installer && ./pandora_agent_installer --install
|
||||||
check "Installing the Pandora FMS Agent" $?
|
check "Installing the Pandora FMS Agent" $?
|
||||||
|
|
||||||
# Start the required services.
|
# Start Pandora FMS services.
|
||||||
service mysqld start && /usr/bin/mysqladmin -u root password 'pandora'
|
|
||||||
check "Starting the MySQL Server" $?
|
|
||||||
service httpd start
|
|
||||||
check "Starting the Apache Web Server" $?
|
|
||||||
service tentacle_serverd start
|
service tentacle_serverd start
|
||||||
check "Starting the Tentacle Server" $?
|
check "Starting the Tentacle Server" $?
|
||||||
service pandora_server start
|
service pandora_server start
|
||||||
|
|
Loading…
Reference in New Issue