sed Tech and Me|T&M Hansson IT

Signed-off-by: Daniel Hansson <daniel@techandme.se>
This commit is contained in:
Daniel Hansson 2018-10-14 15:08:49 +02:00
parent 5176eea973
commit 7402b9018c
36 changed files with 41 additions and 41 deletions

View File

@ -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

View File

@ -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..."

View File

@ -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..."

View File

@ -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..."

View File

@ -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..."

View File

@ -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..."

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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..."

View File

@ -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..."

View File

@ -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..."

View File

@ -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

View File

@ -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

View File

@ -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 ]

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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..."

View File

@ -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)

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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