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
c22523d6
Commit
c22523d6
authored
Mar 10, 2025
by
w4t
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wtserver 0.19
parent
f6710673
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
51 additions
and
41 deletions
+51
-41
install_mta.sh
distros/debian12/install_mta.sh
+7
-5
install_webmail.sh
distros/debian12/install_webmail.sh
+34
-34
install_webserver.sh
distros/debian12/install_webserver.sh
+7
-1
install.sh
install.sh
+3
-1
No files found.
distros/debian12/install_mta.sh
View file @
c22523d6
...
...
@@ -261,13 +261,15 @@ EOF
chown
-R
mail:mail
"
$STORAGE_ROOT
/mail/sieve"
# Allow the IMAP/POP ports in the firewall.
ufw_allow imaps
ufw_allow pop3s
#ufw_allow imaps
#ufw_allow pop3s
ufw allow imaps
>
/dev/null
;
ufw allow pop3s
>
/dev/null
;
# Allow the Sieve port in the firewall.
ufw_allow sieve
#ufw_allow sieve
ufw allow pop3s
>
/dev/null
;
# Restart services
.
# Restart services
restart_service dovecot
echo
-e
"[
${
green
}
DONE
${
NC
}
]"
...
...
distros/debian12/install_webmail.sh
View file @
c22523d6
This diff is collapsed.
Click to expand it.
distros/debian12/install_webserver.sh
View file @
c22523d6
...
...
@@ -237,7 +237,7 @@ EOF
echo
-n
-e
"
$IDENTATION_LVL_1
Installing PHP and modules... "
# apt_install php8.2-mcrypt mcrypt # már nem ajánlatos használni, max a régi php-éknál
apt_install php8.2 php8.2-common php8.2-dev php8.2-bcmath php8.2-exif php8.2-gd php8.2-mysql php8.2-imap php8.2-cli php8.2-cgi php-pear libruby php8.2-curl php8.2-intl php8.2-pspell php8.2-sqlite3 php8.2-tidy php8.2-xmlrpc php8.2-xsl memcached php-memcache php8.2-memcached imagemagick php8.2-imagick php-php-gettext php8.2-zip php8.2-mbstring php8.2-soap php8.2-snmp php8.2-xml php8.2-pdo php8.2-pdo-mysql php8.2-pdo-sqlite php8.2-pdo-pgsql php8.2-pgsql php8.2-ssh2 php8.2-xdebug php8.2-mysqlnd php8.2-mysqli php8.2-posix php8.2-simplexml php8.2-ftp php8.2-fpm php8.2-opcache php-apcu
apt_install php8.2 php8.2-common php8.2-dev php8.2-bcmath php8.2-exif php8.2-gd php8.2-mysql php8.2-imap php8.2-cli php8.2-cgi php-pear libruby php8.2-curl php8.2-intl php8.2-pspell php8.2-sqlite3 php8.2-tidy php8.2-xmlrpc php8.2-xsl memcached php-memcache php8.2-memcached imagemagick php8.2-imagick php-php-gettext php8.2-zip php8.2-mbstring php8.2-soap php8.2-snmp php8.2-xml php8.2-pdo php8.2-pdo-mysql php8.2-pdo-sqlite php8.2-pdo-pgsql php8.2-pgsql php8.2-ssh2 php8.2-xdebug php8.2-mysqlnd php8.2-mysqli php8.2-posix php8.2-simplexml php8.2-ftp php8.2-fpm php8.2-opcache php
8.2
-apcu
#php8.2-openssl php8.2-json
...
...
@@ -281,6 +281,12 @@ EOF
#sed -i -e '/worker_processes/c\worker_processes 5;' /etc/nginx/nginx.conf
echo
-e
"[
${
green
}
DONE
${
NC
}
]"
# APCu és Memcache konfiguráció hozzáadása
echo
-n
-e
"
$IDENTATION_LVL_1
Adding APCu and Memcache configuration... "
echo
"extension=apcu.so"
|
sudo tee
/etc/php/8.2/fpm/conf.d/20-apcu.ini
>
/dev/null
echo
"extension=memcache.so"
|
sudo tee
/etc/php/8.2/fpm/conf.d/20-memcache.ini
>
/dev/null
echo
-e
"[
${
green
}
DONE
${
NC
}
]"
echo
-n
-e
"
$IDENTATION_LVL_1
Reloading PHP-FPM and Nginx... "
hide_output systemctl reload php8.2-fpm
systemctl restart nginx
...
...
install.sh
View file @
c22523d6
...
...
@@ -354,6 +354,9 @@ if [ -f /etc/debian_version ]; then
if
[
"
$CFG_SETUP_NS
"
==
"yes"
]
||
[
"
$CFG_MULTISERVER
"
==
"no"
]
;
then
InstallBind
fi
InstallFail2ban
if
[
"
$CFG_SETUP_MAIL
"
==
"yes"
]
||
[
"
$CFG_MULTISERVER
"
==
"no"
]
;
then
InstallPostfix
InstallMTA
...
...
@@ -364,7 +367,6 @@ if [ -f /etc/debian_version ]; then
fi
InstallWebStats
InstallFail2ban
if
[
"
$CFG_SETUP_MASTER
"
==
"yes"
]
||
[
"
$CFG_MULTISERVER
"
==
"no"
]
;
then
InstallISPConfig
...
...
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