In addition to my other topic https://help.nextcloud.com/t/complete-nc-installation-on-debian-with-spreed-me-and-turn-step-by-step/ i created a script to do a full installation of Nextcloud on a debian 8.5 server. It’s a dumb script, nothing fancy, but it does save you some time.
All you need to prepare yourself is a debian 8.5 server with the bare minimal of ssh-server and system tools. After you installed the debian server download the script to your /root folder and chmod it to 754. After that you can execute the script. It will install:
apache, php, mariadb
create a certificate
install nextcloud and create a admin user (username admin) and mariadb database
install go (golang) for spreedme-server
install spreedme app
Just read the instruction on screen.
You need to enable the spreed.me app when the script completed (in nextcloud / +apps/ not enabled apps). There is a configuration error. when entering spreed.me there is an error stating you need to login to create rooms. Havent found a solution yet. If you do please post it here so i can edit the script. Also after a server reboot the spreed.me server won’t start automaticly, but at the end of the script i show the command i use to let spreed.me server run in the background.
Also for security reasons you should move /var/www/nextcloud/data to /var/ncdata but thats up to you.