Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wtlinux_server_setup
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
w4t
wtlinux_server_setup
Commits
5c4a9e1e
Commit
5c4a9e1e
authored
Mar 17, 2025
by
w4t
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wtserver 0.71
parent
08fcaa99
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
askquestions.sh
distros/debian12/askquestions.sh
+1
-1
install_ispconfig.sh
distros/debian12/install_ispconfig.sh
+7
-3
No files found.
distros/debian12/askquestions.sh
View file @
5c4a9e1e
...
@@ -16,7 +16,7 @@ AskQuestions() {
...
@@ -16,7 +16,7 @@ AskQuestions() {
echo
echo
if
[[
!
"
$CFG_SSL_NEW
"
=
~
$RE
]]
;
then
if
[[
!
"
$CFG_SSL_NEW
"
=
~
$RE
]]
;
then
if
(
whiptail
--title
"SSL"
--backtitle
"
$WT_BACKTITLE
"
--yesno
"Generate new ssl or used last gerated ssl?"
$WT_HEIGHT
$WT_WIDTH
)
then
if
(
whiptail
--title
"SSL"
--backtitle
"
$WT_BACKTITLE
"
--yesno
--defaultno
"Generate new ssl or used last gerated ssl?"
$WT_HEIGHT
$WT_WIDTH
)
then
CFG_SSL_NEW
=
yes
CFG_SSL_NEW
=
yes
else
else
CFG_SSL_NEW
=
no
CFG_SSL_NEW
=
no
...
...
distros/debian12/install_ispconfig.sh
View file @
5c4a9e1e
...
@@ -32,9 +32,13 @@ InstallISPConfig() {
...
@@ -32,9 +32,13 @@ InstallISPConfig() {
else
else
SQL_COMMAND
=
"mysql"
SQL_COMMAND
=
"mysql"
fi
fi
$SQL_COMMAND
-uroot
-p
"
$CFG_MYSQL_ROOT_PWD
"
-e
"CREATE USER 'ispconfig'@'localhost' IDENTIFIED BY '
$CFG_MYSQL_ISPCONFIG_PWD
';"
>
/dev/null 2>&1
$SQL_COMMAND
-uroot
-p
"
$CFG_MYSQL_ROOT_PWD
"
-e
"CREATE USER 'ispconfig'@'localhost' IDENTIFIED BY '
$CFG_MYSQL_ISPCONFIG_PWD
';"
$SQL_COMMAND
-uroot
-p
"
$CFG_MYSQL_ROOT_PWD
"
-e
"GRANT ALL PRIVILEGES ON *.* TO 'ispconfig'@'localhost' WITH GRANT OPTION;"
>
/dev/null 2>&1
$SQL_COMMAND
-uroot
-p
"
$CFG_MYSQL_ROOT_PWD
"
-e
"GRANT ALL PRIVILEGES ON *.* TO 'ispconfig'@'localhost' WITH GRANT OPTION;"
$SQL_COMMAND
-uroot
-p
"
$CFG_MYSQL_ROOT_PWD
"
-e
"FLUSH PRIVILEGES;"
>
/dev/null 2>&1
$SQL_COMMAND
-uroot
-p
"
$CFG_MYSQL_ROOT_PWD
"
-e
"ALTER USER 'ispconfig'@'localhost' IDENTIFIED VIA mysql_native_password USING PASSWORD('
$CFG_MYSQL_ISPCONFIG_PWD
');
FLUSH PRIVILEGES;"
$SQL_COMMAND
-uroot
-p
"
$CFG_MYSQL_ROOT_PWD
"
-e
"FLUSH PRIVILEGES;"
if
[
"
$CFG_ISPC
"
==
"standard"
]
;
then
if
[
"
$CFG_ISPC
"
==
"standard"
]
;
then
echo
-n
-e
"
$IDENTATION_LVL_1
Creating autoinstall configuration file... "
echo
-n
-e
"
$IDENTATION_LVL_1
Creating autoinstall configuration file... "
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment