mirror of
https://github.com/nextcloud/vm.git
synced 2025-10-26 11:27:32 +00:00
sed Tech and Me|T&M Hansson IT
Signed-off-by: Daniel Hansson <daniel@techandme.se>
This commit is contained in:
parent
5176eea973
commit
7402b9018c
@ -16,7 +16,7 @@
|
||||
* [Donate](https://shop.hanssonit.se/product-category/donate/) or buy our [pre-configured VMs](https://shop.hanssonit.se/product-category/virtual-machine/): 500 GB, 1 TB, PostgreSQL or Hyper-V.
|
||||
|
||||
## Current [maintainers](https://github.com/nextcloud/vm/graphs/contributors)
|
||||
* [Daniel Hanson](https://github.com/enoch85) @ [Tech and Me](https://www.techandme.se)
|
||||
* [Daniel Hanson](https://github.com/enoch85) @ [T&M Hansson IT AB](https://www.hanssonit.se)
|
||||
* You? :)
|
||||
|
||||
## Special thanks to
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Tech and Me © - 2018, https://www.techandme.se/
|
||||
# T&M Hansson IT AB © - 2018, https://www.hanssonit.se/
|
||||
|
||||
echo "Installing and securing Adminer..."
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Tech and Me © - 2018, https://www.techandme.se/
|
||||
# T&M Hansson IT AB © - 2018, https://www.hanssonit.se/
|
||||
|
||||
echo "Installing Collabora..."
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Tech and Me © - 2018, https://www.techandme.se/
|
||||
# T&M Hansson IT AB © - 2018, https://www.hanssonit.se/
|
||||
# Inspired by https://github.com/nextcloud/nextcloudpi/blob/master/etc/nextcloudpi-config.d/fail2ban.sh
|
||||
|
||||
echo "Installing Fail2ban..."
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Tech and Me © - 2018, https://www.techandme.se/
|
||||
# T&M Hansson IT AB © - 2018, https://www.hanssonit.se/
|
||||
# SwITNet Ltd © - 2018, https://switnet.net/
|
||||
|
||||
echo "Installing Elastic Search & Full Text Search on Nextcloud..."
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Tech and Me © - 2018, https://www.techandme.se/
|
||||
# T&M Hansson IT AB © - 2018, https://www.hanssonit.se/
|
||||
|
||||
echo "Installing Netdata..."
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Tech and Me © - 2018, https://www.techandme.se/
|
||||
# T&M Hansson IT AB © - 2018, https://www.hanssonit.se/
|
||||
|
||||
# shellcheck disable=2034,2059
|
||||
true
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
|
||||
echo "Installing OnlyOffice..."
|
||||
|
||||
# Tech and Me © - 2018, https://www.techandme.se/
|
||||
# T&M Hansson IT AB © - 2018, https://www.hanssonit.se/
|
||||
|
||||
# shellcheck disable=2034,2059
|
||||
true
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Tech and Me © - 2018, https://www.techandme.se/
|
||||
# T&M Hansson IT AB © - 2018, https://www.hanssonit.se/
|
||||
|
||||
# shellcheck disable=2034,2059
|
||||
true
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Tech and Me © - 2018, https://www.techandme.se/
|
||||
# T&M Hansson IT AB © - 2018, https://www.hanssonit.se/
|
||||
|
||||
echo "Installing Spreed.ME..."
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Tech and Me © - 2018, https://www.techandme.se/
|
||||
# T&M Hansson IT AB © - 2018, https://www.hanssonit.se/
|
||||
|
||||
echo "Installing Nextcloud Talk..."
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Tech and Me © - 2018, https://www.techandme.se/
|
||||
# T&M Hansson IT AB © - 2018, https://www.hanssonit.se/
|
||||
|
||||
echo "Installing Webmin..."
|
||||
|
||||
|
||||
@ -4,7 +4,7 @@ true
|
||||
# shellcheck source=lib.sh
|
||||
. <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
|
||||
|
||||
# Tech and Me © - 2018, https://www.techandme.se/
|
||||
# T&M Hansson IT AB © - 2018, https://www.hanssonit.se/
|
||||
|
||||
# Check for errors + debug code and abort if something isn't right
|
||||
# 1 = ON
|
||||
|
||||
@ -4,7 +4,7 @@ true
|
||||
# shellcheck source=lib.sh
|
||||
. <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
|
||||
|
||||
# Tech and Me © - 2018, https://www.techandme.se/
|
||||
# T&M Hansson IT AB © - 2018, https://www.hanssonit.se/
|
||||
|
||||
# Check for errors + debug code and abort if something isn't right
|
||||
# 1 = ON
|
||||
|
||||
@ -7,7 +7,7 @@ unset FIRST_IFACE
|
||||
unset CHECK_CURRENT_REPO
|
||||
unset NCDB
|
||||
|
||||
# Tech and Me © - 2018, https://www.techandme.se/
|
||||
# T&M Hansson IT AB © - 2018, https://www.hanssonit.se/
|
||||
|
||||
## If you want debug mode, please activate it further down in the code at line ~60
|
||||
|
||||
@ -229,7 +229,7 @@ It will also do the following:
|
||||
The script will take about 10 minutes to finish,
|
||||
depending on your internet connection.
|
||||
|
||||
####################### Tech and Me - 2018 #######################"
|
||||
####################### T&M Hansson IT - $(date +"%Y") #######################"
|
||||
clear
|
||||
|
||||
# Set keyboard layout
|
||||
@ -562,7 +562,7 @@ Some tips and tricks:
|
||||
- FORUM: https://help.nextcloud.com/
|
||||
- NEXTCLOUD: https://nextcloud.com/pricing/
|
||||
|
||||
################################## Tech and Me - 2018 ##################################"
|
||||
################################## T&M Hansson IT - $(date +"%Y") ##################################"
|
||||
|
||||
# Set trusted domain in config.php
|
||||
if [ -f "$SCRIPTS"/trusted.sh ]
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Tech and Me © - 2018, https://www.techandme.se/
|
||||
# T&M Hansson IT AB © - 2018, https://www.hanssonit.se/
|
||||
|
||||
# Prefer IPv4
|
||||
sed -i "s|#precedence ::ffff:0:0/96 100|precedence ::ffff:0:0/96 100|g" /etc/gai.conf
|
||||
|
||||
@ -6,7 +6,7 @@ NCDB=1 && NC_UPDATE=1 . <(curl -sL https://raw.githubusercontent.com/nextcloud/v
|
||||
unset NC_UPDATE
|
||||
unset NCDB
|
||||
|
||||
# Tech and Me © - 2018, https://www.techandme.se/
|
||||
# T&M Hansson IT AB © - 2018, https://www.hanssonit.se/
|
||||
|
||||
# Check for errors + debug code and abort if something isn't right
|
||||
# 1 = ON
|
||||
@ -132,7 +132,7 @@ and major releases without skipping any of them, as skipping releases increases
|
||||
errors. Major releases are 9, 10, 11 and 12. Point releases are intermediate releases for each
|
||||
major release. For example, 9.0.52 and 10.0.2 are point releases.
|
||||
|
||||
Please contact Tech and Me (T&M Hansson IT AB) to help you with upgrading between major versions.
|
||||
Please contact T\&M Hansson IT AB to help you with upgrading between major versions.
|
||||
https://shop.hanssonit.se/product-category/support/"
|
||||
exit 1
|
||||
fi
|
||||
@ -391,7 +391,7 @@ msg_box "Latest version is: $NCVERSION. Current version is: $CURRENTVERSION_afte
|
||||
If you notice that some apps are disabled it's due to that they are not compatible with the new Nextcloud version.
|
||||
To recover your old apps, please check $BACKUP/apps and copy them to $NCPATH/apps manually.
|
||||
|
||||
Thank you for using Tech and Me's updater!"
|
||||
Thank you for using T\&M Hansson IT's updater!"
|
||||
occ_command status
|
||||
occ_command maintenance:mode --off
|
||||
echo "NEXTCLOUD UPDATE success-$(date +"%Y%m%d")" >> /var/log/cronjobs_success.log
|
||||
|
||||
@ -4,7 +4,7 @@ true
|
||||
# shellcheck source=lib.sh
|
||||
. <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
|
||||
|
||||
# Tech and Me © - 2018, https://www.techandme.se/
|
||||
# T&M Hansson IT AB © - 2018, https://www.hanssonit.se/
|
||||
|
||||
# Check for errors + debug code and abort if something isn't right
|
||||
# 1 = ON
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Tech and Me © - 2018, https://www.techandme.se/
|
||||
# T&M Hansson IT AB © - 2018, https://www.hanssonit.se/
|
||||
|
||||
# shellcheck disable=2034,2059
|
||||
true
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Tech and Me © - 2018, https://www.techandme.se/
|
||||
# T&M Hansson IT AB © - 2018, https://www.hanssonit.se/
|
||||
|
||||
# shellcheck disable=2034,2059
|
||||
true
|
||||
|
||||
@ -5,7 +5,7 @@ true
|
||||
NCDBPASS=1 . <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
|
||||
unset NCDBPASS
|
||||
|
||||
# Tech and Me © - 2018, https://www.techandme.se/
|
||||
# T&M Hansson IT AB © - 2018, https://www.hanssonit.se/
|
||||
|
||||
# Check for errors + debug code and abort if something isn't right
|
||||
# 1 = ON
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Tech and Me © - 2018, https://www.techandme.se/
|
||||
# T&M Hansson IT AB © - 2018, https://www.hanssonit.se/
|
||||
|
||||
# shellcheck disable=2034,2059
|
||||
true
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Tech and Me © - 2018, https://www.techandme.se/
|
||||
# T&M Hansson IT AB © - 2018, https://www.hanssonit.se/
|
||||
|
||||
# shellcheck disable=2034,2059
|
||||
true
|
||||
@ -33,7 +33,7 @@ cat << INST2
|
||||
| Detailed instructions for setting this up can be found here: |
|
||||
| https://www.techandme.se/nextcloud-update-is-now-fully-automated/ |
|
||||
| |
|
||||
| ####################### Tech and Me - 2018 ######################## |
|
||||
| ####################### T&M Hansson IT - $(date +"%Y") ######################## |
|
||||
+-----------------------------------------------------------------------+
|
||||
INST2
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Tech and Me © - 2018, https://www.techandme.se/
|
||||
# T&M Hansson IT AB © - 2018, https://www.hanssonit.se/
|
||||
|
||||
# shellcheck disable=2034,2059
|
||||
true
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Tech and Me © - 2018, https://www.techandme.se/
|
||||
# T&M Hansson IT AB © - 2018, https://www.hanssonit.se/
|
||||
|
||||
# shellcheck disable=2034,2059
|
||||
true
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Tech and Me © - 2018, https://www.techandme.se/
|
||||
# T&M Hansson IT AB © - 2018, https://www.hanssonit.se/
|
||||
|
||||
echo "Installing ModSecurity..."
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Tech and Me © - 2018, https://www.techandme.se/
|
||||
# T&M Hansson IT AB © - 2018, https://www.hanssonit.se/
|
||||
|
||||
WANIP6=$(curl -s -k -m 7 https://6.ifcfg.me)
|
||||
WANIP4=$(curl -s -m 5 ipinfo.io/ip)
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Tech and Me © - 2018, https://www.techandme.se/
|
||||
# T&M Hansson IT AB © - 2018, https://www.hanssonit.se/
|
||||
|
||||
# shellcheck disable=2034,2059
|
||||
true
|
||||
|
||||
@ -4,7 +4,7 @@ true
|
||||
# shellcheck source=lib.sh
|
||||
. <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
|
||||
|
||||
# Tech and Me © - 2018, https://www.techandme.se/
|
||||
# T&M Hansson IT AB © - 2018, https://www.hanssonit.se/
|
||||
|
||||
# Check for errors + debug code and abort if something isn't right
|
||||
# 1 = ON
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Tech and Me © - 2018, https://www.techandme.se/
|
||||
# T&M Hansson IT AB © - 2018, https://www.hanssonit.se/
|
||||
|
||||
# REMOVE disable of SC2154 WHEN PUTTING SPAMHAUS IN PRODUCTION (it's just to fixing travis for now)
|
||||
# shellcheck disable=2034,2059,SC2154
|
||||
|
||||
@ -5,7 +5,7 @@ true
|
||||
FIRST_IFACE=1 . <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
|
||||
unset FIRST_IFACE
|
||||
|
||||
# Tech and Me © - 2018, https://www.techandme.se/
|
||||
# T&M Hansson IT AB © - 2018, https://www.hanssonit.se/
|
||||
|
||||
# Check if root
|
||||
root_check
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Tech and Me © - 2018, https://www.techandme.se/
|
||||
# T&M Hansson IT AB © - 2018, https://www.hanssonit.se/
|
||||
|
||||
# shellcheck disable=2034,2059
|
||||
true
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Tech and Me © - 2018, https://www.techandme.se/
|
||||
# T&M Hansson IT AB © - 2018, https://www.hanssonit.se/
|
||||
|
||||
# shellcheck disable=2034,2059
|
||||
true
|
||||
|
||||
@ -4,7 +4,7 @@ true
|
||||
# shellcheck source=lib.sh
|
||||
. <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
|
||||
|
||||
# Tech and Me © - 2018, https://www.techandme.se/
|
||||
# T&M Hansson IT AB © - 2018, https://www.hanssonit.se/
|
||||
|
||||
# Check for errors + debug code and abort if something isn't right
|
||||
# 1 = ON
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Tech and Me © - 2018, https://www.techandme.se/
|
||||
# T&M Hansson IT AB © - 2018, https://www.hanssonit.se/
|
||||
|
||||
# shellcheck disable=2034,2059
|
||||
true
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Tech and Me © - 2018, https://www.techandme.se/
|
||||
# T&M Hansson IT AB © - 2018, https://www.hanssonit.se/
|
||||
|
||||
# shellcheck disable=2034,2059
|
||||
true
|
||||
|
||||
Loading…
Reference in New Issue
Block a user