2009-10-29 12:36:59 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
2022-07-20 07:10:37 +02:00
|
|
|
echo Change the user and group to /var/www/html/pandora_console.
|
|
|
|
chmod -R u+rwX,g+rX,g-w,o-rwx /var/www/html/pandora_console
|
|
|
|
chgrp www-data /var/www/html/pandora_console -R
|
|
|
|
chown www-data /var/www/html/pandora_console -R
|
|
|
|
|
2016-03-27 22:23:24 +02:00
|
|
|
if [ -f /etc/init.d/apache2 ]; then
|
2009-10-30 12:42:51 +01:00
|
|
|
echo Restart the apache.
|
|
|
|
/etc/init.d/apache2 restart
|
2016-03-27 22:23:24 +02:00
|
|
|
fi
|
2009-10-29 12:40:23 +01:00
|
|
|
|
2019-11-05 12:01:58 +01:00
|
|
|
echo "You can now start the Pandora FMS Websocket service by executing"
|
|
|
|
echo " /etc/init.d/pandora_websocket_engine start"
|
|
|
|
|
2009-12-24 11:55:36 +01:00
|
|
|
echo "Please, now, point your browser to http://your_IP_address/pandora_console/install.php and follow all the steps described on it."
|