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
28b60ef8
Commit
28b60ef8
authored
Mar 12, 2025
by
w4t
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wtserver 0.38
parent
e3ee9112
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
7 deletions
+4
-7
install_letsencrypt.sh
distros/debian12/install_letsencrypt.sh
+0
-4
install_owncloud.sh
distros/debian12/install_owncloud.sh
+4
-3
No files found.
distros/debian12/install_letsencrypt.sh
View file @
28b60ef8
...
...
@@ -3,8 +3,6 @@
# Install and configure Let's Encrypt
#---------------------------------------------------------------------
InstallLetsEncrypt
()
{
local
START_TIME
=
$SECONDS
echo
-n
-e
"
$IDENTATION_LVL_1
Installing LetsEncrypt Certbot
\n
"
if
[
$CFG_CERTBOT_VERSION
==
"Certbot"
]
;
then
...
...
@@ -69,6 +67,4 @@ InstallLetsEncrypt() {
else
echo
-n
-e
"
$IDENTATION_LVL_1
SKIP INSTALL - Reason:
${
red
}
Your Choice
${
NC
}
\n
"
fi
MeasureTimeDuration
$START_TIME
}
distros/debian12/install_owncloud.sh
View file @
28b60ef8
...
...
@@ -169,7 +169,7 @@ fi
EOF
chmod
+x ./nextcloud_permissions.sh
#
./nextcloud_permissions.sh
./nextcloud_permissions.sh
# Create initial configuration
instanceid
=
oc
$(
echo
$CFG_HOSTNAME_DOMAIN
|
sha1sum
|
fold
-w
10 |
head
-n
1
)
...
...
@@ -212,7 +212,7 @@ EOF
#sudo -u www-data "$STORAGE_ROOT"/owncloud/occ config:system:set mysql.utf8mb4 --type boolean --value="true"
#sudo -u www-data "$STORAGE_ROOT"/owncloud/occ maintenance:repair
sudo
-u
www-data php8.2
"
$CLOUD_DIR
"
/occ maintenance:install
\
hide_output
sudo
-u
www-data php8.2
"
$CLOUD_DIR
"
/occ maintenance:install
\
--database
"mysql"
\
--database-name
"
$CFG_CLOUDDBNAME
"
\
--database-user
"
$CFG_CLOUDDBUSER
"
\
...
...
@@ -261,7 +261,7 @@ EOF
sed
-i
"/);/i
\$
CONFIG['user_backends'] = array(
\n
array(
\n
'class' => '
\\\\
OCA
\\\\
UserExternal
\\\\
IMAP',
\n
'arguments' => array(
\n
'127.0.0.1', 143, null, null, false, false
\n
),
\n
),
\n
);"
"
$CONFIG_FILE
"
fi
chown
www-data
.www-data
$CLOUD_DIR
/config.php
chown
www-data
:www-data
$CLOUD_DIR
/config.php
>>
$PROGRAMS_INSTALL_LOG_FILES
2>&1
# Enable/disable apps. Note that this must be done after the Nextcloud setup.
# The firstrunwizard gave Josh all sorts of problems, so disabling that.
...
...
@@ -464,6 +464,7 @@ InstallNextcloudVer() {
InstallNextcloudApps
# Fix directory permissions
#chown www-data:www-data /path/to/nextcloud/config/
chmod
750
$CLOUD_DIR
/
{
apps,config
}
# Create a symlink to the config.php in STORAGE_ROOT (for upgrades we're restoring the symlink we previously
...
...
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