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
a223407c
Commit
a223407c
authored
Mar 10, 2025
by
w4t
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wtserver 0.17
parent
5369d2ca
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
install_extraphp.sh
distros/debian12/install_extraphp.sh
+3
-3
install_letsencrypt.sh
distros/debian12/install_letsencrypt.sh
+4
-3
No files found.
distros/debian12/install_extraphp.sh
View file @
a223407c
OS_default_PHP_back
()
{
update-alternatives
--set
php /usr/bin/php8.2
update-alternatives
--set
php-cgi /usr/bin/php-cgi8.2
update-alternatives
--set
php-fpm.sock /run/php/php8.2-fpm.sock
update-alternatives
--set
php /usr/bin/php8.2
>>
$PROGRAMS_INSTALL_LOG_FILES
2>&1
update-alternatives
--set
php-cgi /usr/bin/php-cgi8.2
>>
$PROGRAMS_INSTALL_LOG_FILES
2>&1
update-alternatives
--set
php-fpm.sock /run/php/php8.2-fpm.sock
>>
$PROGRAMS_INSTALL_LOG_FILES
2>&1
}
InstallPhp55
()
{
...
...
distros/debian12/install_letsencrypt.sh
View file @
a223407c
...
...
@@ -5,7 +5,7 @@
InstallLetsEncrypt
()
{
local
START_TIME
=
$SECONDS
echo
-n
-e
"
$IDENTATION_LVL_0
${
BWhite
}
Installing LetsEncrypt Certbot
${
NC
}
"
echo
-n
-e
"
$IDENTATION_LVL_0
${
BWhite
}
Installing LetsEncrypt Certbot
${
NC
}
\n
"
if
[
$CFG_CERTBOT_VERSION
==
"Certbot"
]
;
then
if
[
$CFG_WEBSERVER
==
"apache"
]
;
then
...
...
@@ -42,8 +42,9 @@ InstallLetsEncrypt() {
#wget -O - https://raw.githubusercontent.com/acmesh-official/acme.sh/master/acme.sh | INSTALLONLINE=1 sh
#wget -O - https://raw.githubusercontent.com/acmesh-official/acme.sh/master/acme.sh | sh -s -- --install-online -m wolftronics@wolftronics.hu
curl https://get.acme.sh | sh
-s
acme.sh
--set-default-ca
--server
letsencrypt
curl https://get.acme.sh | sh
-s
>>
$PROGRAMS_INSTALL_LOG_FILES
2>&1
./root/.acme.sh/acme.sh
--set-default-ca
--server
letsencrypt
>>
$PROGRAMS_INSTALL_LOG_FILES
2>&1
echo
-e
"[
${
green
}
DONE
${
NC
}
]"
USER_HOME
=
"/home/
$SUDO_USER
/"
if
[
!
-d
"
$USER_HOME
/.acme.sh"
]
;
then
...
...
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