Skip to content

Commit 9f2b082

Browse files
committed
Merge branch '3' back to master for release.
2 parents 9d52d9d + a13809a commit 9f2b082

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+246
-91
lines changed

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# install-cloud-server
22

3-
Script collection to setup a cloud server with Ubuntu 16.04 or Debian 8.
3+
Script collection to setup a cloud server with Ubuntu 16.04, Debian 8 or Debian 9.
44
Installs and sets up all required packages for nextcloud.
55
Finally installs nextcloud.
66

@@ -10,7 +10,7 @@ Optionally installs additional nextcloud apps.
1010
## Requirements
1111

1212
The scripts collection is tested for an 1&1 cloud server, Ubuntu 16.04,
13-
64-bit, standard installation and Debian 8, 64-bit, standard installation.
13+
64-bit, standard installation, Debian 8 and Debian 9, 64-bit, standard installation.
1414

1515
1. For the scripts to work, you have to setup such a server as descripted in my blog at https://blog.emrich-ebersheim.de/2016/09/05/11-cloud-server-unter-ubuntu-16-04-1-lts-teil-1-server-erstellen/ (in german). For testing purposes a Cloud Server S incl. one public IP is sufficient.
1616
2. You have to point a DNS Entry for the host itself and a DNS Entry for the nexcloud instance to the public IP you've got.
@@ -201,5 +201,4 @@ The script collection is based on my two article series about 1&1 cloud serv
201201

202202
## Status
203203

204-
Last tested with Ubuntu 16.04 on 4th of April 2018.
205-
Last tested with Debian 8 on 4th of April 2018.
204+
Last tested with Ubuntu 16.04, Debian 8 and Debian 9 on 13th of April 2018.

archives/html.debian8.tar

20 KB
Binary file not shown.

archives/html.debian9.tar

20 KB
Binary file not shown.

data/etc/apache2/sites-available/000-default-le-ssl.conf

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
<IfModule mod_ssl.c>
22
<VirtualHost *:443>
3-
Protocols h2 http/1.1
3+
<IfModule http2_module>
4+
Protocols h2 http/1.1
5+
</IfModule>
46

57
# The ServerName directive sets the request scheme, hostname and port that
68
# the server uses to identify itself. This is used when creating

data/etc/apache2/sites-available/998-mycloud-mydomain-tld.conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
<VirtualHost myhost.mydomain.tld:443>
2+
<IfModule http2_module>
3+
Protocols h2 http/1.1
4+
</IfModule>
5+
26
# The ServerName directive sets the request scheme, hostname and port that
37
# the server uses to identify itself. This is used when creating
48
# redirection URLs. In the context of virtual hosts, the ServerName

data/etc/apache2/sites-available/998-myoffice-mydomain-tld.conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
<VirtualHost myhost.mydomain.tld:443>
2+
<IfModule http2_module>
3+
Protocols h2 http/1.1
4+
</IfModule>
5+
26
# The ServerName directive sets the request scheme, hostname and port that
37
# the server uses to identify itself. This is used when creating
48
# redirection URLs. In the context of virtual hosts, the ServerName

data/etc/apache2/sites-available/999-mycloud-mydomain-tld-le-ssl.conf

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
<IfModule mod_ssl.c>
22
<VirtualHost myhost.mydomain.tld:443>
3-
Protocols h2 http/1.1
3+
<IfModule http2_module>
4+
Protocols h2 http/1.1
5+
</IfModule>
46

57
# The ServerName directive sets the request scheme, hostname and port that
68
# the server uses to identify itself. This is used when creating
@@ -30,16 +32,6 @@
3032
SetEnv HTTP_HOME my_document_root
3133
</Directory>
3234

33-
# Directory for letsencrypt webroot challenge.
34-
35-
Alias /.well-known/ "/var/www/html/.well-known/"
36-
37-
<Directory "/var/www/html/.well-known/">
38-
Options None
39-
AllowOverride None
40-
Require all granted
41-
</Directory>
42-
4335
# Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
4436
# error, crit, alert, emerg.
4537
# It is also possible to configure the loglevel for particular

data/etc/apache2/sites-available/999-myhost-mydomain-tld-le-ssl.conf

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
<IfModule mod_ssl.c>
22
<VirtualHost myhost.mydomain.tld:443>
3-
Protocols h2 http/1.1
3+
<IfModule http2_module>
4+
Protocols h2 http/1.1
5+
</IfModule>
46

57
# The ServerName directive sets the request scheme, hostname and port that
68
# the server uses to identify itself. This is used when creating

data/etc/apache2/sites-available/999-myoffice-mydomain-tld-le-ssl.conf

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
<IfModule mod_ssl.c>
22
<VirtualHost myhost.mydomain.tld:443>
3-
Protocols h2 http/1.1
3+
<IfModule http2_module>
4+
Protocols h2 http/1.1
5+
</IfModule>
46

57
# The ServerName directive sets the request scheme, hostname and port that
68
# the server uses to identify itself. This is used when creating
@@ -49,9 +51,9 @@
4951

5052
# Directory for letsencrypt webroot challenge.
5153

52-
Alias /.well-known/ "/var/www/html/.well-known/"
54+
Alias /.well-known/acme-challenge/ "/var/www/html/.well-known/acme-challenge/"
5355

54-
<Directory "/var/www/html/.well-known/">
56+
<Directory "/var/www/html/.well-known/acme-challenge/">
5557
Options None
5658
AllowOverride None
5759
Require all granted

data/root/bin/mysql-backup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# MySQL databases backup script
44
# keeps numbackup backups
55
#
6-
# Copyright 2017 Rainer Emrich, <[email protected]>
6+
# Copyright (C) 2017-2018 Rainer Emrich, <[email protected]>
77
#
88
# This file is free software; you can redistribute it and/or modify
99
# it under the terms of the GNU General Public License as published by

0 commit comments

Comments
 (0)