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
dfbd2e71
Commit
dfbd2e71
authored
Mar 11, 2025
by
w4t
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wtserver 0.28
parent
af2f3391
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
8 deletions
+12
-8
install_mta.sh
distros/debian12/install_mta.sh
+2
-2
install_owncloud.sh
distros/debian12/install_owncloud.sh
+10
-6
No files found.
distros/debian12/install_mta.sh
View file @
dfbd2e71
...
...
@@ -90,8 +90,8 @@ InstallMTA() {
#-e "s/^#first_valid_uid\s*=\s*.*/first_valid_uid = 0/" \
#/etc/dovecot/conf.d/10-mail.conf
sed
-E
\
-e
"s|
^mail_location[[:space:]]*=[[:space:]]*.*|mail_location = maildir:
$STORAGE_ROOT
/mail/mailboxes/%d/%n|"
\
sed
-
i
-
E
\
-e
"s|
mail_location = mbox:~/mail:INBOX=/var/mail/%u|mail_location = maildir:
$STORAGE_ROOT
/mail/mailboxes/%d/%n|"
\
-e
"s|^mail_privileged_group[[:space:]]*=[[:space:]]*.*|mail_privileged_group = mail|"
\
-e
"s|^#first_valid_uid[[:space:]]*=[[:space:]]*.*|first_valid_uid = 0|"
\
/etc/dovecot/conf.d/10-mail.conf
...
...
distros/debian12/install_owncloud.sh
View file @
dfbd2e71
...
...
@@ -3,6 +3,7 @@
# Install and configure Nextcloud or Seafile based on configuration
#---------------------------------------------------------------------
InstallCloud
()
{
local
START_TIME
=
$SECONDS
STORAGE_ROOT
=
"/var/www"
case
$CFG_CLOUDTYPE
in
...
...
@@ -44,6 +45,8 @@ Database password : $CFG_CLOUDDBPWD
#------------------------------
EOF
echo
-e
"[
${
green
}
DONE
${
NC
}
]"
MeasureTimeDuration
$START_TIME
}
#---------------------------------------------------------------------
...
...
@@ -51,18 +54,19 @@ EOF
# Install and configure Nextcloud
#---------------------------------------------------------------------
InstallNextcloud
()
{
nextcloud_ver
=
31.0.0
nextcloud_hash
=
545584d128e3242337548ac2cdf31e6019b738f4
local
nextcloud_ver
=
31.0.0
local
nextcloud_hash
=
545584d128e3242337548ac2cdf31e6019b738f4
echo
-n
-e
"
$IDENTATION_LVL_0
${
BWhite
}
Installing Nextcloud
${
NC
}
"
echo
-n
-e
"
$IDENTATION_LVL_1
Installing required packages... "
echo
-e
"
$IDENTATION_LVL_0
${
BWhite
}
Installing Nextcloud
${
NC
}
"
echo
-n
-e
"
$IDENTATION_LVL_1
Installing required packages... "
# Install required PHP packages
apt_install php8.2 php8.2-fpm php8.2-cli php8.2-sqlite php8.2-gd php8.2-imap php8.2-curl php-pear curl
\
php8.2-dev memcached php-memcached php8.2-xml php8.2-mbstring php8.2-zip php8.2-apcu
\
php8.2-fpm php8.2-mysql php8.2-xsl php8.2-gmp php8.2-bcmath php8.2-cgi php-gettext libxml2-dev
\
php8.2-fpm php8.2-mysql php8.2-xsl php8.2-gmp php8.2-bcmath php8.2-cgi php-
php-
gettext libxml2-dev
\
php8.2-intl php8.2-imagick php8.2-common php8.2-opcache php8.2-readline php8.2
echo
-e
"[
${
green
}
DONE
${
NC
}
]"
# Enable APC before Nextcloud tools are run
sed
-i
'1i apc.enabled=1\napc.enable_cli=1'
/etc/php/8.2/mods-available/apcu.ini
...
...
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