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
424ef694
Commit
424ef694
authored
Mar 10, 2025
by
w4t
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wtserver 0.05
parent
ff1a9d74
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
askquestions.sh
distros/debian12/askquestions.sh
+1
-1
install_basics.sh
distros/debian12/install_basics.sh
+1
-1
install_webserver.sh
distros/debian12/install_webserver.sh
+1
-0
No files found.
distros/debian12/askquestions.sh
View file @
424ef694
...
@@ -147,7 +147,7 @@ AskQuestions() {
...
@@ -147,7 +147,7 @@ AskQuestions() {
while
[
"x
$CFG_PHP_VERSION
"
==
"x"
]
;
do
while
[
"x
$CFG_PHP_VERSION
"
==
"x"
]
;
do
CFG_PHP_VERSION
=
$(
whiptail
--title
"Choose PHP Version(s)"
--backtitle
"
$WT_BACKTITLE
"
--nocancel
--separate-output
--checklist
\
CFG_PHP_VERSION
=
$(
whiptail
--title
"Choose PHP Version(s)"
--backtitle
"
$WT_BACKTITLE
"
--nocancel
--separate-output
--checklist
\
"Choose PHP Version do you want to install"
$WT_HEIGHT
$WT_WIDTH
1
2
\
"Choose PHP Version do you want to install"
$WT_HEIGHT
$WT_WIDTH
1
3
\
"php5.5"
"Latest Available from 5.5"
OFF
\
"php5.5"
"Latest Available from 5.5"
OFF
\
"php5.6"
"Latest Available from 5.6"
OFF
\
"php5.6"
"Latest Available from 5.6"
OFF
\
"php7.0"
"Latest Available from 7.0"
OFF
\
"php7.0"
"Latest Available from 7.0"
OFF
\
...
...
distros/debian12/install_basics.sh
View file @
424ef694
...
@@ -36,7 +36,7 @@ InstallBasics() {
...
@@ -36,7 +36,7 @@ InstallBasics() {
echo
-e
"[
${
green
}
OK
${
NC
}
]"
echo
-e
"[
${
green
}
OK
${
NC
}
]"
fi
fi
echo
-n
"Installing basic packages (OpenSSH server, NTP, binutils, Rootkit detection (rkhunter) etc
.
)... "
echo
-n
"Installing basic packages (OpenSSH server, NTP, binutils, Rootkit detection (rkhunter) etc)... "
apt_install patch ssh openssh-server nano vim-nox ntp debconf-utils binutils
sudo
git lsb-release e2fsprogs curl rkhunter unzip wget htop nano zip
apt_install patch ssh openssh-server nano vim-nox ntp debconf-utils binutils
sudo
git lsb-release e2fsprogs curl rkhunter unzip wget htop nano zip
if
[
$?
-eq
0
]
;
then
if
[
$?
-eq
0
]
;
then
echo
-e
"[
${
green
}
DONE
${
NC
}
]"
echo
-e
"[
${
green
}
DONE
${
NC
}
]"
...
...
distros/debian12/install_webserver.sh
View file @
424ef694
...
@@ -3,6 +3,7 @@
...
@@ -3,6 +3,7 @@
# Install and configure Apache2, Nginx, PHP + modules, and security
# Install and configure Apache2, Nginx, PHP + modules, and security
#--------------------------------------------------------------------
#--------------------------------------------------------------------
InstallWebServer
()
{
InstallWebServer
()
{
echo
-n
-e
"
$IDENTATION_LVL_0
${
BWhite
}
Installing Web server...
${
NC
}
\n
"
if
[
"
$CFG_WEBSERVER
"
==
"apache"
]
;
then
if
[
"
$CFG_WEBSERVER
"
==
"apache"
]
;
then
CFG_NGINX
=
n
CFG_NGINX
=
n
CFG_APACHE
=
y
CFG_APACHE
=
y
...
...
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