Update install-multicraft.sh
This commit is contained in:
@@ -68,11 +68,7 @@ ProtectedConf="/protected/config/config.php"
|
|||||||
cd ${WebRoot}/multicraft/
|
cd ${WebRoot}/multicraft/
|
||||||
mv protected /
|
mv protected /
|
||||||
mv ${ProtectedConf}.dist ${ProtectedConf}
|
mv ${ProtectedConf}.dist ${ProtectedConf}
|
||||||
chown -rf www-data:www-data ${WebRoot}/multicraft
|
|
||||||
chown -rf www-data:www-data /protected
|
|
||||||
chmod 777 assets
|
|
||||||
chmod -rf 775 ${WebRoot}/multicraft
|
|
||||||
chmod -rf 775 /protected
|
|
||||||
sed -i 's/dirname(__FILE__)./\E/g' index.php
|
sed -i 's/dirname(__FILE__)./\E/g' index.php
|
||||||
rm -fv api.php install.php
|
rm -fv api.php install.php
|
||||||
|
|
||||||
@@ -194,6 +190,11 @@ ${APTFUNC} -y install oracle-java8-installer
|
|||||||
|
|
||||||
java -version
|
java -version
|
||||||
|
|
||||||
|
chown -rf www-data:www-data ${WebRoot}/multicraft
|
||||||
|
chown -rf www-data:www-data /protected
|
||||||
|
chmod -rf 775 ${WebRoot}/multicraft
|
||||||
|
chmod -rf 775 /protected
|
||||||
|
|
||||||
# Restart Services
|
# Restart Services
|
||||||
service apache2 stop
|
service apache2 stop
|
||||||
service apache2 start
|
service apache2 start
|
||||||
|
|||||||
Reference in New Issue
Block a user