2009-10-29 12:36:59 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
2009-10-30 12:42:51 +01:00
|
|
|
echo Change the user and group to /var/www/pandora_console.
|
2009-12-24 11:55:36 +01:00
|
|
|
chmod -R u+rwX,g+rX,g-w,o-rwx /var/www/pandora_console
|
2009-10-30 12:42:51 +01:00
|
|
|
chgrp www-data /var/www/pandora_console -R
|
|
|
|
chown www-data /var/www/pandora_console -R
|
2016-08-31 18:07:17 +02:00
|
|
|
if [ -d /var/www/html ]; then mv /var/www/pandora_console /var/www/html/; fi
|
|
|
|
|
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
|
|
|
|
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."
|