@@ -32,7 +32,8 @@ BLUE_TEXT='\033[1;34m'
32
32
YELLOW_TEXT=' \033[1;33m'
33
33
PLAIN_TEXT=' \033[0m'
34
34
35
- printf " \nAcuparse Installation Script v1.2.1\n\n"
35
+ printf " \nAcuparse Installation Script v1.2.2\n"
36
+ printf " This script should only be run on a freshly installed Debian/Ububtu/Raspbian system!\n\n"
36
37
37
38
# Ensure Debian/Ubuntu/Rasberian
38
39
OS=$( cat /etc/* release | grep ' ^ID=' | awk -F= ' { print $2 }' )
@@ -44,20 +45,20 @@ if [ "$OS" = "debian" ] || [ "$OS" = "ubuntu" ] || [ "$OS" = "raspbian" ]; then
44
45
fi
45
46
46
47
# Get variables and setup install
47
- printf " ${YELLOW_TEXT} Pre Install${PLAIN_TEXT} \n\n"
48
- printf " Make a note of your Acuparse database password.\nYou will need it to complete your install!\n\n"
49
-
48
+ printf " ${GREEN_TEXT} ####################\n# Pre-installation #\n####################${PLAIN_TEXT} \n\n"
49
+ printf " First, we'll configure your install:\n"
50
50
printf " ${RED_TEXT} When ready, Press [ENTER] to continue${PLAIN_TEXT} \n"
51
51
read READY
52
52
53
53
# MySQL Root
54
- printf " Enter MySQL ROOT password, followed by [ENTER]:\n"
54
+ printf " Enter NEW MySQL ROOT password, followed by [ENTER]:\n"
55
55
stty -echo
56
56
read MYSQL_ROOT_PASSWORD
57
57
stty echo
58
58
59
59
# Acuparse DB
60
- printf " Enter ACUPARSE database password, followed by [ENTER]:\n"
60
+ printf " Enter NEW Acuparse database password, followed by [ENTER]:\n"
61
+ printf " ${BLUE_TEXT} Make a note of this password, you will need it to finish your install!${PLAIN_TEXT} \n\n"
61
62
stty -echo
62
63
read ACUPARSE_DATABASE_PASSWORD
63
64
stty echo
@@ -102,10 +103,16 @@ if [ "$OS" = "debian" ] || [ "$OS" = "ubuntu" ] || [ "$OS" = "raspbian" ]; then
102
103
fi
103
104
fi
104
105
106
+ # Timezone Select
107
+ printf " Configuring your system timezone.\n\n"
108
+ printf " When ready, Press [ENTER] to continue\n"
109
+ read READY
110
+ dpkg-reconfigure tzdata
111
+ systemctl restart rsyslog.service
112
+
105
113
# Begin Install
106
- printf " \n${BLUE_TEXT} Installation Ready!${PLAIN_TEXT} \n\n"
114
+ printf " \n${GREEN_TEXT} #######################\n# Installation Ready! #\n####################### ${PLAIN_TEXT} \n\n"
107
115
printf " This process will install and configure packages.\nThis is your last chance to exit.\n\n"
108
-
109
116
printf " ${RED_TEXT} When ready, Press [ENTER] to continue${PLAIN_TEXT} \n"
110
117
read READY
111
118
0 commit comments