Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/vm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Hansson <github@hanssonit.se>2020-07-06 22:36:59 +0300
committerGitHub <noreply@github.com>2020-07-06 22:36:59 +0300
commit7a69f992d38799c906725d602207b691a2a8f4ad (patch)
treec61804a707d89271569e4f9d5a0ced5bc841c587 /static/instruction.sh
parent4fb19efd3d62c5091d842079f0177afc44948f8e (diff)
Revert "[very much WIP] Official VM (#1302)" (#1311)
This reverts commit 4fb19efd3d62c5091d842079f0177afc44948f8e.
Diffstat (limited to 'static/instruction.sh')
-rw-r--r--static/instruction.sh41
1 files changed, 41 insertions, 0 deletions
diff --git a/static/instruction.sh b/static/instruction.sh
new file mode 100644
index 00000000..384268c2
--- /dev/null
+++ b/static/instruction.sh
@@ -0,0 +1,41 @@
+#!/bin/bash
+
+# T&M Hansson IT AB © - 2020, https://www.hanssonit.se/
+
+VMLOGS=/var/log/nextcloud
+BIGreen='\e[1;92m' # Green
+IGreen='\e[0;92m' # Green
+Color_Off='\e[0m' # Text Reset
+
+clear
+cat << INST1
++-----------------------------------------------------------------------+
+| Welcome to the first setup of your own Nextcloud Server! :) |
+| |
+INST1
+echo -e "|" "${IGreen}To run the startup script type the sudoer password, then hit [ENTER].${Color_Off} |"
+echo -e "|" "${IGreen}The default sudoer password is: ${BIGreen}nextcloud${IGreen}${Color_Off} |"
+cat << INST2
+| |
+| You can find the complete install instructions here: |
+| Nextcloud VM = https://bit.ly/2S8eGfS |
+| Nextcloud Home/SME Server = https://bit.ly/2k2TNaM |
+| |
+| To be 100% sure that all the keystrokes work correctly (like @), |
+| please use an SSH terminal like Putty. You can download it here: |
+| https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html |
+| If you are running Windows 10 1809 or later, you can simply use SSH |
+| from the command prompt. |
+| Connect like this: ssh ncadmin@local.IP.of.this.server |
+| |
+| You can schedule the Nextcloud update process using a cron job. |
+| This is done using a script built into this server that automatically |
+| updates Nextcloud, sets secure permissions, and logs the successful |
+| update to $VMLOGS/update.log |
+| Just choose to configure it when asked to do so later in this script. |
+| |
+| ###################### T&M Hansson IT - $(date +"%Y") ###################### |
++-----------------------------------------------------------------------+
+INST2
+
+exit 0