X-Git-Url: http://source.bookstackapp.com/devops/blobdiff_plain/bc798bd02a031727cfbdf9381de54fddc302a6a4..HEAD:/scripts/installation-ubuntu-16.04.sh diff --git a/scripts/installation-ubuntu-16.04.sh b/scripts/installation-ubuntu-16.04.sh index c67babe..6e5d06b 100644 --- a/scripts/installation-ubuntu-16.04.sh +++ b/scripts/installation-ubuntu-16.04.sh @@ -2,6 +2,10 @@ # This script will install a new BookStack instance on a fresh Ubuntu 16.04 server. # This script is experimental and does not ensure any security. +echo "THIS SCRIPT IS NO LONGER SUPPORTED OR MAINTAINED" +echo "IT MAY NOT WORK WITH CURRENT VERSIONS OF BOOKSTACK" +echo "" + echo "" echo -n "Enter the domain you want to host BookStack and press [ENTER]: " read DOMAIN @@ -62,7 +66,7 @@ php artisan migrate --no-interaction --force chown www-data:www-data -R bootstrap/cache public/uploads storage && chmod -R 755 bootstrap/cache public/uploads storage # Add nginx configuration -curl -s https://raw.githubusercontent.com/BookStackApp/devops/master/config/nginx/ubuntu-1604-install-config > /etc/nginx/sites-available/bookstack +curl -s https://raw.githubusercontent.com/BookStackApp/devops/main/config/nginx/ubuntu-1604-install-config > /etc/nginx/sites-available/bookstack sed -i.bak "s/bookstack.dev/$DOMAIN/" /etc/nginx/sites-available/bookstack ln -s /etc/nginx/sites-available/bookstack /etc/nginx/sites-enabled/bookstack