pandorafms/pandora_console/DEBIAN/postinst

16 lines
511 B
Bash
Executable File

#!/bin/bash
#I think that all world was online ;) .
#echo Install PEAR XML/RPC.php PHP Library.
#pear install XML_RPC
echo Change the user and group to /var/www/pandora_console.
chmod -R u+rwX,g+rX,g-w,o-rwx /var/www/pandora_console
chgrp www-data /var/www/pandora_console -R
chown www-data /var/www/pandora_console -R
echo Restart the apache.
/etc/init.d/apache2 restart
echo "Please, now, point your browser to http://your_IP_address/pandora_console/install.php and follow all the steps described on it."