From bda3ad6400cdf7b625e3492e0c4c517b28d8a5c8 Mon Sep 17 00:00:00 2001 From: "rieger::CLOUD" Date: Sat, 21 Apr 2018 16:27:54 +0200 Subject: [PATCH] Update install-nextcloud.sh --- install-nextcloud.sh | 28 +++++++++++++++++++++++----- 1 file changed, 23 insertions(+), 5 deletions(-) diff --git a/install-nextcloud.sh b/install-nextcloud.sh index 142dd04..8c7de37 100644 --- a/install-nextcloud.sh +++ b/install-nextcloud.sh @@ -1,8 +1,9 @@ ####################################################### # Carsten Rieger IT-Services # INSTALL-NEXTCLOUD.SH -# Version 1.1 -# April 19th, 2018 +# Version 1.2 +# April 21st, 2018 +# version 1.2: changed the process of creating the Nextcloud db & user # version 1.1: added functions # Version 1.0: initial script ####################################################### @@ -211,14 +212,31 @@ innodb_large_prefix=on innodb_file_format=barracuda innodb_file_per_table=1 EOF -###restart MariaDB +clear +echo "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++" +echo "The Nextcloud-DB username and the Nextcloud-DB password - Attention: case-sensitive:" +echo "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++" +echo "Keep both in mind - you will be asked for while finishing the Nextcloud-Wizard!" +echo "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++" +echo "" +read -p "Nextcloud DB-Username: " NEXTCLOUDDBUSER +echo "Your Nextcloud-DB user: "$NEXTCLOUDDBUSER +echo "" +read -p "Nextcloud DB-Password: " NEXTCLOUDDBPASSWORD +echo "Your Nextcloud-DB password: "$NEXTCLOUDDBPASSWORD +echo "" +echo "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++" +echo "" +###restart MariaDB server andconnect to MariaDB service mysql restart && mysql -uroot <