<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://wiki.stoehr-hermaringen.de/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Guenter</id>
	<title>Privates Wiki - Benutzerbeiträge [de]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.stoehr-hermaringen.de/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Guenter"/>
	<link rel="alternate" type="text/html" href="https://wiki.stoehr-hermaringen.de/index.php/Spezial:Beitr%C3%A4ge/Guenter"/>
	<updated>2026-06-03T14:25:57Z</updated>
	<subtitle>Benutzerbeiträge</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.stoehr-hermaringen.de/index.php?title=EDV&amp;diff=307</id>
		<title>EDV</title>
		<link rel="alternate" type="text/html" href="https://wiki.stoehr-hermaringen.de/index.php?title=EDV&amp;diff=307"/>
		<updated>2023-05-23T07:47:38Z</updated>

		<summary type="html">&lt;p&gt;Guenter: /* Linux */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Betriebsysteme =&lt;br /&gt;
== Linux ==&lt;br /&gt;
*[[Linux Server]]&lt;br /&gt;
*[[Linux Clients]]&lt;br /&gt;
&lt;br /&gt;
== Windows ==&lt;br /&gt;
*[[Windows Server]]&lt;br /&gt;
*[[Windows Clients]]&lt;br /&gt;
&lt;br /&gt;
== Adroid ==&lt;br /&gt;
[[Android]]&lt;br /&gt;
&lt;br /&gt;
== IOS ==&lt;br /&gt;
[[IOS]]&lt;br /&gt;
&lt;br /&gt;
= Anwenderprogramme =&lt;br /&gt;
== Datensicherung ==&lt;br /&gt;
*[[Veeam Dienst startet unter Windows 11 nicht]]&lt;br /&gt;
*[[Veeam Backup and Recovery : monatliche Jobs starten wöchentlich]]&lt;/div&gt;</summary>
		<author><name>Guenter</name></author>
	</entry>
	<entry>
		<id>https://wiki.stoehr-hermaringen.de/index.php?title=EDV&amp;diff=306</id>
		<title>EDV</title>
		<link rel="alternate" type="text/html" href="https://wiki.stoehr-hermaringen.de/index.php?title=EDV&amp;diff=306"/>
		<updated>2023-05-23T07:47:23Z</updated>

		<summary type="html">&lt;p&gt;Guenter: /* Betriebsysteme */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Betriebsysteme =&lt;br /&gt;
== Linux ==&lt;br /&gt;
[[Linux Server]]&lt;br /&gt;
[[Linux Clients]]&lt;br /&gt;
&lt;br /&gt;
== Windows ==&lt;br /&gt;
*[[Windows Server]]&lt;br /&gt;
*[[Windows Clients]]&lt;br /&gt;
&lt;br /&gt;
== Adroid ==&lt;br /&gt;
[[Android]]&lt;br /&gt;
&lt;br /&gt;
== IOS ==&lt;br /&gt;
[[IOS]]&lt;br /&gt;
&lt;br /&gt;
= Anwenderprogramme =&lt;br /&gt;
== Datensicherung ==&lt;br /&gt;
*[[Veeam Dienst startet unter Windows 11 nicht]]&lt;br /&gt;
*[[Veeam Backup and Recovery : monatliche Jobs starten wöchentlich]]&lt;/div&gt;</summary>
		<author><name>Guenter</name></author>
	</entry>
	<entry>
		<id>https://wiki.stoehr-hermaringen.de/index.php?title=EDV&amp;diff=305</id>
		<title>EDV</title>
		<link rel="alternate" type="text/html" href="https://wiki.stoehr-hermaringen.de/index.php?title=EDV&amp;diff=305"/>
		<updated>2023-05-23T07:47:00Z</updated>

		<summary type="html">&lt;p&gt;Guenter: /* Betriebsysteme */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Betriebsysteme =&lt;br /&gt;
== Linux ==&lt;br /&gt;
===[[Linux Server]]&lt;br /&gt;
===*[[Linux Clients]]&lt;br /&gt;
&lt;br /&gt;
== Windows ==&lt;br /&gt;
*[[Windows Server]]&lt;br /&gt;
*[[Windows Clients]]&lt;br /&gt;
&lt;br /&gt;
== Adroid ==&lt;br /&gt;
[[Android]]&lt;br /&gt;
&lt;br /&gt;
== IOS ==&lt;br /&gt;
[[IOS]]&lt;br /&gt;
&lt;br /&gt;
= Anwenderprogramme =&lt;br /&gt;
== Datensicherung ==&lt;br /&gt;
*[[Veeam Dienst startet unter Windows 11 nicht]]&lt;br /&gt;
*[[Veeam Backup and Recovery : monatliche Jobs starten wöchentlich]]&lt;/div&gt;</summary>
		<author><name>Guenter</name></author>
	</entry>
	<entry>
		<id>https://wiki.stoehr-hermaringen.de/index.php?title=EDV&amp;diff=304</id>
		<title>EDV</title>
		<link rel="alternate" type="text/html" href="https://wiki.stoehr-hermaringen.de/index.php?title=EDV&amp;diff=304"/>
		<updated>2023-05-23T07:45:53Z</updated>

		<summary type="html">&lt;p&gt;Guenter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Betriebsysteme =&lt;br /&gt;
== Linux ==&lt;br /&gt;
*[[Linux Server]]&lt;br /&gt;
*[[Linux Clients]]&lt;br /&gt;
&lt;br /&gt;
== Windows ==&lt;br /&gt;
*[[Windows Server]]&lt;br /&gt;
*[[Windows Clients]]&lt;br /&gt;
&lt;br /&gt;
== Adroid ==&lt;br /&gt;
[[Android]]&lt;br /&gt;
&lt;br /&gt;
== IOS ==&lt;br /&gt;
[[IOS]]&lt;br /&gt;
&lt;br /&gt;
= Anwenderprogramme =&lt;br /&gt;
== Datensicherung ==&lt;br /&gt;
*[[Veeam Dienst startet unter Windows 11 nicht]]&lt;br /&gt;
*[[Veeam Backup and Recovery : monatliche Jobs starten wöchentlich]]&lt;/div&gt;</summary>
		<author><name>Guenter</name></author>
	</entry>
	<entry>
		<id>https://wiki.stoehr-hermaringen.de/index.php?title=Veeam_Backup_and_Recovery_:_monatliche_Jobs_starten_w%C3%B6chentlich&amp;diff=303</id>
		<title>Veeam Backup and Recovery : monatliche Jobs starten wöchentlich</title>
		<link rel="alternate" type="text/html" href="https://wiki.stoehr-hermaringen.de/index.php?title=Veeam_Backup_and_Recovery_:_monatliche_Jobs_starten_w%C3%B6chentlich&amp;diff=303"/>
		<updated>2023-05-23T07:43:11Z</updated>

		<summary type="html">&lt;p&gt;Guenter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Siehe auf : [https://www.veeam.com/kb1994]&lt;br /&gt;
&lt;br /&gt;
Fehler:&lt;br /&gt;
&lt;br /&gt;
Ein Job, dessen Ausführung monatlich geplant ist, wird automatisch entweder wöchentlich oder an einem unerwarteten Tag ausgeführt.&lt;br /&gt;
&lt;br /&gt;
Ursache:&lt;br /&gt;
&lt;br /&gt;
Die synthetischen und aktiven vollständigen Backup-Einstellungen unter „Storage“ &amp;gt; „Advanded“ innerhalb des Jobs werden in einem Unterplan ausgeführt, unabhängig davon, wann der Job-Scheduler ausgeführt werden soll.&lt;br /&gt;
&lt;br /&gt;
Lösung:&lt;br /&gt;
&lt;br /&gt;
Um dieses Problem zu beheben, ändern Sie den Unterzeitplan für die synthetischen oder aktiven vollständigen Sicherungen unter „Storage“ &amp;gt; „Erweitert“ innerhalb des Jobs, damit die vollständige Sicherung am selben Tag ausgeführt wird, wie auf der Seite „Schedule“ festgelegt. Deaktivieren Sie die synthetische Vollsicherung und verwenden Sie nur inkrementelle Sicherungen mit monatlich aktiven Vollsicherungen.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[file:  Veeam-Backupjob-Advanced-Settings.png|800px]]&lt;/div&gt;</summary>
		<author><name>Guenter</name></author>
	</entry>
	<entry>
		<id>https://wiki.stoehr-hermaringen.de/index.php?title=Veeam_Backup_and_Recovery_:_monatliche_Jobs_starten_w%C3%B6chentlich&amp;diff=302</id>
		<title>Veeam Backup and Recovery : monatliche Jobs starten wöchentlich</title>
		<link rel="alternate" type="text/html" href="https://wiki.stoehr-hermaringen.de/index.php?title=Veeam_Backup_and_Recovery_:_monatliche_Jobs_starten_w%C3%B6chentlich&amp;diff=302"/>
		<updated>2023-05-23T07:42:27Z</updated>

		<summary type="html">&lt;p&gt;Guenter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Siehe auf : [https://www.veeam.com/kb1994]&lt;br /&gt;
&lt;br /&gt;
Fehler:&lt;br /&gt;
&lt;br /&gt;
Ein Job, dessen Ausführung monatlich geplant ist, wird automatisch entweder wöchentlich oder an einem unerwarteten Tag ausgeführt.&lt;br /&gt;
&lt;br /&gt;
Ursache:&lt;br /&gt;
&lt;br /&gt;
Die synthetischen und aktiven vollständigen Backup-Einstellungen unter „Storage“ &amp;gt; „Advanded“ innerhalb des Jobs werden in einem Unterplan ausgeführt, unabhängig davon, wann der Job-Scheduler ausgeführt werden soll.&lt;br /&gt;
&lt;br /&gt;
Lösung:&lt;br /&gt;
&lt;br /&gt;
Um dieses Problem zu beheben, ändern Sie den Unterzeitplan für die synthetischen oder aktiven vollständigen Sicherungen unter „Storage“ &amp;gt; „Erweitert“ innerhalb des Jobs, damit die vollständige Sicherung am selben Tag ausgeführt wird, wie auf der Seite „Zeitplan“ festgelegt. Deaktivieren Sie die synthetische Vollsicherung und verwenden Sie nur inkrementelle Sicherungen mit monatlich aktiven Vollsicherungen.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[file:  Veeam-Backupjob-Advanced-Settings.png|800px]]&lt;/div&gt;</summary>
		<author><name>Guenter</name></author>
	</entry>
	<entry>
		<id>https://wiki.stoehr-hermaringen.de/index.php?title=Veeam_Backup_and_Recovery_:_monatliche_Jobs_starten_w%C3%B6chentlich&amp;diff=301</id>
		<title>Veeam Backup and Recovery : monatliche Jobs starten wöchentlich</title>
		<link rel="alternate" type="text/html" href="https://wiki.stoehr-hermaringen.de/index.php?title=Veeam_Backup_and_Recovery_:_monatliche_Jobs_starten_w%C3%B6chentlich&amp;diff=301"/>
		<updated>2023-05-23T07:41:22Z</updated>

		<summary type="html">&lt;p&gt;Guenter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Siehe auf : [https://www.veeam.com/kb1994]&lt;br /&gt;
&lt;br /&gt;
Fehler:&lt;br /&gt;
&lt;br /&gt;
Ein Job, dessen Ausführung monatlich geplant ist, wird automatisch entweder wöchentlich oder an einem unerwarteten Tag ausgeführt.&lt;br /&gt;
&lt;br /&gt;
Ursache:&lt;br /&gt;
&lt;br /&gt;
Die synthetischen und aktiven vollständigen Backup-Einstellungen unter „Storage“ &amp;gt; „Advanded“ innerhalb des Jobs werden in einem Unterplan ausgeführt, unabhängig davon, wann der Job-Scheduler ausgeführt werden soll.&lt;br /&gt;
&lt;br /&gt;
Lösung:&lt;br /&gt;
Um dieses Problem zu beheben, ändern Sie den Unterzeitplan für die synthetischen oder aktiven vollständigen Sicherungen unter „Storage“ &amp;gt; „Erweitert“ innerhalb des Jobs, damit die vollständige Sicherung am selben Tag ausgeführt wird, wie auf der Seite „Zeitplan“ festgelegt. Deaktivieren Sie die synthetische Vollsicherung und verwenden Sie nur inkrementelle Sicherungen mit monatlich aktiven Vollsicherungen.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[file:  Veeam-Backupjob-Advanced-Settings.png|800px]]&lt;/div&gt;</summary>
		<author><name>Guenter</name></author>
	</entry>
	<entry>
		<id>https://wiki.stoehr-hermaringen.de/index.php?title=Veeam_Backup_and_Recovery_:_monatliche_Jobs_starten_w%C3%B6chentlich&amp;diff=300</id>
		<title>Veeam Backup and Recovery : monatliche Jobs starten wöchentlich</title>
		<link rel="alternate" type="text/html" href="https://wiki.stoehr-hermaringen.de/index.php?title=Veeam_Backup_and_Recovery_:_monatliche_Jobs_starten_w%C3%B6chentlich&amp;diff=300"/>
		<updated>2023-05-23T07:41:10Z</updated>

		<summary type="html">&lt;p&gt;Guenter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Siehe auf : [https://www.veeam.com/kb1994]&lt;br /&gt;
&lt;br /&gt;
Fehler:&lt;br /&gt;
&lt;br /&gt;
Ein Job, dessen Ausführung monatlich geplant ist, wird automatisch entweder wöchentlich oder an einem unerwarteten Tag ausgeführt.&lt;br /&gt;
&lt;br /&gt;
Ursache:&lt;br /&gt;
&lt;br /&gt;
Die synthetischen und aktiven vollständigen Backup-Einstellungen unter „Storage“ &amp;gt; „Advanded“ innerhalb des Jobs werden in einem Unterplan ausgeführt, unabhängig davon, wann der Job-Scheduler ausgeführt werden soll.&lt;br /&gt;
&lt;br /&gt;
Lösung:&lt;br /&gt;
Um dieses Problem zu beheben, ändern Sie den Unterzeitplan für die synthetischen oder aktiven vollständigen Sicherungen unter „Storage“ &amp;gt; „Erweitert“ innerhalb des Jobs, damit die vollständige Sicherung am selben Tag ausgeführt wird, wie auf der Seite „Zeitplan“ festgelegt. Deaktivieren Sie die synthetische Vollsicherung und verwenden Sie nur inkrementelle Sicherungen mit monatlich aktiven Vollsicherungen.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[file:  Veeam-Backupjob-Advanced-Settings.png|400px]]&lt;/div&gt;</summary>
		<author><name>Guenter</name></author>
	</entry>
	<entry>
		<id>https://wiki.stoehr-hermaringen.de/index.php?title=Veeam_Backup_and_Recovery_:_monatliche_Jobs_starten_w%C3%B6chentlich&amp;diff=299</id>
		<title>Veeam Backup and Recovery : monatliche Jobs starten wöchentlich</title>
		<link rel="alternate" type="text/html" href="https://wiki.stoehr-hermaringen.de/index.php?title=Veeam_Backup_and_Recovery_:_monatliche_Jobs_starten_w%C3%B6chentlich&amp;diff=299"/>
		<updated>2023-05-23T07:40:22Z</updated>

		<summary type="html">&lt;p&gt;Guenter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Siehe auf : [https://www.veeam.com/kb1994]&lt;br /&gt;
&lt;br /&gt;
Fehler:&lt;br /&gt;
&lt;br /&gt;
Ein Job, dessen Ausführung monatlich geplant ist, wird automatisch entweder wöchentlich oder an einem unerwarteten Tag ausgeführt.&lt;br /&gt;
&lt;br /&gt;
Ursache:&lt;br /&gt;
&lt;br /&gt;
Die synthetischen und aktiven vollständigen Backup-Einstellungen unter „Storage“ &amp;gt; „Advanded“ innerhalb des Jobs werden in einem Unterplan ausgeführt, unabhängig davon, wann der Job-Scheduler ausgeführt werden soll.&lt;br /&gt;
&lt;br /&gt;
Lösung:&lt;br /&gt;
Um dieses Problem zu beheben, ändern Sie den Unterzeitplan für die synthetischen oder aktiven vollständigen Sicherungen unter „Storage“ &amp;gt; „Erweitert“ innerhalb des Jobs, damit die vollständige Sicherung am selben Tag ausgeführt wird, wie auf der Seite „Zeitplan“ festgelegt. Deaktivieren Sie die synthetische Vollsicherung und verwenden Sie nur inkrementelle Sicherungen mit monatlich aktiven Vollsicherungen.&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[file: Veeam-Backupjob-Advanced-Settings.png]&lt;/div&gt;</summary>
		<author><name>Guenter</name></author>
	</entry>
	<entry>
		<id>https://wiki.stoehr-hermaringen.de/index.php?title=Datei:Veeam-Backupjob-Advanced-Settings.png&amp;diff=298</id>
		<title>Datei:Veeam-Backupjob-Advanced-Settings.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.stoehr-hermaringen.de/index.php?title=Datei:Veeam-Backupjob-Advanced-Settings.png&amp;diff=298"/>
		<updated>2023-05-23T07:38:37Z</updated>

		<summary type="html">&lt;p&gt;Guenter: Definitionsseite für TAB Storage / Advanced Settings&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Beschreibung ==&lt;br /&gt;
Definitionsseite für TAB Storage / Advanced Settings&lt;/div&gt;</summary>
		<author><name>Guenter</name></author>
	</entry>
	<entry>
		<id>https://wiki.stoehr-hermaringen.de/index.php?title=DPI_Skalierung_bei_hohen_Videoausfl%C3%B6sung_anpassen&amp;diff=294</id>
		<title>DPI Skalierung bei hohen Videoausflösung anpassen</title>
		<link rel="alternate" type="text/html" href="https://wiki.stoehr-hermaringen.de/index.php?title=DPI_Skalierung_bei_hohen_Videoausfl%C3%B6sung_anpassen&amp;diff=294"/>
		<updated>2023-05-22T13:33:32Z</updated>

		<summary type="html">&lt;p&gt;Guenter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;siehe auch [[https://wissen.medifoxdan.de/pages/viewpage.action?pageId=3378681 Beispiel für das Programm Medifox]]&lt;br /&gt;
&lt;br /&gt;
Dieser Artikel richtet sich an Kunden, die mit Systemen arbeiten, welche eine höhere Bildschirmauflösung als die „FullHD&amp;quot;-Auflösung (1920x1080) verwenden. Dies ist zum Beispiel eine „UHD&amp;quot;-Auflösung (3840x2160). Auf Systemen mit einer hohen Bildschirmauflösung verändert Windows automatisch die DPI-Einstellungen, um Texte auf dem Monitor lesbar zu gestalten. Die Skalierung wird bei einer „UHD&amp;quot;-Auflösung auf 150% im Vergleich zur „FullHD&amp;quot;-Auflösung mit 100% angehoben.&lt;br /&gt;
&lt;br /&gt;
Analyse der Situation&lt;br /&gt;
&lt;br /&gt;
In diesem Beispiel prüfen und veranschaulichen wir Ihnen gern folgende Situation: &lt;br /&gt;
&lt;br /&gt;
*Rufen Sie die Anzeigeeinstellungen in Windows auf, indem Sie mit der rechten Mauste das Kontextmenü auf dem Desktop öffnen.&lt;br /&gt;
*Aufruf der Anzeigeeinstellungen in Windows über das Kontextmenü vom Desktop&lt;br /&gt;
*In diesem Beispiel wurde eine Auflösung von 3840x2160 Pixeln gewählt, diese kann bei Ihrem System abweichen. Interessant ist in diesem Fall die Skalierung, welche vom System automatisch auf 150% angehoben wurde. Bei niedrigeren Auflösungen kann auch eine Skalierung von 125 % konfiguriert sein.&lt;br /&gt;
*Prüfen der Skalierung und der Bildschirmauflösung in den Anzeigeeinstellungen von Windows&lt;br /&gt;
*Durch die Skalierung können Klickfelder, Eingabefelder oder Schaltflächen in MediFox ambulant verschoben oder abgeschnitten dargestellt werden, wodurch Informationen nicht vollständig auf den ersten Blick einzusehen sind und dadurch ein Arbeiten nur schwer möglich ist.&lt;br /&gt;
&lt;br /&gt;
Lösungsweg&lt;br /&gt;
&lt;br /&gt;
Gern präsentieren wir Ihnen hier den Lösungsweg. &lt;br /&gt;
Um die gewohnte Ansicht wiederherzustellen, können Sie ab Windows 10 Version 1803 eine Einstellung nutzen, um die Skalierung zu überschreiben. Falls Sie die Funktion nicht finden, kontaktieren Sie bitte ihren Systemadministrator.&lt;br /&gt;
DPI-Einstellung konfigurieren&lt;br /&gt;
&lt;br /&gt;
 - Klicken Sie bitte mit der rechten Maustaste auf die Verknüpfung von MediFox ambulant und wählen Sie im Kontextmenü den Menüpunkt „Eigenschaften&amp;quot;.&lt;br /&gt;
 - Kontextmenü der MediFox Anwendung und Aufruf der Eigenschaften&lt;br /&gt;
 - Wechseln Sie nun bitte in das Register „Kompatibilität&amp;quot;.&lt;br /&gt;
 - Das Register „Kompatibilität&amp;quot; wird geöffnet&lt;br /&gt;
 - Über die Schaltfläche „Hohe DPI-Einstellungen ändern&amp;quot; wird ein neuer Dialog geöffnet.&lt;br /&gt;
 - Öffnen der Konfiguration für die DPI-Skalierung über die Schaltfläche „Hohe DPI-Einstellungen ändern&amp;quot;&lt;br /&gt;
 - Konfigurieren Sie im neuen Dialog im markierten Bereich die Option „Verhalten bei hoher DPI-Skalierung überschreiben. Skalierung wird durchgeführt von: System&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
 Ist die Konfiguration abgeschlossen, bestätigen Sie die Konfiguration in beiden Dialogen mit „OK&amp;quot;.&lt;br /&gt;
 Eventuell kann es erforderlich sein, dass Sie sich vom PC abmelden oder den PC neu starten.&lt;/div&gt;</summary>
		<author><name>Guenter</name></author>
	</entry>
	<entry>
		<id>https://wiki.stoehr-hermaringen.de/index.php?title=DPI_Skalierung_bei_hohen_Videoausfl%C3%B6sung_anpassen&amp;diff=293</id>
		<title>DPI Skalierung bei hohen Videoausflösung anpassen</title>
		<link rel="alternate" type="text/html" href="https://wiki.stoehr-hermaringen.de/index.php?title=DPI_Skalierung_bei_hohen_Videoausfl%C3%B6sung_anpassen&amp;diff=293"/>
		<updated>2023-05-22T13:33:05Z</updated>

		<summary type="html">&lt;p&gt;Guenter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;siehe auch [[https://wissen.medifoxdan.de/pages/viewpage.action?pageId=3378681 Beispiel für das Programm Medifox]]&lt;br /&gt;
&lt;br /&gt;
Dieser Artikel richtet sich an Kunden, die mit Systemen arbeiten, welche eine höhere Bildschirmauflösung als die „FullHD&amp;quot;-Auflösung (1920x1080) verwenden. Dies ist zum Beispiel eine „UHD&amp;quot;-Auflösung (3840x2160). Auf Systemen mit einer hohen Bildschirmauflösung verändert Windows automatisch die DPI-Einstellungen, um Texte auf dem Monitor lesbar zu gestalten. Die Skalierung wird bei einer „UHD&amp;quot;-Auflösung auf 150% im Vergleich zur „FullHD&amp;quot;-Auflösung mit 100% angehoben.&lt;br /&gt;
&lt;br /&gt;
Analyse der Situation&lt;br /&gt;
&lt;br /&gt;
In diesem Beispiel prüfen und veranschaulichen wir Ihnen gern folgende Situation: &lt;br /&gt;
&lt;br /&gt;
*Rufen Sie die Anzeigeeinstellungen in Windows auf, indem Sie mit der rechten Mauste das Kontextmenü auf dem Desktop öffnen.&lt;br /&gt;
*Aufruf der Anzeigeeinstellungen in Windows über das Kontextmenü vom Desktop&lt;br /&gt;
*In diesem Beispiel wurde eine Auflösung von 3840x2160 Pixeln gewählt, diese kann bei Ihrem System abweichen. Interessant ist in diesem Fall die Skalierung, welche vom System automatisch auf 150% angehoben wurde. Bei niedrigeren Auflösungen kann auch eine Skalierung von 125 % konfiguriert sein.&lt;br /&gt;
*Prüfen der Skalierung und der Bildschirmauflösung in den Anzeigeeinstellungen von Windows&lt;br /&gt;
*Durch die Skalierung können Klickfelder, Eingabefelder oder Schaltflächen in MediFox ambulant verschoben oder abgeschnitten dargestellt werden, wodurch Informationen nicht vollständig auf den ersten Blick einzusehen sind und dadurch ein Arbeiten nur schwer möglich ist.&lt;br /&gt;
&lt;br /&gt;
Lösungsweg&lt;br /&gt;
&lt;br /&gt;
Gern präsentieren wir Ihnen hier den Lösungsweg. &lt;br /&gt;
Um die gewohnte Ansicht wiederherzustellen, können Sie ab Windows 10 Version 1803 eine Einstellung nutzen, um die Skalierung zu überschreiben. Falls Sie die Funktion nicht finden, kontaktieren Sie bitte ihren Systemadministrator.&lt;br /&gt;
DPI-Einstellung konfigurieren&lt;br /&gt;
&lt;br /&gt;
 -Klicken Sie bitte mit der rechten Maustaste auf die Verknüpfung von MediFox ambulant und wählen Sie im Kontextmenü den Menüpunkt „Eigenschaften&amp;quot;.&lt;br /&gt;
 *Kontextmenü der MediFox Anwendung und Aufruf der Eigenschaften&lt;br /&gt;
 *Wechseln Sie nun bitte in das Register „Kompatibilität&amp;quot;.&lt;br /&gt;
 *Das Register „Kompatibilität&amp;quot; wird geöffnet&lt;br /&gt;
 *Über die Schaltfläche „Hohe DPI-Einstellungen ändern&amp;quot; wird ein neuer Dialog geöffnet.&lt;br /&gt;
 *Öffnen der Konfiguration für die DPI-Skalierung über die Schaltfläche „Hohe DPI-Einstellungen ändern&amp;quot;&lt;br /&gt;
 *Konfigurieren Sie im neuen Dialog im markierten Bereich die Option „Verhalten bei hoher DPI-Skalierung überschreiben. Skalierung wird durchgeführt von: System&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
 Ist die Konfiguration abgeschlossen, bestätigen Sie die Konfiguration in beiden Dialogen mit „OK&amp;quot;.&lt;br /&gt;
 Eventuell kann es erforderlich sein, dass Sie sich vom PC abmelden oder den PC neu starten.&lt;/div&gt;</summary>
		<author><name>Guenter</name></author>
	</entry>
	<entry>
		<id>https://wiki.stoehr-hermaringen.de/index.php?title=Windows_Clients&amp;diff=292</id>
		<title>Windows Clients</title>
		<link rel="alternate" type="text/html" href="https://wiki.stoehr-hermaringen.de/index.php?title=Windows_Clients&amp;diff=292"/>
		<updated>2023-05-22T13:32:42Z</updated>

		<summary type="html">&lt;p&gt;Guenter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Veeam Dienst startet unter Windows 11 nicht]]&lt;br /&gt;
&lt;br /&gt;
[[DPI Skalierung bei hohen Videoausflösung anpassen]]&lt;/div&gt;</summary>
		<author><name>Guenter</name></author>
	</entry>
	<entry>
		<id>https://wiki.stoehr-hermaringen.de/index.php?title=DPI_SKalierung_bei_hohen_Videoausfl%C3%B6sung_anpassen&amp;diff=291</id>
		<title>DPI SKalierung bei hohen Videoausflösung anpassen</title>
		<link rel="alternate" type="text/html" href="https://wiki.stoehr-hermaringen.de/index.php?title=DPI_SKalierung_bei_hohen_Videoausfl%C3%B6sung_anpassen&amp;diff=291"/>
		<updated>2023-05-22T13:31:57Z</updated>

		<summary type="html">&lt;p&gt;Guenter: Guenter verschob die Seite DPI SKalierung bei hohen Videoausflösung anpassen nach DPI Skalierung bei hohen Videoausflösung anpassen&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#WEITERLEITUNG [[DPI Skalierung bei hohen Videoausflösung anpassen]]&lt;/div&gt;</summary>
		<author><name>Guenter</name></author>
	</entry>
	<entry>
		<id>https://wiki.stoehr-hermaringen.de/index.php?title=DPI_Skalierung_bei_hohen_Videoausfl%C3%B6sung_anpassen&amp;diff=290</id>
		<title>DPI Skalierung bei hohen Videoausflösung anpassen</title>
		<link rel="alternate" type="text/html" href="https://wiki.stoehr-hermaringen.de/index.php?title=DPI_Skalierung_bei_hohen_Videoausfl%C3%B6sung_anpassen&amp;diff=290"/>
		<updated>2023-05-22T13:31:57Z</updated>

		<summary type="html">&lt;p&gt;Guenter: Guenter verschob die Seite DPI SKalierung bei hohen Videoausflösung anpassen nach DPI Skalierung bei hohen Videoausflösung anpassen&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;siehe auch [[https://wissen.medifoxdan.de/pages/viewpage.action?pageId=3378681 Beispiel für das Programm Medifox]]&lt;br /&gt;
&lt;br /&gt;
Dieser Artikel richtet sich an Kunden, die mit Systemen arbeiten, welche eine höhere Bildschirmauflösung als die „FullHD&amp;quot;-Auflösung (1920x1080) verwenden. Dies ist zum Beispiel eine „UHD&amp;quot;-Auflösung (3840x2160). Auf Systemen mit einer hohen Bildschirmauflösung verändert Windows automatisch die DPI-Einstellungen, um Texte auf dem Monitor lesbar zu gestalten. Die Skalierung wird bei einer „UHD&amp;quot;-Auflösung auf 150% im Vergleich zur „FullHD&amp;quot;-Auflösung mit 100% angehoben.&lt;br /&gt;
&lt;br /&gt;
Analyse der Situation&lt;br /&gt;
&lt;br /&gt;
In diesem Beispiel prüfen und veranschaulichen wir Ihnen gern folgende Situation: &lt;br /&gt;
&lt;br /&gt;
*Rufen Sie die Anzeigeeinstellungen in Windows auf, indem Sie mit der rechten Mauste das Kontextmenü auf dem Desktop öffnen.&lt;br /&gt;
*Aufruf der Anzeigeeinstellungen in Windows über das Kontextmenü vom Desktop&lt;br /&gt;
*In diesem Beispiel wurde eine Auflösung von 3840x2160 Pixeln gewählt, diese kann bei Ihrem System abweichen. Interessant ist in diesem Fall die Skalierung, welche vom System automatisch auf 150% angehoben wurde. Bei niedrigeren Auflösungen kann auch eine Skalierung von 125 % konfiguriert sein.&lt;br /&gt;
*Prüfen der Skalierung und der Bildschirmauflösung in den Anzeigeeinstellungen von Windows&lt;br /&gt;
*Durch die Skalierung können Klickfelder, Eingabefelder oder Schaltflächen in MediFox ambulant verschoben oder abgeschnitten dargestellt werden, wodurch Informationen nicht vollständig auf den ersten Blick einzusehen sind und dadurch ein Arbeiten nur schwer möglich ist.&lt;br /&gt;
&lt;br /&gt;
Lösungsweg&lt;br /&gt;
&lt;br /&gt;
Gern präsentieren wir Ihnen hier den Lösungsweg. &lt;br /&gt;
Um die gewohnte Ansicht wiederherzustellen, können Sie ab Windows 10 Version 1803 eine Einstellung nutzen, um die Skalierung zu überschreiben. Falls Sie die Funktion nicht finden, kontaktieren Sie bitte ihren Systemadministrator.&lt;br /&gt;
DPI-Einstellung konfigurieren&lt;br /&gt;
&lt;br /&gt;
 *Klicken Sie bitte mit der rechten Maustaste auf die Verknüpfung von MediFox ambulant und wählen Sie im Kontextmenü den Menüpunkt „Eigenschaften&amp;quot;.&lt;br /&gt;
 *Kontextmenü der MediFox Anwendung und Aufruf der Eigenschaften&lt;br /&gt;
 *Wechseln Sie nun bitte in das Register „Kompatibilität&amp;quot;.&lt;br /&gt;
 *Das Register „Kompatibilität&amp;quot; wird geöffnet&lt;br /&gt;
 *Über die Schaltfläche „Hohe DPI-Einstellungen ändern&amp;quot; wird ein neuer Dialog geöffnet.&lt;br /&gt;
 *Öffnen der Konfiguration für die DPI-Skalierung über die Schaltfläche „Hohe DPI-Einstellungen ändern&amp;quot;&lt;br /&gt;
 *Konfigurieren Sie im neuen Dialog im markierten Bereich die Option „Verhalten bei hoher DPI-Skalierung überschreiben. Skalierung wird durchgeführt von: System&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
 Ist die Konfiguration abgeschlossen, bestätigen Sie die Konfiguration in beiden Dialogen mit „OK&amp;quot;.&lt;br /&gt;
 Eventuell kann es erforderlich sein, dass Sie sich vom PC abmelden oder den PC neu starten.&lt;/div&gt;</summary>
		<author><name>Guenter</name></author>
	</entry>
	<entry>
		<id>https://wiki.stoehr-hermaringen.de/index.php?title=Installation_Nextcloud_unter_Ubuntu_22.04_LTS&amp;diff=118</id>
		<title>Installation Nextcloud unter Ubuntu 22.04 LTS</title>
		<link rel="alternate" type="text/html" href="https://wiki.stoehr-hermaringen.de/index.php?title=Installation_Nextcloud_unter_Ubuntu_22.04_LTS&amp;diff=118"/>
		<updated>2023-05-10T06:35:33Z</updated>

		<summary type="html">&lt;p&gt;Guenter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Diese Anleistung basiert auf folgender Anleitung:  &lt;br /&gt;
&lt;br /&gt;
[https://apfelcast.com/nextcloud-25-auf-linux-server-ubuntu-22-04-installieren-einfache-anleitung/ https://apfelcast.com/nextcloud-25-auf-linux-server-ubuntu-22-04-installieren-einfache-anleitung/]&lt;br /&gt;
&lt;br /&gt;
!!! Achtung, die Anleitung im Internet wurde zwischenzeitlich verändert - es fehlen wichtige Stellen.&lt;br /&gt;
&lt;br /&gt;
Die beiden zusätzlichen Änderungen am Schuss ergeben sich nach dem überprüfen der Einstellungen in Nextcloud.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Nextcloud 25 Installation auf Basis Ubuntu 22.04 LTS'''&lt;br /&gt;
-------------------&lt;br /&gt;
&lt;br /&gt;
*Betriebsystem auf aktuellen Stand bringen&lt;br /&gt;
 apt update &amp;amp;&amp;amp; apt upgrade -y&lt;br /&gt;
&lt;br /&gt;
*Installion apache&lt;br /&gt;
 apt install apache2&lt;br /&gt;
&lt;br /&gt;
*Installion PHP 8.1 &lt;br /&gt;
 apt install software-properties-common&lt;br /&gt;
 add-apt-repository ppa:ondrej/php&lt;br /&gt;
 apt update&lt;br /&gt;
&lt;br /&gt;
*Installion PHP 8.1 &amp;amp; Module&lt;br /&gt;
 apt install php8.1 libapache2-mod-php8.1 php8.1-zip php-dompdf php8.1-xml php8.1-mbstring php8.1-gd php8.1-curl php8.1-imagick libmagickcore-6.q16-6-extra php8.1-intl php8.1-bcmath php8.1-gmp php8.1-cli php8.1-mysql php8.1-zip php8.1-gd  php8.1-mbstring php8.1-curl php8.1-xml php-pear unzip nano php8.1-apcu redis-server ufw php8.1-redis&lt;br /&gt;
&lt;br /&gt;
*anpassen der PHP.ini Datei&lt;br /&gt;
 nano /etc/php/8.1/apache2/php.ini&lt;br /&gt;
&lt;br /&gt;
 memory_limit = 1024M&lt;br /&gt;
 upload_max_filesize = 16G&lt;br /&gt;
 post_max_size = 16G&lt;br /&gt;
 date.timezone = Europe/Berlin&lt;br /&gt;
 output_buffering = Off&lt;br /&gt;
&lt;br /&gt;
*Installation Datenbank Server&lt;br /&gt;
 apt install mariadb-server&lt;br /&gt;
&lt;br /&gt;
*Maria DB Server Konfiguration&lt;br /&gt;
 mysql_secure_installation&lt;br /&gt;
&lt;br /&gt;
*öffnen SQL Dialog&lt;br /&gt;
 mysql&lt;br /&gt;
&lt;br /&gt;
*create database calles nextcloud&lt;br /&gt;
 CREATE DATABASE nextcloud; &lt;br /&gt;
&lt;br /&gt;
*create database user with password&lt;br /&gt;
 CREATE USER 'nextclouduser'@'localhost' IDENTIFIED BY 'password_here';&lt;br /&gt;
&lt;br /&gt;
*grant accesss to databse&lt;br /&gt;
 GRANT ALL PRIVILEGES ON nextcloud.* TO 'nextclouduser'@'localhost';&lt;br /&gt;
&lt;br /&gt;
*save changes and exit&lt;br /&gt;
 FLUSH PRIVILEGES;&lt;br /&gt;
 EXIT;&lt;br /&gt;
&lt;br /&gt;
*Download lastest nextcloud version&lt;br /&gt;
 cd /tmp &amp;amp;&amp;amp; wget https://download.nextcloud.com/server/releases/latest.zip&lt;br /&gt;
 unzip latest.zip&lt;br /&gt;
 mv nextcloud /var/www/&lt;br /&gt;
&lt;br /&gt;
*create new conf&lt;br /&gt;
&lt;br /&gt;
 nano /etc/apache2/sites-available/nextcloud.conf&lt;br /&gt;
 &amp;lt;VirtualHost *:80&amp;gt;&lt;br /&gt;
  ServerAdmin master@domain.com&lt;br /&gt;
  DocumentRoot /var/www/nextcloud/&lt;br /&gt;
  ServerName demo.domain.com&lt;br /&gt;
  ServerAlias www.demo.domain.com&lt;br /&gt;
  &lt;br /&gt;
  Alias /nextcloud &amp;quot;/var/www/nextcloud/&amp;quot;&lt;br /&gt;
  &amp;lt;Directory /var/www/nextcloud/&amp;gt;&lt;br /&gt;
  Options +FollowSymlinks&lt;br /&gt;
   AllowOverride All&lt;br /&gt;
   Require all granted&lt;br /&gt;
   &amp;lt;IfModule mod_dav.c&amp;gt;&lt;br /&gt;
    Dav off&lt;br /&gt;
   &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
   SetEnv HOME /var/www/nextcloud&lt;br /&gt;
   SetEnv HTTP_HOME /var/www/nextcloud&lt;br /&gt;
  &amp;lt;/Directory&amp;gt;&lt;br /&gt;
   ErrorLog ${APACHE_LOG_DIR}/error.log&lt;br /&gt;
   CustomLog ${APACHE_LOG_DIR}/access.log combined&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Enable the NextCloud and Rewrite Module&lt;br /&gt;
 a2ensite nextcloud.conf&lt;br /&gt;
 a2enmod rewrite&lt;br /&gt;
 a2enmod headers&lt;br /&gt;
 a2enmod env&lt;br /&gt;
 a2enmod dir&lt;br /&gt;
 a2enmod mime&lt;br /&gt;
&lt;br /&gt;
*restart apache&lt;br /&gt;
 service apache2 restart&lt;br /&gt;
&lt;br /&gt;
*prepare data folder&lt;br /&gt;
 mkdir /home/data/&lt;br /&gt;
 chown -R www-data:www-data /home/data/&lt;br /&gt;
&lt;br /&gt;
*prepare nextcloud Folder&lt;br /&gt;
 chown -R www-data:www-data /var/www/nextcloud/&lt;br /&gt;
 chmod -R 755 /var/www/nextcloud/&lt;br /&gt;
&lt;br /&gt;
*install certbot and create Let's Encrypt SSL-Certificate&lt;br /&gt;
 apt install certbot python3-certbot-apache&lt;br /&gt;
&lt;br /&gt;
* erstes Zertifikat anfordern&lt;br /&gt;
 certbot --apache -m master@domain.com -d cloud.domain.com&lt;br /&gt;
 &lt;br /&gt;
--&amp;gt; only lasts 90 days&lt;br /&gt;
&lt;br /&gt;
*gegebenenfall das Paket cron installieren&lt;br /&gt;
 install crontab&lt;br /&gt;
 crontab -e&lt;br /&gt;
 40 3 * * 0 letsencrypt renew &amp;gt;&amp;gt; /var/log/letsencrypt-renew.log &amp;amp;&amp;amp; service apache2 reload &amp;gt; /dev/null 2&amp;gt;&amp;amp;1&lt;br /&gt;
&lt;br /&gt;
--&amp;gt; Domain ansurfen und Einrichtung abschließen&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--------------------&lt;br /&gt;
&lt;br /&gt;
'''Abschliessende Änderungen:'''&lt;br /&gt;
&lt;br /&gt;
*Erweitern der Datei : /etc/apache2/sites-available/nextcloud-le-ssl.conf um folgenden Eintrag&lt;br /&gt;
&lt;br /&gt;
 Strict-Transport-Security:&lt;br /&gt;
  &amp;lt;VirtualHost *:443&amp;gt;&lt;br /&gt;
  ServerName cloud.nextcloud.com&lt;br /&gt;
   &amp;lt;IfModule mod_headers.c&amp;gt;&lt;br /&gt;
    Header always set Strict-Transport-Security &amp;quot;max-age=15552000; includeSubDomains&amp;quot;&lt;br /&gt;
   &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
  &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Erweitern der Einstellungen in der Datein  /var/www/nextcloud/config/config.php um folgenden Eintrag&lt;br /&gt;
 'default_phone_region' =&amp;gt; 'DE',&lt;br /&gt;
	&lt;br /&gt;
(bei einer Snap Installation unter Ubuntu 20.04 liegt die Datei unter /var/snap/nextcloud/current/config/config.php)&lt;/div&gt;</summary>
		<author><name>Guenter</name></author>
	</entry>
	<entry>
		<id>https://wiki.stoehr-hermaringen.de/index.php?title=Installation_Nextcloud_unter_Ubuntu_22.04_LTS&amp;diff=117</id>
		<title>Installation Nextcloud unter Ubuntu 22.04 LTS</title>
		<link rel="alternate" type="text/html" href="https://wiki.stoehr-hermaringen.de/index.php?title=Installation_Nextcloud_unter_Ubuntu_22.04_LTS&amp;diff=117"/>
		<updated>2023-05-10T06:34:57Z</updated>

		<summary type="html">&lt;p&gt;Guenter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Diese Anleistung basiert auf folgender Anleitung:  &lt;br /&gt;
&lt;br /&gt;
[https://apfelcast.com/nextcloud-25-auf-linux-server-ubuntu-22-04-installieren-einfache-anleitung/ https://apfelcast.com/nextcloud-25-auf-linux-server-ubuntu-22-04-installieren-einfache-anleitung/]&lt;br /&gt;
&lt;br /&gt;
!!! Achtung, die Anleitung im Internet wurde zwischenzeitlich verändert - es fehlen wichtige Stellen&lt;br /&gt;
&lt;br /&gt;
Die beiden zusätzlichen Änderungen am Schuss ergeben sich nach dem überprüfen der Einstellungen in Nextcloud.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Nextcloud 25 Installation auf Basis Ubuntu 22.04 LTS'''&lt;br /&gt;
-------------------&lt;br /&gt;
&lt;br /&gt;
*Betriebsystem auf aktuellen Stand bringen&lt;br /&gt;
 apt update &amp;amp;&amp;amp; apt upgrade -y&lt;br /&gt;
&lt;br /&gt;
*Installion apache&lt;br /&gt;
 apt install apache2&lt;br /&gt;
&lt;br /&gt;
*Installion PHP 8.1 &lt;br /&gt;
 apt install software-properties-common&lt;br /&gt;
 add-apt-repository ppa:ondrej/php&lt;br /&gt;
 apt update&lt;br /&gt;
&lt;br /&gt;
*Installion PHP 8.1 &amp;amp; Module&lt;br /&gt;
 apt install php8.1 libapache2-mod-php8.1 php8.1-zip php-dompdf php8.1-xml php8.1-mbstring php8.1-gd php8.1-curl php8.1-imagick libmagickcore-6.q16-6-extra php8.1-intl php8.1-bcmath php8.1-gmp php8.1-cli php8.1-mysql php8.1-zip php8.1-gd  php8.1-mbstring php8.1-curl php8.1-xml php-pear unzip nano php8.1-apcu redis-server ufw php8.1-redis&lt;br /&gt;
&lt;br /&gt;
*anpassen der PHP.ini Datei&lt;br /&gt;
 nano /etc/php/8.1/apache2/php.ini&lt;br /&gt;
&lt;br /&gt;
 memory_limit = 1024M&lt;br /&gt;
 upload_max_filesize = 16G&lt;br /&gt;
 post_max_size = 16G&lt;br /&gt;
 date.timezone = Europe/Berlin&lt;br /&gt;
 output_buffering = Off&lt;br /&gt;
&lt;br /&gt;
*Installation Datenbank Server&lt;br /&gt;
 apt install mariadb-server&lt;br /&gt;
&lt;br /&gt;
*Maria DB Server Konfiguration&lt;br /&gt;
 mysql_secure_installation&lt;br /&gt;
&lt;br /&gt;
*öffnen SQL Dialog&lt;br /&gt;
 mysql&lt;br /&gt;
&lt;br /&gt;
*create database calles nextcloud&lt;br /&gt;
 CREATE DATABASE nextcloud; &lt;br /&gt;
&lt;br /&gt;
*create database user with password&lt;br /&gt;
 CREATE USER 'nextclouduser'@'localhost' IDENTIFIED BY 'password_here';&lt;br /&gt;
&lt;br /&gt;
*grant accesss to databse&lt;br /&gt;
 GRANT ALL PRIVILEGES ON nextcloud.* TO 'nextclouduser'@'localhost';&lt;br /&gt;
&lt;br /&gt;
*save changes and exit&lt;br /&gt;
 FLUSH PRIVILEGES;&lt;br /&gt;
 EXIT;&lt;br /&gt;
&lt;br /&gt;
*Download lastest nextcloud version&lt;br /&gt;
 cd /tmp &amp;amp;&amp;amp; wget https://download.nextcloud.com/server/releases/latest.zip&lt;br /&gt;
 unzip latest.zip&lt;br /&gt;
 mv nextcloud /var/www/&lt;br /&gt;
&lt;br /&gt;
*create new conf&lt;br /&gt;
&lt;br /&gt;
 nano /etc/apache2/sites-available/nextcloud.conf&lt;br /&gt;
 &amp;lt;VirtualHost *:80&amp;gt;&lt;br /&gt;
  ServerAdmin master@domain.com&lt;br /&gt;
  DocumentRoot /var/www/nextcloud/&lt;br /&gt;
  ServerName demo.domain.com&lt;br /&gt;
  ServerAlias www.demo.domain.com&lt;br /&gt;
  &lt;br /&gt;
  Alias /nextcloud &amp;quot;/var/www/nextcloud/&amp;quot;&lt;br /&gt;
  &amp;lt;Directory /var/www/nextcloud/&amp;gt;&lt;br /&gt;
  Options +FollowSymlinks&lt;br /&gt;
   AllowOverride All&lt;br /&gt;
   Require all granted&lt;br /&gt;
   &amp;lt;IfModule mod_dav.c&amp;gt;&lt;br /&gt;
    Dav off&lt;br /&gt;
   &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
   SetEnv HOME /var/www/nextcloud&lt;br /&gt;
   SetEnv HTTP_HOME /var/www/nextcloud&lt;br /&gt;
  &amp;lt;/Directory&amp;gt;&lt;br /&gt;
   ErrorLog ${APACHE_LOG_DIR}/error.log&lt;br /&gt;
   CustomLog ${APACHE_LOG_DIR}/access.log combined&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Enable the NextCloud and Rewrite Module&lt;br /&gt;
 a2ensite nextcloud.conf&lt;br /&gt;
 a2enmod rewrite&lt;br /&gt;
 a2enmod headers&lt;br /&gt;
 a2enmod env&lt;br /&gt;
 a2enmod dir&lt;br /&gt;
 a2enmod mime&lt;br /&gt;
&lt;br /&gt;
*restart apache&lt;br /&gt;
 service apache2 restart&lt;br /&gt;
&lt;br /&gt;
*prepare data folder&lt;br /&gt;
 mkdir /home/data/&lt;br /&gt;
 chown -R www-data:www-data /home/data/&lt;br /&gt;
&lt;br /&gt;
*prepare nextcloud Folder&lt;br /&gt;
 chown -R www-data:www-data /var/www/nextcloud/&lt;br /&gt;
 chmod -R 755 /var/www/nextcloud/&lt;br /&gt;
&lt;br /&gt;
*install certbot and create Let's Encrypt SSL-Certificate&lt;br /&gt;
 apt install certbot python3-certbot-apache&lt;br /&gt;
&lt;br /&gt;
* erstes Zertifikat anfordern&lt;br /&gt;
 certbot --apache -m master@domain.com -d cloud.domain.com&lt;br /&gt;
 &lt;br /&gt;
--&amp;gt; only lasts 90 days&lt;br /&gt;
&lt;br /&gt;
*gegebenenfall das Paket cron installieren&lt;br /&gt;
 install crontab&lt;br /&gt;
 crontab -e&lt;br /&gt;
 40 3 * * 0 letsencrypt renew &amp;gt;&amp;gt; /var/log/letsencrypt-renew.log &amp;amp;&amp;amp; service apache2 reload &amp;gt; /dev/null 2&amp;gt;&amp;amp;1&lt;br /&gt;
&lt;br /&gt;
--&amp;gt; Domain ansurfen und Einrichtung abschließen&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--------------------&lt;br /&gt;
&lt;br /&gt;
'''Abschliessende Änderungen:'''&lt;br /&gt;
&lt;br /&gt;
*Erweitern der Datei : /etc/apache2/sites-available/nextcloud-le-ssl.conf um folgenden Eintrag&lt;br /&gt;
&lt;br /&gt;
 Strict-Transport-Security:&lt;br /&gt;
  &amp;lt;VirtualHost *:443&amp;gt;&lt;br /&gt;
  ServerName cloud.nextcloud.com&lt;br /&gt;
   &amp;lt;IfModule mod_headers.c&amp;gt;&lt;br /&gt;
    Header always set Strict-Transport-Security &amp;quot;max-age=15552000; includeSubDomains&amp;quot;&lt;br /&gt;
   &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
  &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Erweitern der Einstellungen in der Datein  /var/www/nextcloud/config/config.php um folgenden Eintrag&lt;br /&gt;
 'default_phone_region' =&amp;gt; 'DE',&lt;br /&gt;
	&lt;br /&gt;
(bei einer Snap Installation unter Ubuntu 20.04 liegt die Datei unter /var/snap/nextcloud/current/config/config.php)&lt;/div&gt;</summary>
		<author><name>Guenter</name></author>
	</entry>
	<entry>
		<id>https://wiki.stoehr-hermaringen.de/index.php?title=Installation_Nextcloud_unter_Ubuntu_22.04_LTS&amp;diff=116</id>
		<title>Installation Nextcloud unter Ubuntu 22.04 LTS</title>
		<link rel="alternate" type="text/html" href="https://wiki.stoehr-hermaringen.de/index.php?title=Installation_Nextcloud_unter_Ubuntu_22.04_LTS&amp;diff=116"/>
		<updated>2023-05-10T06:34:08Z</updated>

		<summary type="html">&lt;p&gt;Guenter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Diese Anleistung basiert auf folgender Anleitung:  &lt;br /&gt;
&lt;br /&gt;
[https://apfelcast.com/nextcloud-25-auf-linux-server-ubuntu-22-04-installieren-einfache-anleitung/ https://apfelcast.com/nextcloud-25-auf-linux-server-ubuntu-22-04-installieren-einfache-anleitung/]&lt;br /&gt;
&lt;br /&gt;
Die beiden zusätzlichen Änderungen am Schuss ergeben sich nach dem überprüfen der Einstellungen in Nextcloud.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Nextcloud 25 Installation auf Basis Ubuntu 22.04 LTS'''&lt;br /&gt;
-------------------&lt;br /&gt;
&lt;br /&gt;
*Betriebsystem auf aktuellen Stand bringen&lt;br /&gt;
 apt update &amp;amp;&amp;amp; apt upgrade -y&lt;br /&gt;
&lt;br /&gt;
*Installion apache&lt;br /&gt;
 apt install apache2&lt;br /&gt;
&lt;br /&gt;
*Installion PHP 8.1 &lt;br /&gt;
 apt install software-properties-common&lt;br /&gt;
 add-apt-repository ppa:ondrej/php&lt;br /&gt;
 apt update&lt;br /&gt;
&lt;br /&gt;
*Installion PHP 8.1 &amp;amp; Module&lt;br /&gt;
 apt install php8.1 libapache2-mod-php8.1 php8.1-zip php-dompdf php8.1-xml php8.1-mbstring php8.1-gd php8.1-curl php8.1-imagick libmagickcore-6.q16-6-extra php8.1-intl php8.1-bcmath php8.1-gmp php8.1-cli php8.1-mysql php8.1-zip php8.1-gd  php8.1-mbstring php8.1-curl php8.1-xml php-pear unzip nano php8.1-apcu redis-server ufw php8.1-redis&lt;br /&gt;
&lt;br /&gt;
*anpassen der PHP.ini Datei&lt;br /&gt;
 nano /etc/php/8.1/apache2/php.ini&lt;br /&gt;
&lt;br /&gt;
 memory_limit = 1024M&lt;br /&gt;
 upload_max_filesize = 16G&lt;br /&gt;
 post_max_size = 16G&lt;br /&gt;
 date.timezone = Europe/Berlin&lt;br /&gt;
 output_buffering = Off&lt;br /&gt;
&lt;br /&gt;
*Installation Datenbank Server&lt;br /&gt;
 apt install mariadb-server&lt;br /&gt;
&lt;br /&gt;
*Maria DB Server Konfiguration&lt;br /&gt;
 mysql_secure_installation&lt;br /&gt;
&lt;br /&gt;
*öffnen SQL Dialog&lt;br /&gt;
 mysql&lt;br /&gt;
&lt;br /&gt;
*create database calles nextcloud&lt;br /&gt;
 CREATE DATABASE nextcloud; &lt;br /&gt;
&lt;br /&gt;
*create database user with password&lt;br /&gt;
 CREATE USER 'nextclouduser'@'localhost' IDENTIFIED BY 'password_here';&lt;br /&gt;
&lt;br /&gt;
*grant accesss to databse&lt;br /&gt;
 GRANT ALL PRIVILEGES ON nextcloud.* TO 'nextclouduser'@'localhost';&lt;br /&gt;
&lt;br /&gt;
*save changes and exit&lt;br /&gt;
 FLUSH PRIVILEGES;&lt;br /&gt;
 EXIT;&lt;br /&gt;
&lt;br /&gt;
*Download lastest nextcloud version&lt;br /&gt;
 cd /tmp &amp;amp;&amp;amp; wget https://download.nextcloud.com/server/releases/latest.zip&lt;br /&gt;
 unzip latest.zip&lt;br /&gt;
 mv nextcloud /var/www/&lt;br /&gt;
&lt;br /&gt;
*create new conf&lt;br /&gt;
&lt;br /&gt;
 nano /etc/apache2/sites-available/nextcloud.conf&lt;br /&gt;
 &amp;lt;VirtualHost *:80&amp;gt;&lt;br /&gt;
  ServerAdmin master@domain.com&lt;br /&gt;
  DocumentRoot /var/www/nextcloud/&lt;br /&gt;
  ServerName demo.domain.com&lt;br /&gt;
  ServerAlias www.demo.domain.com&lt;br /&gt;
  &lt;br /&gt;
  Alias /nextcloud &amp;quot;/var/www/nextcloud/&amp;quot;&lt;br /&gt;
  &amp;lt;Directory /var/www/nextcloud/&amp;gt;&lt;br /&gt;
  Options +FollowSymlinks&lt;br /&gt;
   AllowOverride All&lt;br /&gt;
   Require all granted&lt;br /&gt;
   &amp;lt;IfModule mod_dav.c&amp;gt;&lt;br /&gt;
    Dav off&lt;br /&gt;
   &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
   SetEnv HOME /var/www/nextcloud&lt;br /&gt;
   SetEnv HTTP_HOME /var/www/nextcloud&lt;br /&gt;
  &amp;lt;/Directory&amp;gt;&lt;br /&gt;
   ErrorLog ${APACHE_LOG_DIR}/error.log&lt;br /&gt;
   CustomLog ${APACHE_LOG_DIR}/access.log combined&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Enable the NextCloud and Rewrite Module&lt;br /&gt;
 a2ensite nextcloud.conf&lt;br /&gt;
 a2enmod rewrite&lt;br /&gt;
 a2enmod headers&lt;br /&gt;
 a2enmod env&lt;br /&gt;
 a2enmod dir&lt;br /&gt;
 a2enmod mime&lt;br /&gt;
&lt;br /&gt;
*restart apache&lt;br /&gt;
 service apache2 restart&lt;br /&gt;
&lt;br /&gt;
*prepare data folder&lt;br /&gt;
 mkdir /home/data/&lt;br /&gt;
 chown -R www-data:www-data /home/data/&lt;br /&gt;
&lt;br /&gt;
*prepare nextcloud Folder&lt;br /&gt;
 chown -R www-data:www-data /var/www/nextcloud/&lt;br /&gt;
 chmod -R 755 /var/www/nextcloud/&lt;br /&gt;
&lt;br /&gt;
*install certbot and create Let's Encrypt SSL-Certificate&lt;br /&gt;
 apt install certbot python3-certbot-apache&lt;br /&gt;
&lt;br /&gt;
* erstes Zertifikat anfordern&lt;br /&gt;
 certbot --apache -m master@domain.com -d cloud.domain.com&lt;br /&gt;
 &lt;br /&gt;
--&amp;gt; only lasts 90 days&lt;br /&gt;
&lt;br /&gt;
*gegebenenfall das Paket cron installieren&lt;br /&gt;
 install crontab&lt;br /&gt;
 crontab -e&lt;br /&gt;
 40 3 * * 0 letsencrypt renew &amp;gt;&amp;gt; /var/log/letsencrypt-renew.log &amp;amp;&amp;amp; service apache2 reload &amp;gt; /dev/null 2&amp;gt;&amp;amp;1&lt;br /&gt;
&lt;br /&gt;
--&amp;gt; Domain ansurfen und Einrichtung abschließen&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--------------------&lt;br /&gt;
&lt;br /&gt;
'''Abschliessende Änderungen:'''&lt;br /&gt;
&lt;br /&gt;
*Erweitern der Datei : /etc/apache2/sites-available/nextcloud-le-ssl.conf um folgenden Eintrag&lt;br /&gt;
&lt;br /&gt;
 Strict-Transport-Security:&lt;br /&gt;
  &amp;lt;VirtualHost *:443&amp;gt;&lt;br /&gt;
  ServerName cloud.nextcloud.com&lt;br /&gt;
   &amp;lt;IfModule mod_headers.c&amp;gt;&lt;br /&gt;
    Header always set Strict-Transport-Security &amp;quot;max-age=15552000; includeSubDomains&amp;quot;&lt;br /&gt;
   &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
  &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Erweitern der Einstellungen in der Datein  /var/www/nextcloud/config/config.php um folgenden Eintrag&lt;br /&gt;
 'default_phone_region' =&amp;gt; 'DE',&lt;br /&gt;
	&lt;br /&gt;
(bei einer Snap Installation unter Ubuntu 20.04 liegt die Datei unter /var/snap/nextcloud/current/config/config.php)&lt;/div&gt;</summary>
		<author><name>Guenter</name></author>
	</entry>
	<entry>
		<id>https://wiki.stoehr-hermaringen.de/index.php?title=Installation_Nextcloud_unter_Ubuntu_22.04_LTS&amp;diff=115</id>
		<title>Installation Nextcloud unter Ubuntu 22.04 LTS</title>
		<link rel="alternate" type="text/html" href="https://wiki.stoehr-hermaringen.de/index.php?title=Installation_Nextcloud_unter_Ubuntu_22.04_LTS&amp;diff=115"/>
		<updated>2023-05-10T06:33:39Z</updated>

		<summary type="html">&lt;p&gt;Guenter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Diese Anleistung basiert auf folgender Anleitung:  &lt;br /&gt;
&lt;br /&gt;
[https://apfelcast.com/nextcloud-25-auf-linux-server-ubuntu-22-04-installieren-einfache-anleitung/ https://apfelcast.com/nextcloud-25-auf-linux-server-ubuntu-22-04-installieren-einfache-anleitung/]&lt;br /&gt;
&lt;br /&gt;
Die beiden zusätzlichen Änderungen am Schuss ergeben sich nach dem überprüfen der Einstellungen in Nextcloud.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Nextcloud 25 Installation auf Basis Ubuntu 22.04 LTS&lt;br /&gt;
-------------------&lt;br /&gt;
&lt;br /&gt;
*Betriebsystem auf aktuellen Stand bringen&lt;br /&gt;
 apt update &amp;amp;&amp;amp; apt upgrade -y&lt;br /&gt;
&lt;br /&gt;
*Installion apache&lt;br /&gt;
 apt install apache2&lt;br /&gt;
&lt;br /&gt;
*Installion PHP 8.1 &lt;br /&gt;
 apt install software-properties-common&lt;br /&gt;
 add-apt-repository ppa:ondrej/php&lt;br /&gt;
 apt update&lt;br /&gt;
&lt;br /&gt;
*Installion PHP 8.1 &amp;amp; Module&lt;br /&gt;
 apt install php8.1 libapache2-mod-php8.1 php8.1-zip php-dompdf php8.1-xml php8.1-mbstring php8.1-gd php8.1-curl php8.1-imagick libmagickcore-6.q16-6-extra php8.1-intl php8.1-bcmath php8.1-gmp php8.1-cli php8.1-mysql php8.1-zip php8.1-gd  php8.1-mbstring php8.1-curl php8.1-xml php-pear unzip nano php8.1-apcu redis-server ufw php8.1-redis&lt;br /&gt;
&lt;br /&gt;
*anpassen der PHP.ini Datei&lt;br /&gt;
 nano /etc/php/8.1/apache2/php.ini&lt;br /&gt;
&lt;br /&gt;
 memory_limit = 1024M&lt;br /&gt;
 upload_max_filesize = 16G&lt;br /&gt;
 post_max_size = 16G&lt;br /&gt;
 date.timezone = Europe/Berlin&lt;br /&gt;
 output_buffering = Off&lt;br /&gt;
&lt;br /&gt;
*Installation Datenbank Server&lt;br /&gt;
 apt install mariadb-server&lt;br /&gt;
&lt;br /&gt;
*Maria DB Server Konfiguration&lt;br /&gt;
 mysql_secure_installation&lt;br /&gt;
&lt;br /&gt;
*öffnen SQL Dialog&lt;br /&gt;
 mysql&lt;br /&gt;
&lt;br /&gt;
*create database calles nextcloud&lt;br /&gt;
 CREATE DATABASE nextcloud; &lt;br /&gt;
&lt;br /&gt;
*create database user with password&lt;br /&gt;
 CREATE USER 'nextclouduser'@'localhost' IDENTIFIED BY 'password_here';&lt;br /&gt;
&lt;br /&gt;
*grant accesss to databse&lt;br /&gt;
 GRANT ALL PRIVILEGES ON nextcloud.* TO 'nextclouduser'@'localhost';&lt;br /&gt;
&lt;br /&gt;
*save changes and exit&lt;br /&gt;
 FLUSH PRIVILEGES;&lt;br /&gt;
 EXIT;&lt;br /&gt;
&lt;br /&gt;
*Download lastest nextcloud version&lt;br /&gt;
 cd /tmp &amp;amp;&amp;amp; wget https://download.nextcloud.com/server/releases/latest.zip&lt;br /&gt;
 unzip latest.zip&lt;br /&gt;
 mv nextcloud /var/www/&lt;br /&gt;
&lt;br /&gt;
*create new conf&lt;br /&gt;
&lt;br /&gt;
 nano /etc/apache2/sites-available/nextcloud.conf&lt;br /&gt;
 &amp;lt;VirtualHost *:80&amp;gt;&lt;br /&gt;
  ServerAdmin master@domain.com&lt;br /&gt;
  DocumentRoot /var/www/nextcloud/&lt;br /&gt;
  ServerName demo.domain.com&lt;br /&gt;
  ServerAlias www.demo.domain.com&lt;br /&gt;
  &lt;br /&gt;
  Alias /nextcloud &amp;quot;/var/www/nextcloud/&amp;quot;&lt;br /&gt;
  &amp;lt;Directory /var/www/nextcloud/&amp;gt;&lt;br /&gt;
  Options +FollowSymlinks&lt;br /&gt;
   AllowOverride All&lt;br /&gt;
   Require all granted&lt;br /&gt;
   &amp;lt;IfModule mod_dav.c&amp;gt;&lt;br /&gt;
    Dav off&lt;br /&gt;
   &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
   SetEnv HOME /var/www/nextcloud&lt;br /&gt;
   SetEnv HTTP_HOME /var/www/nextcloud&lt;br /&gt;
  &amp;lt;/Directory&amp;gt;&lt;br /&gt;
   ErrorLog ${APACHE_LOG_DIR}/error.log&lt;br /&gt;
   CustomLog ${APACHE_LOG_DIR}/access.log combined&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Enable the NextCloud and Rewrite Module&lt;br /&gt;
 a2ensite nextcloud.conf&lt;br /&gt;
 a2enmod rewrite&lt;br /&gt;
 a2enmod headers&lt;br /&gt;
 a2enmod env&lt;br /&gt;
 a2enmod dir&lt;br /&gt;
 a2enmod mime&lt;br /&gt;
&lt;br /&gt;
*restart apache&lt;br /&gt;
 service apache2 restart&lt;br /&gt;
&lt;br /&gt;
*prepare data folder&lt;br /&gt;
 mkdir /home/data/&lt;br /&gt;
 chown -R www-data:www-data /home/data/&lt;br /&gt;
&lt;br /&gt;
*prepare nextcloud Folder&lt;br /&gt;
 chown -R www-data:www-data /var/www/nextcloud/&lt;br /&gt;
 chmod -R 755 /var/www/nextcloud/&lt;br /&gt;
&lt;br /&gt;
*install certbot and create Let's Encrypt SSL-Certificate&lt;br /&gt;
 apt install certbot python3-certbot-apache&lt;br /&gt;
&lt;br /&gt;
* erstes Zertifikat anfordern&lt;br /&gt;
 certbot --apache -m master@domain.com -d cloud.domain.com&lt;br /&gt;
 &lt;br /&gt;
--&amp;gt; only lasts 90 days&lt;br /&gt;
&lt;br /&gt;
*gegebenenfall das Paket cron installieren&lt;br /&gt;
 install crontab&lt;br /&gt;
 crontab -e&lt;br /&gt;
 40 3 * * 0 letsencrypt renew &amp;gt;&amp;gt; /var/log/letsencrypt-renew.log &amp;amp;&amp;amp; service apache2 reload &amp;gt; /dev/null 2&amp;gt;&amp;amp;1&lt;br /&gt;
&lt;br /&gt;
--&amp;gt; Domain ansurfen und Einrichtung abschließen&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--------------------&lt;br /&gt;
&lt;br /&gt;
'''Abschliessende Änderungen:'''&lt;br /&gt;
&lt;br /&gt;
*Erweitern der Datei : /etc/apache2/sites-available/nextcloud-le-ssl.conf um folgenden Eintrag&lt;br /&gt;
&lt;br /&gt;
 Strict-Transport-Security:&lt;br /&gt;
  &amp;lt;VirtualHost *:443&amp;gt;&lt;br /&gt;
  ServerName cloud.nextcloud.com&lt;br /&gt;
   &amp;lt;IfModule mod_headers.c&amp;gt;&lt;br /&gt;
    Header always set Strict-Transport-Security &amp;quot;max-age=15552000; includeSubDomains&amp;quot;&lt;br /&gt;
   &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
  &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Erweitern der Einstellungen in der Datein  /var/www/nextcloud/config/config.php um folgenden Eintrag&lt;br /&gt;
 'default_phone_region' =&amp;gt; 'DE',&lt;br /&gt;
	&lt;br /&gt;
(bei einer Snap Installation unter Ubuntu 20.04 liegt die Datei unter /var/snap/nextcloud/current/config/config.php)&lt;/div&gt;</summary>
		<author><name>Guenter</name></author>
	</entry>
	<entry>
		<id>https://wiki.stoehr-hermaringen.de/index.php?title=Hauptseite&amp;diff=114</id>
		<title>Hauptseite</title>
		<link rel="alternate" type="text/html" href="https://wiki.stoehr-hermaringen.de/index.php?title=Hauptseite&amp;diff=114"/>
		<updated>2023-05-10T06:33:00Z</updated>

		<summary type="html">&lt;p&gt;Guenter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;strong&amp;gt;Privates Wiki von Günter Stöhr.&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Privat ==&lt;br /&gt;
=== Technische Dokumentationen ===&lt;br /&gt;
*[[Heizung und Lüftungsanlage]]&lt;br /&gt;
&lt;br /&gt;
== EDV ==&lt;br /&gt;
=== Linux ===&lt;br /&gt;
*[[Linux Server]]&lt;br /&gt;
*[[Linux Clients]]&lt;br /&gt;
&lt;br /&gt;
=== Windows ===&lt;br /&gt;
*[[Windows Server]]&lt;br /&gt;
*[[Windows Clients]]&lt;br /&gt;
&lt;br /&gt;
[[Android]]&lt;br /&gt;
&lt;br /&gt;
[[IOS]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;br /&gt;
&amp;lt;strong&amp;gt;MediaWiki wurde am 8.5.2024 installiert.&amp;lt;/strong&amp;gt;&lt;br /&gt;
Hilfe zur Benutzung und Konfiguration der Wiki-Software findest du im [https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents Benutzerhandbuch].&lt;br /&gt;
&lt;br /&gt;
== Starthilfen ==&lt;br /&gt;
&lt;br /&gt;
* [https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Configuration_settings Liste der Konfigurationsparameter]&lt;br /&gt;
* [https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:FAQ Häufige Fragen zu MediaWiki]&lt;br /&gt;
* [https://lists.wikimedia.org/postorius/lists/mediawiki-announce.lists.wikimedia.org/ Mailingliste zu neuen Versionen von MediaWiki]&lt;br /&gt;
* [https://www.mediawiki.org/wiki/Special:MyLanguage/Localisation#Translation_resources Übersetze MediaWiki für deine Sprache]&lt;br /&gt;
* [https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Combating_spam Erfahre, wie du Spam auf deinem Wiki bekämpfen kannst]&lt;br /&gt;
* [https://www.mediawiki.org/wiki/Help:Formatting/de Formatierungsvorschriften im Wiki]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[file: Stadtplan Hermaringen.png|400px]]&lt;/div&gt;</summary>
		<author><name>Guenter</name></author>
	</entry>
	<entry>
		<id>https://wiki.stoehr-hermaringen.de/index.php?title=Hauptseite&amp;diff=113</id>
		<title>Hauptseite</title>
		<link rel="alternate" type="text/html" href="https://wiki.stoehr-hermaringen.de/index.php?title=Hauptseite&amp;diff=113"/>
		<updated>2023-05-10T06:32:22Z</updated>

		<summary type="html">&lt;p&gt;Guenter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;strong&amp;gt;Privates Wiki von Günter Stöhr.&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Privat ==&lt;br /&gt;
=== Technische Dokumentationen ===&lt;br /&gt;
*[[Heizung und Lüftungsanlage]]&lt;br /&gt;
&lt;br /&gt;
== EDV ==&lt;br /&gt;
=== Linux ===&lt;br /&gt;
*[[Linux Server]]&lt;br /&gt;
*[[Linux Clients]]&lt;br /&gt;
&lt;br /&gt;
=== Windows ===&lt;br /&gt;
*[[Windows Server]]&lt;br /&gt;
*[[Windows Clients]]&lt;br /&gt;
&lt;br /&gt;
[[Android]]&lt;br /&gt;
&lt;br /&gt;
[[IOS]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;br /&gt;
&amp;lt;strong&amp;gt;MediaWiki wurde am 8.5.2024 installiert.&amp;lt;/strong&amp;gt;&lt;br /&gt;
Hilfe zur Benutzung und Konfiguration der Wiki-Software findest du im [https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents Benutzerhandbuch].&lt;br /&gt;
&lt;br /&gt;
== Starthilfen ==&lt;br /&gt;
&lt;br /&gt;
* [https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Configuration_settings Liste der Konfigurationsparameter]&lt;br /&gt;
* [https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:FAQ Häufige Fragen zu MediaWiki]&lt;br /&gt;
* [https://lists.wikimedia.org/postorius/lists/mediawiki-announce.lists.wikimedia.org/ Mailingliste zu neuen Versionen von MediaWiki]&lt;br /&gt;
* [https://www.mediawiki.org/wiki/Special:MyLanguage/Localisation#Translation_resources Übersetze MediaWiki für deine Sprache]&lt;br /&gt;
* [https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Combating_spam Erfahre, wie du Spam auf deinem Wiki bekämpfen kannst]&lt;br /&gt;
* [https://www.mediawiki.org/wiki/Help:Formatting/de]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[file: Stadtplan Hermaringen.png|400px]]&lt;/div&gt;</summary>
		<author><name>Guenter</name></author>
	</entry>
	<entry>
		<id>https://wiki.stoehr-hermaringen.de/index.php?title=Hauptseite&amp;diff=112</id>
		<title>Hauptseite</title>
		<link rel="alternate" type="text/html" href="https://wiki.stoehr-hermaringen.de/index.php?title=Hauptseite&amp;diff=112"/>
		<updated>2023-05-10T06:31:12Z</updated>

		<summary type="html">&lt;p&gt;Guenter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;strong&amp;gt;Privates Wiki von Günter Stöhr.&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Privat ==&lt;br /&gt;
=== Technische Dokumentationen ===&lt;br /&gt;
*[[Heizung und Lüftungsanlage]]&lt;br /&gt;
&lt;br /&gt;
== EDV ==&lt;br /&gt;
=== Linux ===&lt;br /&gt;
*[[Linux Server]]&lt;br /&gt;
*[[Linux Clients]]&lt;br /&gt;
&lt;br /&gt;
=== Windows ===&lt;br /&gt;
*[[Windows Server]]&lt;br /&gt;
*[[Windows Clients]]&lt;br /&gt;
&lt;br /&gt;
[[Android]]&lt;br /&gt;
&lt;br /&gt;
[[IOS]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;br /&gt;
&amp;lt;strong&amp;gt;MediaWiki wurde am 8.5.2024 installiert.&amp;lt;/strong&amp;gt;&lt;br /&gt;
Hilfe zur Benutzung und Konfiguration der Wiki-Software findest du im [https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents Benutzerhandbuch].&lt;br /&gt;
&lt;br /&gt;
== Starthilfen ==&lt;br /&gt;
&lt;br /&gt;
* [https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Configuration_settings Liste der Konfigurationsparameter]&lt;br /&gt;
* [https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:FAQ Häufige Fragen zu MediaWiki]&lt;br /&gt;
* [https://lists.wikimedia.org/postorius/lists/mediawiki-announce.lists.wikimedia.org/ Mailingliste zu neuen Versionen von MediaWiki]&lt;br /&gt;
* [https://www.mediawiki.org/wiki/Special:MyLanguage/Localisation#Translation_resources Übersetze MediaWiki für deine Sprache]&lt;br /&gt;
* [https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Combating_spam Erfahre, wie du Spam auf deinem Wiki bekämpfen kannst]&lt;br /&gt;
* [https://www.mediawiki.org/wiki/Help:Formatting/de, Formatierungs Möglichkeiten]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[file: Stadtplan Hermaringen.png|400px]]&lt;/div&gt;</summary>
		<author><name>Guenter</name></author>
	</entry>
	<entry>
		<id>https://wiki.stoehr-hermaringen.de/index.php?title=Installation_Nextcloud_unter_Ubuntu_22.04_LTS&amp;diff=111</id>
		<title>Installation Nextcloud unter Ubuntu 22.04 LTS</title>
		<link rel="alternate" type="text/html" href="https://wiki.stoehr-hermaringen.de/index.php?title=Installation_Nextcloud_unter_Ubuntu_22.04_LTS&amp;diff=111"/>
		<updated>2023-05-10T06:20:46Z</updated>

		<summary type="html">&lt;p&gt;Guenter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Diese Anleistung basiert auf folgender Anleitung:  &lt;br /&gt;
&lt;br /&gt;
[https://apfelcast.com/nextcloud-25-auf-linux-server-ubuntu-22-04-installieren-einfache-anleitung/ https://apfelcast.com/nextcloud-25-auf-linux-server-ubuntu-22-04-installieren-einfache-anleitung/]&lt;br /&gt;
&lt;br /&gt;
Die beiden zusätzlichen Änderungen am Schuss ergeben sich nach dem überprüfen der Einstellungen in Nextcloud.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Nextcloud 25 Installation auf Basis Ubuntu 22.04 LTS&lt;br /&gt;
-------------------&lt;br /&gt;
&lt;br /&gt;
*Betriebsystem auf aktuellen Stand bringen&lt;br /&gt;
 apt update &amp;amp;&amp;amp; apt upgrade -y&lt;br /&gt;
&lt;br /&gt;
*Installion apache&lt;br /&gt;
 apt install apache2&lt;br /&gt;
&lt;br /&gt;
*Installion PHP 8.1 &lt;br /&gt;
 apt install software-properties-common&lt;br /&gt;
 add-apt-repository ppa:ondrej/php&lt;br /&gt;
 apt update&lt;br /&gt;
&lt;br /&gt;
*Installion PHP 8.1 &amp;amp; Module&lt;br /&gt;
 apt install php8.1 libapache2-mod-php8.1 php8.1-zip php-dompdf php8.1-xml php8.1-mbstring php8.1-gd php8.1-curl php8.1-imagick libmagickcore-6.q16-6-extra php8.1-intl php8.1-bcmath php8.1-gmp php8.1-cli php8.1-mysql php8.1-zip php8.1-gd  php8.1-mbstring php8.1-curl php8.1-xml php-pear unzip nano php8.1-apcu redis-server ufw php8.1-redis&lt;br /&gt;
&lt;br /&gt;
*anpassen der PHP.ini Datei&lt;br /&gt;
 nano /etc/php/8.1/apache2/php.ini&lt;br /&gt;
&lt;br /&gt;
 memory_limit = 1024M&lt;br /&gt;
 upload_max_filesize = 16G&lt;br /&gt;
 post_max_size = 16G&lt;br /&gt;
 date.timezone = Europe/Berlin&lt;br /&gt;
 output_buffering = Off&lt;br /&gt;
&lt;br /&gt;
*Installation Datenbank Server&lt;br /&gt;
 apt install mariadb-server&lt;br /&gt;
&lt;br /&gt;
*Maria DB Server Konfiguration&lt;br /&gt;
 mysql_secure_installation&lt;br /&gt;
&lt;br /&gt;
*öffnen SQL Dialog&lt;br /&gt;
 mysql&lt;br /&gt;
&lt;br /&gt;
*create database calles nextcloud&lt;br /&gt;
 CREATE DATABASE nextcloud; &lt;br /&gt;
&lt;br /&gt;
*create database user with password&lt;br /&gt;
 CREATE USER 'nextclouduser'@'localhost' IDENTIFIED BY 'password_here';&lt;br /&gt;
&lt;br /&gt;
*grant accesss to databse&lt;br /&gt;
 GRANT ALL PRIVILEGES ON nextcloud.* TO 'nextclouduser'@'localhost';&lt;br /&gt;
&lt;br /&gt;
*save changes and exit&lt;br /&gt;
 FLUSH PRIVILEGES;&lt;br /&gt;
 EXIT;&lt;br /&gt;
&lt;br /&gt;
*Download lastest nextcloud version&lt;br /&gt;
 cd /tmp &amp;amp;&amp;amp; wget https://download.nextcloud.com/server/releases/latest.zip&lt;br /&gt;
 unzip latest.zip&lt;br /&gt;
 mv nextcloud /var/www/&lt;br /&gt;
&lt;br /&gt;
*create new conf&lt;br /&gt;
&lt;br /&gt;
 nano /etc/apache2/sites-available/nextcloud.conf&lt;br /&gt;
 &amp;lt;VirtualHost *:80&amp;gt;&lt;br /&gt;
  ServerAdmin master@domain.com&lt;br /&gt;
  DocumentRoot /var/www/nextcloud/&lt;br /&gt;
  ServerName demo.domain.com&lt;br /&gt;
  ServerAlias www.demo.domain.com&lt;br /&gt;
  &lt;br /&gt;
  Alias /nextcloud &amp;quot;/var/www/nextcloud/&amp;quot;&lt;br /&gt;
  &amp;lt;Directory /var/www/nextcloud/&amp;gt;&lt;br /&gt;
  Options +FollowSymlinks&lt;br /&gt;
   AllowOverride All&lt;br /&gt;
   Require all granted&lt;br /&gt;
   &amp;lt;IfModule mod_dav.c&amp;gt;&lt;br /&gt;
    Dav off&lt;br /&gt;
   &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
   SetEnv HOME /var/www/nextcloud&lt;br /&gt;
   SetEnv HTTP_HOME /var/www/nextcloud&lt;br /&gt;
  &amp;lt;/Directory&amp;gt;&lt;br /&gt;
   ErrorLog ${APACHE_LOG_DIR}/error.log&lt;br /&gt;
   CustomLog ${APACHE_LOG_DIR}/access.log combined&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Enable the NextCloud and Rewrite Module&lt;br /&gt;
 a2ensite nextcloud.conf&lt;br /&gt;
 a2enmod rewrite&lt;br /&gt;
 a2enmod headers&lt;br /&gt;
 a2enmod env&lt;br /&gt;
 a2enmod dir&lt;br /&gt;
 a2enmod mime&lt;br /&gt;
&lt;br /&gt;
*restart apache&lt;br /&gt;
 service apache2 restart&lt;br /&gt;
&lt;br /&gt;
*prepare data folder&lt;br /&gt;
 mkdir /home/data/&lt;br /&gt;
 chown -R www-data:www-data /home/data/&lt;br /&gt;
&lt;br /&gt;
*prepare nextcloud Folder&lt;br /&gt;
 chown -R www-data:www-data /var/www/nextcloud/&lt;br /&gt;
 chmod -R 755 /var/www/nextcloud/&lt;br /&gt;
&lt;br /&gt;
*install certbot and create Let's Encrypt SSL-Certificate&lt;br /&gt;
 apt install certbot python3-certbot-apache&lt;br /&gt;
&lt;br /&gt;
* erstes Zertifikat anfordern&lt;br /&gt;
 certbot --apache -m master@domain.com -d cloud.domain.com&lt;br /&gt;
 &lt;br /&gt;
--&amp;gt; only lasts 90 days&lt;br /&gt;
&lt;br /&gt;
*gegebenenfall das Paket cron installieren&lt;br /&gt;
 install crontab&lt;br /&gt;
 crontab -e&lt;br /&gt;
 40 3 * * 0 letsencrypt renew &amp;gt;&amp;gt; /var/log/letsencrypt-renew.log &amp;amp;&amp;amp; service apache2 reload &amp;gt; /dev/null 2&amp;gt;&amp;amp;1&lt;br /&gt;
&lt;br /&gt;
--&amp;gt; Domain ansurfen und Einrichtung abschließen&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--------------------&lt;br /&gt;
&lt;br /&gt;
Abschliessende Änderungen:&lt;br /&gt;
&lt;br /&gt;
*Erweitern der Datei : /etc/apache2/sites-available/nextcloud-le-ssl.conf um folgenden Eintrag&lt;br /&gt;
&lt;br /&gt;
 Strict-Transport-Security:&lt;br /&gt;
  &amp;lt;VirtualHost *:443&amp;gt;&lt;br /&gt;
  ServerName cloud.nextcloud.com&lt;br /&gt;
   &amp;lt;IfModule mod_headers.c&amp;gt;&lt;br /&gt;
    Header always set Strict-Transport-Security &amp;quot;max-age=15552000; includeSubDomains&amp;quot;&lt;br /&gt;
   &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
  &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Erweitern der Einstellungen in der Datein  /var/www/nextcloud/config/config.php um folgenden Eintrag&lt;br /&gt;
 'default_phone_region' =&amp;gt; 'DE',&lt;br /&gt;
	&lt;br /&gt;
(bei einer Snap Installation unter Ubuntu 20.04 liegt die Datei unter /var/snap/nextcloud/current/config/config.php)&lt;/div&gt;</summary>
		<author><name>Guenter</name></author>
	</entry>
	<entry>
		<id>https://wiki.stoehr-hermaringen.de/index.php?title=Installation_Nextcloud_unter_Ubuntu_22.04_LTS&amp;diff=110</id>
		<title>Installation Nextcloud unter Ubuntu 22.04 LTS</title>
		<link rel="alternate" type="text/html" href="https://wiki.stoehr-hermaringen.de/index.php?title=Installation_Nextcloud_unter_Ubuntu_22.04_LTS&amp;diff=110"/>
		<updated>2023-05-10T06:15:47Z</updated>

		<summary type="html">&lt;p&gt;Guenter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Diese Anleistung basiert auf folgender Anleitung:  &lt;br /&gt;
&lt;br /&gt;
[https://apfelcast.com/nextcloud-25-auf-linux-server-ubuntu-22-04-installieren-einfache-anleitung/ https://apfelcast.com/nextcloud-25-auf-linux-server-ubuntu-22-04-installieren-einfache-anleitung/]&lt;br /&gt;
&lt;br /&gt;
Die beiden zusätzlichen Änderungen am Schuss ergeben sich nach dem überprüfen der Einstellungen in Nextcloud.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Nextcloud 25 Installation auf Basis Ubuntu 22.04 LTS&lt;br /&gt;
-------------------&lt;br /&gt;
&lt;br /&gt;
*Betriebsystem auf aktuellen Stand bringen&lt;br /&gt;
 apt update &amp;amp;&amp;amp; apt upgrade -y&lt;br /&gt;
&lt;br /&gt;
*Installion apache&lt;br /&gt;
 apt install apache2&lt;br /&gt;
&lt;br /&gt;
*Installion PHP 8.1 &lt;br /&gt;
 apt install software-properties-common&lt;br /&gt;
 add-apt-repository ppa:ondrej/php&lt;br /&gt;
 apt update&lt;br /&gt;
&lt;br /&gt;
*Installion PHP 8.1 &amp;amp; Module&lt;br /&gt;
 apt install php8.1 libapache2-mod-php8.1 php8.1-zip php-dompdf php8.1-xml php8.1-mbstring php8.1-gd php8.1-curl php8.1-imagick libmagickcore-6.q16-6-extra php8.1-intl php8.1-bcmath php8.1-gmp php8.1-cli php8.1-mysql php8.1-zip php8.1-gd  php8.1-mbstring php8.1-curl php8.1-xml php-pear unzip nano php8.1-apcu redis-server ufw php8.1-redis&lt;br /&gt;
&lt;br /&gt;
*anpassen der PHP.ini Datei&lt;br /&gt;
 nano /etc/php/8.1/apache2/php.ini&lt;br /&gt;
&lt;br /&gt;
 memory_limit = 1024M&lt;br /&gt;
 upload_max_filesize = 16G&lt;br /&gt;
 post_max_size = 16G&lt;br /&gt;
 date.timezone = Europe/Berlin&lt;br /&gt;
 output_buffering = Off&lt;br /&gt;
&lt;br /&gt;
*Installation Datenbank Server&lt;br /&gt;
 apt install mariadb-server&lt;br /&gt;
&lt;br /&gt;
*Maria DB Server Konfiguration&lt;br /&gt;
 mysql_secure_installation&lt;br /&gt;
&lt;br /&gt;
*öffnen SQL Dialog&lt;br /&gt;
 mysql&lt;br /&gt;
&lt;br /&gt;
*create database calles nextcloud&lt;br /&gt;
 CREATE DATABASE nextcloud; &lt;br /&gt;
&lt;br /&gt;
*create database user with password&lt;br /&gt;
 CREATE USER 'nextclouduser'@'localhost' IDENTIFIED BY 'password_here';&lt;br /&gt;
&lt;br /&gt;
*grant accesss to databse&lt;br /&gt;
 GRANT ALL PRIVILEGES ON nextcloud.* TO 'nextclouduser'@'localhost';&lt;br /&gt;
&lt;br /&gt;
*save changes and exit&lt;br /&gt;
 FLUSH PRIVILEGES;&lt;br /&gt;
 EXIT;&lt;br /&gt;
&lt;br /&gt;
*Download lastest nextcloud version&lt;br /&gt;
 cd /tmp &amp;amp;&amp;amp; wget https://download.nextcloud.com/server/releases/latest.zip&lt;br /&gt;
 unzip latest.zip&lt;br /&gt;
 mv nextcloud /var/www/&lt;br /&gt;
&lt;br /&gt;
*create new conf&lt;br /&gt;
&lt;br /&gt;
 nano /etc/apache2/sites-available/nextcloud.conf&lt;br /&gt;
 &amp;lt;VirtualHost *:80&amp;gt;&lt;br /&gt;
  ServerAdmin master@domain.com&lt;br /&gt;
  DocumentRoot /var/www/nextcloud/&lt;br /&gt;
  ServerName demo.domain.com&lt;br /&gt;
  ServerAlias www.demo.domain.com&lt;br /&gt;
  &lt;br /&gt;
  Alias /nextcloud &amp;quot;/var/www/nextcloud/&amp;quot;&lt;br /&gt;
  &amp;lt;Directory /var/www/nextcloud/&amp;gt;&lt;br /&gt;
  Options +FollowSymlinks&lt;br /&gt;
   AllowOverride All&lt;br /&gt;
   Require all granted&lt;br /&gt;
   &amp;lt;IfModule mod_dav.c&amp;gt;&lt;br /&gt;
    Dav off&lt;br /&gt;
   &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
   SetEnv HOME /var/www/nextcloud&lt;br /&gt;
   SetEnv HTTP_HOME /var/www/nextcloud&lt;br /&gt;
  &amp;lt;/Directory&amp;gt;&lt;br /&gt;
   ErrorLog ${APACHE_LOG_DIR}/error.log&lt;br /&gt;
   CustomLog ${APACHE_LOG_DIR}/access.log combined&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Enable the NextCloud and Rewrite Module&lt;br /&gt;
 a2ensite nextcloud.conf&lt;br /&gt;
 a2enmod rewrite&lt;br /&gt;
 a2enmod headers&lt;br /&gt;
 a2enmod env&lt;br /&gt;
 a2enmod dir&lt;br /&gt;
 a2enmod mime&lt;br /&gt;
&lt;br /&gt;
*restart apache&lt;br /&gt;
 service apache2 restart&lt;br /&gt;
&lt;br /&gt;
*prepare data folder&lt;br /&gt;
 mkdir /home/data/&lt;br /&gt;
 chown -R www-data:www-data /home/data/&lt;br /&gt;
&lt;br /&gt;
 chown -R www-data:www-data /var/www/nextcloud/&lt;br /&gt;
 chmod -R 755 /var/www/nextcloud/&lt;br /&gt;
&lt;br /&gt;
*install certbot and create Let's Encrypt SSL-Certificate&lt;br /&gt;
 apt install certbot python3-certbot-apache&lt;br /&gt;
&lt;br /&gt;
 certbot --apache -m master@domain.com -d cloud.domain.com&lt;br /&gt;
 &lt;br /&gt;
--&amp;gt; only lasts 90 days&lt;br /&gt;
&lt;br /&gt;
*gegebenenfall das Paket cron installieren&lt;br /&gt;
 install crontab&lt;br /&gt;
 crontab -e&lt;br /&gt;
 40 3 * * 0 letsencrypt renew &amp;gt;&amp;gt; /var/log/letsencrypt-renew.log &amp;amp;&amp;amp; service apache2 reload &amp;gt; /dev/null 2&amp;gt;&amp;amp;1&lt;br /&gt;
&lt;br /&gt;
--&amp;gt; Domain ansurfen und Einrichtung abschließen&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--------------------&lt;br /&gt;
&lt;br /&gt;
Abschliessende Änderungen:&lt;br /&gt;
&lt;br /&gt;
*Erweitern der Datei : /etc/apache2/sites-available/nextcloud-le-ssl.conf um folgenden Eintrag&lt;br /&gt;
&lt;br /&gt;
 Strict-Transport-Security:&lt;br /&gt;
  &amp;lt;VirtualHost *:443&amp;gt;&lt;br /&gt;
  ServerName cloud.nextcloud.com&lt;br /&gt;
   &amp;lt;IfModule mod_headers.c&amp;gt;&lt;br /&gt;
    Header always set Strict-Transport-Security &amp;quot;max-age=15552000; includeSubDomains&amp;quot;&lt;br /&gt;
   &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
  &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Erweitern der Einstellungen in der Datein  /var/www/nextcloud/config/config.php um folgenden Eintrag&lt;br /&gt;
 'default_phone_region' =&amp;gt; 'DE',&lt;br /&gt;
	&lt;br /&gt;
(bei einer Snap Installation unter Ubuntu 20.04 liegt die Datei unter /var/snap/nextcloud/current/config/config.php)&lt;/div&gt;</summary>
		<author><name>Guenter</name></author>
	</entry>
	<entry>
		<id>https://wiki.stoehr-hermaringen.de/index.php?title=Installation_Nextcloud_unter_Ubuntu_22.04_LTS&amp;diff=109</id>
		<title>Installation Nextcloud unter Ubuntu 22.04 LTS</title>
		<link rel="alternate" type="text/html" href="https://wiki.stoehr-hermaringen.de/index.php?title=Installation_Nextcloud_unter_Ubuntu_22.04_LTS&amp;diff=109"/>
		<updated>2023-05-10T06:15:06Z</updated>

		<summary type="html">&lt;p&gt;Guenter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Diese Anleistung basiert auf folgender Anleitung:  &lt;br /&gt;
&lt;br /&gt;
[https://apfelcast.com/nextcloud-25-auf-linux-server-ubuntu-22-04-installieren-einfache-anleitung/]&lt;br /&gt;
&lt;br /&gt;
Die beiden zusätzlichen Änderungen am Schuss ergeben sich nach dem überprüfen der Einstellungen in Nextcloud.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Nextcloud 25 Installation auf Basis Ubuntu 22.04 LTS&lt;br /&gt;
-------------------&lt;br /&gt;
&lt;br /&gt;
*Betriebsystem auf aktuellen Stand bringen&lt;br /&gt;
 apt update &amp;amp;&amp;amp; apt upgrade -y&lt;br /&gt;
&lt;br /&gt;
*Installion apache&lt;br /&gt;
 apt install apache2&lt;br /&gt;
&lt;br /&gt;
*Installion PHP 8.1 &lt;br /&gt;
 apt install software-properties-common&lt;br /&gt;
 add-apt-repository ppa:ondrej/php&lt;br /&gt;
 apt update&lt;br /&gt;
&lt;br /&gt;
*Installion PHP 8.1 &amp;amp; Module&lt;br /&gt;
 apt install php8.1 libapache2-mod-php8.1 php8.1-zip php-dompdf php8.1-xml php8.1-mbstring php8.1-gd php8.1-curl php8.1-imagick libmagickcore-6.q16-6-extra php8.1-intl php8.1-bcmath php8.1-gmp php8.1-cli php8.1-mysql php8.1-zip php8.1-gd  php8.1-mbstring php8.1-curl php8.1-xml php-pear unzip nano php8.1-apcu redis-server ufw php8.1-redis&lt;br /&gt;
&lt;br /&gt;
*anpassen der PHP.ini Datei&lt;br /&gt;
 nano /etc/php/8.1/apache2/php.ini&lt;br /&gt;
&lt;br /&gt;
 memory_limit = 1024M&lt;br /&gt;
 upload_max_filesize = 16G&lt;br /&gt;
 post_max_size = 16G&lt;br /&gt;
 date.timezone = Europe/Berlin&lt;br /&gt;
 output_buffering = Off&lt;br /&gt;
&lt;br /&gt;
*Installation Datenbank Server&lt;br /&gt;
 apt install mariadb-server&lt;br /&gt;
&lt;br /&gt;
*Maria DB Server Konfiguration&lt;br /&gt;
 mysql_secure_installation&lt;br /&gt;
&lt;br /&gt;
*öffnen SQL Dialog&lt;br /&gt;
 mysql&lt;br /&gt;
&lt;br /&gt;
*create database calles nextcloud&lt;br /&gt;
 CREATE DATABASE nextcloud; &lt;br /&gt;
&lt;br /&gt;
*create database user with password&lt;br /&gt;
 CREATE USER 'nextclouduser'@'localhost' IDENTIFIED BY 'password_here';&lt;br /&gt;
&lt;br /&gt;
*grant accesss to databse&lt;br /&gt;
 GRANT ALL PRIVILEGES ON nextcloud.* TO 'nextclouduser'@'localhost';&lt;br /&gt;
&lt;br /&gt;
*save changes and exit&lt;br /&gt;
 FLUSH PRIVILEGES;&lt;br /&gt;
 EXIT;&lt;br /&gt;
&lt;br /&gt;
*Download lastest nextcloud version&lt;br /&gt;
 cd /tmp &amp;amp;&amp;amp; wget https://download.nextcloud.com/server/releases/latest.zip&lt;br /&gt;
 unzip latest.zip&lt;br /&gt;
 mv nextcloud /var/www/&lt;br /&gt;
&lt;br /&gt;
*create new conf&lt;br /&gt;
&lt;br /&gt;
 nano /etc/apache2/sites-available/nextcloud.conf&lt;br /&gt;
 &amp;lt;VirtualHost *:80&amp;gt;&lt;br /&gt;
  ServerAdmin master@domain.com&lt;br /&gt;
  DocumentRoot /var/www/nextcloud/&lt;br /&gt;
  ServerName demo.domain.com&lt;br /&gt;
  ServerAlias www.demo.domain.com&lt;br /&gt;
  &lt;br /&gt;
  Alias /nextcloud &amp;quot;/var/www/nextcloud/&amp;quot;&lt;br /&gt;
  &amp;lt;Directory /var/www/nextcloud/&amp;gt;&lt;br /&gt;
  Options +FollowSymlinks&lt;br /&gt;
   AllowOverride All&lt;br /&gt;
   Require all granted&lt;br /&gt;
   &amp;lt;IfModule mod_dav.c&amp;gt;&lt;br /&gt;
    Dav off&lt;br /&gt;
   &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
   SetEnv HOME /var/www/nextcloud&lt;br /&gt;
   SetEnv HTTP_HOME /var/www/nextcloud&lt;br /&gt;
  &amp;lt;/Directory&amp;gt;&lt;br /&gt;
   ErrorLog ${APACHE_LOG_DIR}/error.log&lt;br /&gt;
   CustomLog ${APACHE_LOG_DIR}/access.log combined&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Enable the NextCloud and Rewrite Module&lt;br /&gt;
 a2ensite nextcloud.conf&lt;br /&gt;
 a2enmod rewrite&lt;br /&gt;
 a2enmod headers&lt;br /&gt;
 a2enmod env&lt;br /&gt;
 a2enmod dir&lt;br /&gt;
 a2enmod mime&lt;br /&gt;
&lt;br /&gt;
*restart apache&lt;br /&gt;
 service apache2 restart&lt;br /&gt;
&lt;br /&gt;
*prepare data folder&lt;br /&gt;
 mkdir /home/data/&lt;br /&gt;
 chown -R www-data:www-data /home/data/&lt;br /&gt;
&lt;br /&gt;
 chown -R www-data:www-data /var/www/nextcloud/&lt;br /&gt;
 chmod -R 755 /var/www/nextcloud/&lt;br /&gt;
&lt;br /&gt;
*install certbot and create Let's Encrypt SSL-Certificate&lt;br /&gt;
 apt install certbot python3-certbot-apache&lt;br /&gt;
&lt;br /&gt;
 certbot --apache -m master@domain.com -d cloud.domain.com&lt;br /&gt;
 &lt;br /&gt;
--&amp;gt; only lasts 90 days&lt;br /&gt;
&lt;br /&gt;
*gegebenenfall das Paket cron installieren&lt;br /&gt;
 install crontab&lt;br /&gt;
 crontab -e&lt;br /&gt;
 40 3 * * 0 letsencrypt renew &amp;gt;&amp;gt; /var/log/letsencrypt-renew.log &amp;amp;&amp;amp; service apache2 reload &amp;gt; /dev/null 2&amp;gt;&amp;amp;1&lt;br /&gt;
&lt;br /&gt;
--&amp;gt; Domain ansurfen und Einrichtung abschließen&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--------------------&lt;br /&gt;
&lt;br /&gt;
Abschliessende Änderungen:&lt;br /&gt;
&lt;br /&gt;
*Erweitern der Datei : /etc/apache2/sites-available/nextcloud-le-ssl.conf um folgenden Eintrag&lt;br /&gt;
&lt;br /&gt;
 Strict-Transport-Security:&lt;br /&gt;
  &amp;lt;VirtualHost *:443&amp;gt;&lt;br /&gt;
  ServerName cloud.nextcloud.com&lt;br /&gt;
   &amp;lt;IfModule mod_headers.c&amp;gt;&lt;br /&gt;
    Header always set Strict-Transport-Security &amp;quot;max-age=15552000; includeSubDomains&amp;quot;&lt;br /&gt;
   &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
  &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Erweitern der Einstellungen in der Datein  /var/www/nextcloud/config/config.php um folgenden Eintrag&lt;br /&gt;
 'default_phone_region' =&amp;gt; 'DE',&lt;br /&gt;
	&lt;br /&gt;
(bei einer Snap Installation unter Ubuntu 20.04 liegt die Datei unter /var/snap/nextcloud/current/config/config.php)&lt;/div&gt;</summary>
		<author><name>Guenter</name></author>
	</entry>
	<entry>
		<id>https://wiki.stoehr-hermaringen.de/index.php?title=Installation_Nextcloud_unter_Ubuntu_22.04_LTS&amp;diff=108</id>
		<title>Installation Nextcloud unter Ubuntu 22.04 LTS</title>
		<link rel="alternate" type="text/html" href="https://wiki.stoehr-hermaringen.de/index.php?title=Installation_Nextcloud_unter_Ubuntu_22.04_LTS&amp;diff=108"/>
		<updated>2023-05-10T06:13:22Z</updated>

		<summary type="html">&lt;p&gt;Guenter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Diese Anleistung basiert auf folgender Anleitung:  &lt;br /&gt;
&lt;br /&gt;
[https://apfelcast.com/nextcloud-25-auf-linux-server-ubuntu-22-04-installieren-einfache-anleitung/]&lt;br /&gt;
&lt;br /&gt;
Die beiden zusätzlichen Änderungen am Schuss ergeben sich nach dem überprüfen der Einstellungen in Nextcloud.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Nextcloud 25 Installation auf Basis Ubuntu 22.04 LTS&lt;br /&gt;
-------------------&lt;br /&gt;
&lt;br /&gt;
*Betriebsystem auf aktuellen Stand bringen&lt;br /&gt;
 apt update &amp;amp;&amp;amp; apt upgrade -y&lt;br /&gt;
&lt;br /&gt;
*Installion apache&lt;br /&gt;
 apt install apache2&lt;br /&gt;
&lt;br /&gt;
*Installion PHP 8.1 &lt;br /&gt;
 apt install software-properties-common&lt;br /&gt;
 add-apt-repository ppa:ondrej/php&lt;br /&gt;
 apt update&lt;br /&gt;
&lt;br /&gt;
*Installion PHP 8.1 &amp;amp; Module&lt;br /&gt;
 apt install php8.1 libapache2-mod-php8.1 php8.1-zip php-dompdf php8.1-xml php8.1-mbstring php8.1-gd php8.1-curl php8.1-imagick libmagickcore-6.q16-6-extra php8.1-intl php8.1-bcmath php8.1-gmp php8.1-cli php8.1-mysql php8.1-zip php8.1-gd  php8.1-mbstring php8.1-curl php8.1-xml php-pear unzip nano php8.1-apcu redis-server ufw php8.1-redis&lt;br /&gt;
&lt;br /&gt;
*anpassen der PHP.ini Datei&lt;br /&gt;
 nano /etc/php/8.1/apache2/php.ini&lt;br /&gt;
&lt;br /&gt;
 memory_limit = 1024M&lt;br /&gt;
 upload_max_filesize = 16G&lt;br /&gt;
 post_max_size = 16G&lt;br /&gt;
 date.timezone = Europe/Berlin&lt;br /&gt;
 output_buffering = Off&lt;br /&gt;
&lt;br /&gt;
*Installation Datenbank Server&lt;br /&gt;
 apt install mariadb-server&lt;br /&gt;
&lt;br /&gt;
*Maria DB Server Konfiguration&lt;br /&gt;
 mysql_secure_installation&lt;br /&gt;
&lt;br /&gt;
*öffnen SQL Dialog&lt;br /&gt;
 mysql&lt;br /&gt;
&lt;br /&gt;
*create database calles nextcloud&lt;br /&gt;
 CREATE DATABASE nextcloud; &lt;br /&gt;
&lt;br /&gt;
*create database user with password&lt;br /&gt;
 CREATE USER 'nextclouduser'@'localhost' IDENTIFIED BY 'password_here';&lt;br /&gt;
&lt;br /&gt;
*grant accesss to databse&lt;br /&gt;
 GRANT ALL PRIVILEGES ON nextcloud.* TO 'nextclouduser'@'localhost';&lt;br /&gt;
&lt;br /&gt;
*save changes and exit&lt;br /&gt;
 FLUSH PRIVILEGES;&lt;br /&gt;
 EXIT;&lt;br /&gt;
&lt;br /&gt;
*Download lastest nextcloud version&lt;br /&gt;
 cd /tmp &amp;amp;&amp;amp; wget https://download.nextcloud.com/server/releases/latest.zip&lt;br /&gt;
 unzip latest.zip&lt;br /&gt;
 mv nextcloud /var/www/&lt;br /&gt;
&lt;br /&gt;
*create new conf&lt;br /&gt;
&lt;br /&gt;
 nano /etc/apache2/sites-available/nextcloud.conf&lt;br /&gt;
 &amp;lt;VirtualHost *:80&amp;gt;&lt;br /&gt;
  ServerAdmin master@domain.com&lt;br /&gt;
  DocumentRoot /var/www/nextcloud/&lt;br /&gt;
  ServerName demo.domain.com&lt;br /&gt;
  ServerAlias www.demo.domain.com&lt;br /&gt;
  &lt;br /&gt;
  Alias /nextcloud &amp;quot;/var/www/nextcloud/&amp;quot;&lt;br /&gt;
  &amp;lt;Directory /var/www/nextcloud/&amp;gt;&lt;br /&gt;
  Options +FollowSymlinks&lt;br /&gt;
   AllowOverride All&lt;br /&gt;
   Require all granted&lt;br /&gt;
   &amp;lt;IfModule mod_dav.c&amp;gt;&lt;br /&gt;
    Dav off&lt;br /&gt;
   &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
   SetEnv HOME /var/www/nextcloud&lt;br /&gt;
   SetEnv HTTP_HOME /var/www/nextcloud&lt;br /&gt;
  &amp;lt;/Directory&amp;gt;&lt;br /&gt;
   ErrorLog ${APACHE_LOG_DIR}/error.log&lt;br /&gt;
   CustomLog ${APACHE_LOG_DIR}/access.log combined&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Enable the NextCloud and Rewrite Module&lt;br /&gt;
 a2ensite nextcloud.conf&lt;br /&gt;
 a2enmod rewrite&lt;br /&gt;
 a2enmod headers&lt;br /&gt;
 a2enmod env&lt;br /&gt;
 a2enmod dir&lt;br /&gt;
 a2enmod mime&lt;br /&gt;
&lt;br /&gt;
*restart apache&lt;br /&gt;
 service apache2 restart&lt;br /&gt;
&lt;br /&gt;
*prepare data folder&lt;br /&gt;
 mkdir /home/data/&lt;br /&gt;
 chown -R www-data:www-data /home/data/&lt;br /&gt;
&lt;br /&gt;
 chown -R www-data:www-data /var/www/nextcloud/&lt;br /&gt;
 chmod -R 755 /var/www/nextcloud/&lt;br /&gt;
&lt;br /&gt;
*install certbot and create Let's Encrypt SSL-Certificate&lt;br /&gt;
 apt install certbot python3-certbot-apache&lt;br /&gt;
&lt;br /&gt;
 certbot --apache -m master@domain.com -d cloud.domain.com&lt;br /&gt;
 &lt;br /&gt;
--&amp;gt; only lasts 90 days&lt;br /&gt;
&lt;br /&gt;
*gegebenenfall das Paket cron installieren&lt;br /&gt;
 install crontab&lt;br /&gt;
 crontab -e&lt;br /&gt;
 40 3 * * 0 letsencrypt renew &amp;gt;&amp;gt; /var/log/letsencrypt-renew.log &amp;amp;&amp;amp; service apache2 reload &amp;gt; /dev/null 2&amp;gt;&amp;amp;1&lt;br /&gt;
&lt;br /&gt;
--&amp;gt; Domain ansurfen und Einrichtung abschließen&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--------------------&lt;br /&gt;
&lt;br /&gt;
Abschliessende Änderungen:&lt;br /&gt;
&lt;br /&gt;
*Erweitern der Datei : /etc/apache2/sites-available/nextcloud-le-ssl.conf um folgenden Eintrag&lt;br /&gt;
&lt;br /&gt;
 Strict-Transport-Security:&lt;br /&gt;
  &amp;lt;VirtualHost *:443&amp;gt;&lt;br /&gt;
  ServerName cloud.nextcloud.com&lt;br /&gt;
	&amp;lt;IfModule mod_headers.c&amp;gt;&lt;br /&gt;
	  Header always set Strict-Transport-Security &amp;quot;max-age=15552000; includeSubDomains&amp;quot;&lt;br /&gt;
	&amp;lt;/IfModule&amp;gt;&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Erweitern der Einstellungen in der Datein  /var/www/nextcloud/config/config.php um folgenden Eintrag&lt;br /&gt;
 'default_phone_region' =&amp;gt; 'DE',&lt;br /&gt;
	&lt;br /&gt;
(bei einer Snap Installation unter Ubuntu 20.04 liegt die Datei unter /var/snap/nextcloud/current/config/config.php)&lt;/div&gt;</summary>
		<author><name>Guenter</name></author>
	</entry>
	<entry>
		<id>https://wiki.stoehr-hermaringen.de/index.php?title=Installation_Nextcloud_unter_Ubuntu_22.04_LTS&amp;diff=107</id>
		<title>Installation Nextcloud unter Ubuntu 22.04 LTS</title>
		<link rel="alternate" type="text/html" href="https://wiki.stoehr-hermaringen.de/index.php?title=Installation_Nextcloud_unter_Ubuntu_22.04_LTS&amp;diff=107"/>
		<updated>2023-05-10T06:12:32Z</updated>

		<summary type="html">&lt;p&gt;Guenter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*create new conf&lt;br /&gt;
&lt;br /&gt;
 nano /etc/apache2/sites-available/nextcloud.conf&lt;br /&gt;
 &amp;lt;VirtualHost *:80&amp;gt;&lt;br /&gt;
  ServerAdmin master@domain.com&lt;br /&gt;
  DocumentRoot /var/www/nextcloud/&lt;br /&gt;
  ServerName demo.domain.com&lt;br /&gt;
  ServerAlias www.demo.domain.com&lt;br /&gt;
  &lt;br /&gt;
  Alias /nextcloud &amp;quot;/var/www/nextcloud/&amp;quot;&lt;br /&gt;
  &amp;lt;Directory /var/www/nextcloud/&amp;gt;&lt;br /&gt;
  Options +FollowSymlinks&lt;br /&gt;
   AllowOverride All&lt;br /&gt;
   Require all granted&lt;br /&gt;
   &amp;lt;IfModule mod_dav.c&amp;gt;&lt;br /&gt;
    Dav off&lt;br /&gt;
   &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
   SetEnv HOME /var/www/nextcloud&lt;br /&gt;
   SetEnv HTTP_HOME /var/www/nextcloud&lt;br /&gt;
  &amp;lt;/Directory&amp;gt;&lt;br /&gt;
   ErrorLog ${APACHE_LOG_DIR}/error.log&lt;br /&gt;
   CustomLog ${APACHE_LOG_DIR}/access.log combined&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Diese Anleistung basiert auf folgender Anleitung:  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[https://apfelcast.com/nextcloud-25-auf-linux-server-ubuntu-22-04-installieren-einfache-anleitung/]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Die beiden zusätzlichen Änderungen am Schuss ergeben sich nach dem überprüfen der Einstellungen in Nextcloud.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--------------------&lt;br /&gt;
&lt;br /&gt;
Nextcloud 25 Installation auf Basis Ubuntu 22.04 LTS&lt;br /&gt;
-------------------&lt;br /&gt;
&lt;br /&gt;
*Betriebsystem auf aktuellen Stand bringen&lt;br /&gt;
 apt update &amp;amp;&amp;amp; apt upgrade -y&lt;br /&gt;
&lt;br /&gt;
*Installion apache&lt;br /&gt;
 apt install apache2&lt;br /&gt;
&lt;br /&gt;
*Installion PHP 8.1 &lt;br /&gt;
 apt install software-properties-common&lt;br /&gt;
 add-apt-repository ppa:ondrej/php&lt;br /&gt;
 apt update&lt;br /&gt;
&lt;br /&gt;
*Installion PHP 8.1 &amp;amp; Module&lt;br /&gt;
 apt install php8.1 libapache2-mod-php8.1 php8.1-zip php-dompdf php8.1-xml php8.1-mbstring php8.1-gd php8.1-curl php8.1-imagick libmagickcore-6.q16-6-extra php8.1-intl php8.1-bcmath php8.1-gmp php8.1-cli php8.1-mysql php8.1-zip php8.1-gd  php8.1-mbstring php8.1-curl php8.1-xml php-pear unzip nano php8.1-apcu redis-server ufw php8.1-redis&lt;br /&gt;
&lt;br /&gt;
*anpassen der PHP.ini Datei&lt;br /&gt;
 nano /etc/php/8.1/apache2/php.ini&lt;br /&gt;
&lt;br /&gt;
 memory_limit = 1024M&lt;br /&gt;
 upload_max_filesize = 16G&lt;br /&gt;
 post_max_size = 16G&lt;br /&gt;
 date.timezone = Europe/Berlin&lt;br /&gt;
 output_buffering = Off&lt;br /&gt;
&lt;br /&gt;
*Installation Datenbank Server&lt;br /&gt;
 apt install mariadb-server&lt;br /&gt;
&lt;br /&gt;
*Maria DB Server Konfiguration&lt;br /&gt;
 mysql_secure_installation&lt;br /&gt;
&lt;br /&gt;
*öffnen SQL Dialog&lt;br /&gt;
 mysql&lt;br /&gt;
&lt;br /&gt;
*create database calles nextcloud&lt;br /&gt;
 CREATE DATABASE nextcloud; &lt;br /&gt;
&lt;br /&gt;
*create database user with password&lt;br /&gt;
 CREATE USER 'nextclouduser'@'localhost' IDENTIFIED BY 'password_here';&lt;br /&gt;
&lt;br /&gt;
*grant accesss to databse&lt;br /&gt;
 GRANT ALL PRIVILEGES ON nextcloud.* TO 'nextclouduser'@'localhost';&lt;br /&gt;
&lt;br /&gt;
*save changes and exit&lt;br /&gt;
 FLUSH PRIVILEGES;&lt;br /&gt;
 EXIT;&lt;br /&gt;
&lt;br /&gt;
*Download lastest nextcloud version&lt;br /&gt;
 cd /tmp &amp;amp;&amp;amp; wget https://download.nextcloud.com/server/releases/latest.zip&lt;br /&gt;
 unzip latest.zip&lt;br /&gt;
 mv nextcloud /var/www/&lt;br /&gt;
&lt;br /&gt;
*create new conf&lt;br /&gt;
 nano /etc/apache2/sites-available/nextcloud.conf&lt;br /&gt;
 &amp;lt;VirtualHost *:80&amp;gt;&lt;br /&gt;
	 ServerAdmin master@domain.com&lt;br /&gt;
	 DocumentRoot /var/www/nextcloud/&lt;br /&gt;
	 ServerName demo.domain.com&lt;br /&gt;
	 ServerAlias www.demo.domain.com&lt;br /&gt;
  &lt;br /&gt;
	 Alias /nextcloud &amp;quot;/var/www/nextcloud/&amp;quot;&lt;br /&gt;
	 &amp;lt;Directory /var/www/nextcloud/&amp;gt;&lt;br /&gt;
		Options +FollowSymlinks&lt;br /&gt;
		AllowOverride All&lt;br /&gt;
		Require all granted&lt;br /&gt;
		  &amp;lt;IfModule mod_dav.c&amp;gt;&lt;br /&gt;
			Dav off&lt;br /&gt;
		  &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
		SetEnv HOME /var/www/nextcloud&lt;br /&gt;
		SetEnv HTTP_HOME /var/www/nextcloud&lt;br /&gt;
	 &amp;lt;/Directory&amp;gt;&lt;br /&gt;
	 ErrorLog ${APACHE_LOG_DIR}/error.log&lt;br /&gt;
	 CustomLog ${APACHE_LOG_DIR}/access.log combined&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Enable the NextCloud and Rewrite Module&lt;br /&gt;
 a2ensite nextcloud.conf&lt;br /&gt;
 a2enmod rewrite&lt;br /&gt;
 a2enmod headers&lt;br /&gt;
 a2enmod env&lt;br /&gt;
 a2enmod dir&lt;br /&gt;
 a2enmod mime&lt;br /&gt;
&lt;br /&gt;
*restart apache&lt;br /&gt;
 service apache2 restart&lt;br /&gt;
&lt;br /&gt;
*prepare data folder&lt;br /&gt;
 mkdir /home/data/&lt;br /&gt;
 chown -R www-data:www-data /home/data/&lt;br /&gt;
&lt;br /&gt;
 chown -R www-data:www-data /var/www/nextcloud/&lt;br /&gt;
 chmod -R 755 /var/www/nextcloud/&lt;br /&gt;
&lt;br /&gt;
*install certbot and create Let's Encrypt SSL-Certificate&lt;br /&gt;
 apt install certbot python3-certbot-apache&lt;br /&gt;
&lt;br /&gt;
 certbot --apache -m master@domain.com -d cloud.domain.com&lt;br /&gt;
 &lt;br /&gt;
--&amp;gt; only lasts 90 days&lt;br /&gt;
&lt;br /&gt;
*gegebenenfall das Paket cron installieren&lt;br /&gt;
 install crontab&lt;br /&gt;
 crontab -e&lt;br /&gt;
 40 3 * * 0 letsencrypt renew &amp;gt;&amp;gt; /var/log/letsencrypt-renew.log &amp;amp;&amp;amp; service apache2 reload &amp;gt; /dev/null 2&amp;gt;&amp;amp;1&lt;br /&gt;
&lt;br /&gt;
--&amp;gt; Domain ansurfen und Einrichtung abschließen&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--------------------&lt;br /&gt;
&lt;br /&gt;
Abschliessende Änderungen:&lt;br /&gt;
&lt;br /&gt;
*Erweitern der Datei : /etc/apache2/sites-available/nextcloud-le-ssl.conf um folgenden Eintrag&lt;br /&gt;
&lt;br /&gt;
 Strict-Transport-Security:&lt;br /&gt;
  &amp;lt;VirtualHost *:443&amp;gt;&lt;br /&gt;
  ServerName cloud.nextcloud.com&lt;br /&gt;
	&amp;lt;IfModule mod_headers.c&amp;gt;&lt;br /&gt;
	  Header always set Strict-Transport-Security &amp;quot;max-age=15552000; includeSubDomains&amp;quot;&lt;br /&gt;
	&amp;lt;/IfModule&amp;gt;&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Erweitern der Einstellungen in der Datein  /var/www/nextcloud/config/config.php um folgenden Eintrag&lt;br /&gt;
 'default_phone_region' =&amp;gt; 'DE',&lt;br /&gt;
	&lt;br /&gt;
(bei einer Snap Installation unter Ubuntu 20.04 liegt die Datei unter /var/snap/nextcloud/current/config/config.php)&lt;/div&gt;</summary>
		<author><name>Guenter</name></author>
	</entry>
	<entry>
		<id>https://wiki.stoehr-hermaringen.de/index.php?title=Installation_Nextcloud_unter_Ubuntu_22.04_LTS&amp;diff=106</id>
		<title>Installation Nextcloud unter Ubuntu 22.04 LTS</title>
		<link rel="alternate" type="text/html" href="https://wiki.stoehr-hermaringen.de/index.php?title=Installation_Nextcloud_unter_Ubuntu_22.04_LTS&amp;diff=106"/>
		<updated>2023-05-10T06:12:09Z</updated>

		<summary type="html">&lt;p&gt;Guenter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*create new conf&lt;br /&gt;
: test&lt;br /&gt;
:: test2&lt;br /&gt;
 nano /etc/apache2/sites-available/nextcloud.conf&lt;br /&gt;
 &amp;lt;VirtualHost *:80&amp;gt;&lt;br /&gt;
  ServerAdmin master@domain.com&lt;br /&gt;
  DocumentRoot /var/www/nextcloud/&lt;br /&gt;
  ServerName demo.domain.com&lt;br /&gt;
  ServerAlias www.demo.domain.com&lt;br /&gt;
  &lt;br /&gt;
  Alias /nextcloud &amp;quot;/var/www/nextcloud/&amp;quot;&lt;br /&gt;
  &amp;lt;Directory /var/www/nextcloud/&amp;gt;&lt;br /&gt;
  Options +FollowSymlinks&lt;br /&gt;
   AllowOverride All&lt;br /&gt;
   Require all granted&lt;br /&gt;
   &amp;lt;IfModule mod_dav.c&amp;gt;&lt;br /&gt;
    Dav off&lt;br /&gt;
   &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
   SetEnv HOME /var/www/nextcloud&lt;br /&gt;
   SetEnv HTTP_HOME /var/www/nextcloud&lt;br /&gt;
  &amp;lt;/Directory&amp;gt;&lt;br /&gt;
   ErrorLog ${APACHE_LOG_DIR}/error.log&lt;br /&gt;
   CustomLog ${APACHE_LOG_DIR}/access.log combined&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Diese Anleistung basiert auf folgender Anleitung:  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[https://apfelcast.com/nextcloud-25-auf-linux-server-ubuntu-22-04-installieren-einfache-anleitung/]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Die beiden zusätzlichen Änderungen am Schuss ergeben sich nach dem überprüfen der Einstellungen in Nextcloud.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--------------------&lt;br /&gt;
&lt;br /&gt;
Nextcloud 25 Installation auf Basis Ubuntu 22.04 LTS&lt;br /&gt;
-------------------&lt;br /&gt;
&lt;br /&gt;
*Betriebsystem auf aktuellen Stand bringen&lt;br /&gt;
 apt update &amp;amp;&amp;amp; apt upgrade -y&lt;br /&gt;
&lt;br /&gt;
*Installion apache&lt;br /&gt;
 apt install apache2&lt;br /&gt;
&lt;br /&gt;
*Installion PHP 8.1 &lt;br /&gt;
 apt install software-properties-common&lt;br /&gt;
 add-apt-repository ppa:ondrej/php&lt;br /&gt;
 apt update&lt;br /&gt;
&lt;br /&gt;
*Installion PHP 8.1 &amp;amp; Module&lt;br /&gt;
 apt install php8.1 libapache2-mod-php8.1 php8.1-zip php-dompdf php8.1-xml php8.1-mbstring php8.1-gd php8.1-curl php8.1-imagick libmagickcore-6.q16-6-extra php8.1-intl php8.1-bcmath php8.1-gmp php8.1-cli php8.1-mysql php8.1-zip php8.1-gd  php8.1-mbstring php8.1-curl php8.1-xml php-pear unzip nano php8.1-apcu redis-server ufw php8.1-redis&lt;br /&gt;
&lt;br /&gt;
*anpassen der PHP.ini Datei&lt;br /&gt;
 nano /etc/php/8.1/apache2/php.ini&lt;br /&gt;
&lt;br /&gt;
 memory_limit = 1024M&lt;br /&gt;
 upload_max_filesize = 16G&lt;br /&gt;
 post_max_size = 16G&lt;br /&gt;
 date.timezone = Europe/Berlin&lt;br /&gt;
 output_buffering = Off&lt;br /&gt;
&lt;br /&gt;
*Installation Datenbank Server&lt;br /&gt;
 apt install mariadb-server&lt;br /&gt;
&lt;br /&gt;
*Maria DB Server Konfiguration&lt;br /&gt;
 mysql_secure_installation&lt;br /&gt;
&lt;br /&gt;
*öffnen SQL Dialog&lt;br /&gt;
 mysql&lt;br /&gt;
&lt;br /&gt;
*create database calles nextcloud&lt;br /&gt;
 CREATE DATABASE nextcloud; &lt;br /&gt;
&lt;br /&gt;
*create database user with password&lt;br /&gt;
 CREATE USER 'nextclouduser'@'localhost' IDENTIFIED BY 'password_here';&lt;br /&gt;
&lt;br /&gt;
*grant accesss to databse&lt;br /&gt;
 GRANT ALL PRIVILEGES ON nextcloud.* TO 'nextclouduser'@'localhost';&lt;br /&gt;
&lt;br /&gt;
*save changes and exit&lt;br /&gt;
 FLUSH PRIVILEGES;&lt;br /&gt;
 EXIT;&lt;br /&gt;
&lt;br /&gt;
*Download lastest nextcloud version&lt;br /&gt;
 cd /tmp &amp;amp;&amp;amp; wget https://download.nextcloud.com/server/releases/latest.zip&lt;br /&gt;
 unzip latest.zip&lt;br /&gt;
 mv nextcloud /var/www/&lt;br /&gt;
&lt;br /&gt;
*create new conf&lt;br /&gt;
 nano /etc/apache2/sites-available/nextcloud.conf&lt;br /&gt;
 &amp;lt;VirtualHost *:80&amp;gt;&lt;br /&gt;
	 ServerAdmin master@domain.com&lt;br /&gt;
	 DocumentRoot /var/www/nextcloud/&lt;br /&gt;
	 ServerName demo.domain.com&lt;br /&gt;
	 ServerAlias www.demo.domain.com&lt;br /&gt;
  &lt;br /&gt;
	 Alias /nextcloud &amp;quot;/var/www/nextcloud/&amp;quot;&lt;br /&gt;
	 &amp;lt;Directory /var/www/nextcloud/&amp;gt;&lt;br /&gt;
		Options +FollowSymlinks&lt;br /&gt;
		AllowOverride All&lt;br /&gt;
		Require all granted&lt;br /&gt;
		  &amp;lt;IfModule mod_dav.c&amp;gt;&lt;br /&gt;
			Dav off&lt;br /&gt;
		  &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
		SetEnv HOME /var/www/nextcloud&lt;br /&gt;
		SetEnv HTTP_HOME /var/www/nextcloud&lt;br /&gt;
	 &amp;lt;/Directory&amp;gt;&lt;br /&gt;
	 ErrorLog ${APACHE_LOG_DIR}/error.log&lt;br /&gt;
	 CustomLog ${APACHE_LOG_DIR}/access.log combined&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Enable the NextCloud and Rewrite Module&lt;br /&gt;
 a2ensite nextcloud.conf&lt;br /&gt;
 a2enmod rewrite&lt;br /&gt;
 a2enmod headers&lt;br /&gt;
 a2enmod env&lt;br /&gt;
 a2enmod dir&lt;br /&gt;
 a2enmod mime&lt;br /&gt;
&lt;br /&gt;
*restart apache&lt;br /&gt;
 service apache2 restart&lt;br /&gt;
&lt;br /&gt;
*prepare data folder&lt;br /&gt;
 mkdir /home/data/&lt;br /&gt;
 chown -R www-data:www-data /home/data/&lt;br /&gt;
&lt;br /&gt;
 chown -R www-data:www-data /var/www/nextcloud/&lt;br /&gt;
 chmod -R 755 /var/www/nextcloud/&lt;br /&gt;
&lt;br /&gt;
*install certbot and create Let's Encrypt SSL-Certificate&lt;br /&gt;
 apt install certbot python3-certbot-apache&lt;br /&gt;
&lt;br /&gt;
 certbot --apache -m master@domain.com -d cloud.domain.com&lt;br /&gt;
 &lt;br /&gt;
--&amp;gt; only lasts 90 days&lt;br /&gt;
&lt;br /&gt;
*gegebenenfall das Paket cron installieren&lt;br /&gt;
 install crontab&lt;br /&gt;
 crontab -e&lt;br /&gt;
 40 3 * * 0 letsencrypt renew &amp;gt;&amp;gt; /var/log/letsencrypt-renew.log &amp;amp;&amp;amp; service apache2 reload &amp;gt; /dev/null 2&amp;gt;&amp;amp;1&lt;br /&gt;
&lt;br /&gt;
--&amp;gt; Domain ansurfen und Einrichtung abschließen&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--------------------&lt;br /&gt;
&lt;br /&gt;
Abschliessende Änderungen:&lt;br /&gt;
&lt;br /&gt;
*Erweitern der Datei : /etc/apache2/sites-available/nextcloud-le-ssl.conf um folgenden Eintrag&lt;br /&gt;
&lt;br /&gt;
 Strict-Transport-Security:&lt;br /&gt;
  &amp;lt;VirtualHost *:443&amp;gt;&lt;br /&gt;
  ServerName cloud.nextcloud.com&lt;br /&gt;
	&amp;lt;IfModule mod_headers.c&amp;gt;&lt;br /&gt;
	  Header always set Strict-Transport-Security &amp;quot;max-age=15552000; includeSubDomains&amp;quot;&lt;br /&gt;
	&amp;lt;/IfModule&amp;gt;&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Erweitern der Einstellungen in der Datein  /var/www/nextcloud/config/config.php um folgenden Eintrag&lt;br /&gt;
 'default_phone_region' =&amp;gt; 'DE',&lt;br /&gt;
	&lt;br /&gt;
(bei einer Snap Installation unter Ubuntu 20.04 liegt die Datei unter /var/snap/nextcloud/current/config/config.php)&lt;/div&gt;</summary>
		<author><name>Guenter</name></author>
	</entry>
	<entry>
		<id>https://wiki.stoehr-hermaringen.de/index.php?title=Installation_Nextcloud_unter_Ubuntu_22.04_LTS&amp;diff=105</id>
		<title>Installation Nextcloud unter Ubuntu 22.04 LTS</title>
		<link rel="alternate" type="text/html" href="https://wiki.stoehr-hermaringen.de/index.php?title=Installation_Nextcloud_unter_Ubuntu_22.04_LTS&amp;diff=105"/>
		<updated>2023-05-10T06:10:05Z</updated>

		<summary type="html">&lt;p&gt;Guenter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*create new conf&lt;br /&gt;
 nano /etc/apache2/sites-available/nextcloud.conf&lt;br /&gt;
 &amp;lt;VirtualHost *:80&amp;gt;&lt;br /&gt;
  ServerAdmin master@domain.com&lt;br /&gt;
  DocumentRoot /var/www/nextcloud/&lt;br /&gt;
  ServerName demo.domain.com&lt;br /&gt;
  ServerAlias www.demo.domain.com&lt;br /&gt;
  &lt;br /&gt;
  Alias /nextcloud &amp;quot;/var/www/nextcloud/&amp;quot;&lt;br /&gt;
  &amp;lt;Directory /var/www/nextcloud/&amp;gt;&lt;br /&gt;
  Options +FollowSymlinks&lt;br /&gt;
   AllowOverride All&lt;br /&gt;
   Require all granted&lt;br /&gt;
   &amp;lt;IfModule mod_dav.c&amp;gt;&lt;br /&gt;
    Dav off&lt;br /&gt;
   &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
   SetEnv HOME /var/www/nextcloud&lt;br /&gt;
   SetEnv HTTP_HOME /var/www/nextcloud&lt;br /&gt;
  &amp;lt;/Directory&amp;gt;&lt;br /&gt;
   ErrorLog ${APACHE_LOG_DIR}/error.log&lt;br /&gt;
   CustomLog ${APACHE_LOG_DIR}/access.log combined&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Diese Anleistung basiert auf folgender Anleitung:  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[https://apfelcast.com/nextcloud-25-auf-linux-server-ubuntu-22-04-installieren-einfache-anleitung/]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Die beiden zusätzlichen Änderungen am Schuss ergeben sich nach dem überprüfen der Einstellungen in Nextcloud.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--------------------&lt;br /&gt;
&lt;br /&gt;
Nextcloud 25 Installation auf Basis Ubuntu 22.04 LTS&lt;br /&gt;
-------------------&lt;br /&gt;
&lt;br /&gt;
*Betriebsystem auf aktuellen Stand bringen&lt;br /&gt;
 apt update &amp;amp;&amp;amp; apt upgrade -y&lt;br /&gt;
&lt;br /&gt;
*Installion apache&lt;br /&gt;
 apt install apache2&lt;br /&gt;
&lt;br /&gt;
*Installion PHP 8.1 &lt;br /&gt;
 apt install software-properties-common&lt;br /&gt;
 add-apt-repository ppa:ondrej/php&lt;br /&gt;
 apt update&lt;br /&gt;
&lt;br /&gt;
*Installion PHP 8.1 &amp;amp; Module&lt;br /&gt;
 apt install php8.1 libapache2-mod-php8.1 php8.1-zip php-dompdf php8.1-xml php8.1-mbstring php8.1-gd php8.1-curl php8.1-imagick libmagickcore-6.q16-6-extra php8.1-intl php8.1-bcmath php8.1-gmp php8.1-cli php8.1-mysql php8.1-zip php8.1-gd  php8.1-mbstring php8.1-curl php8.1-xml php-pear unzip nano php8.1-apcu redis-server ufw php8.1-redis&lt;br /&gt;
&lt;br /&gt;
*anpassen der PHP.ini Datei&lt;br /&gt;
 nano /etc/php/8.1/apache2/php.ini&lt;br /&gt;
&lt;br /&gt;
 memory_limit = 1024M&lt;br /&gt;
 upload_max_filesize = 16G&lt;br /&gt;
 post_max_size = 16G&lt;br /&gt;
 date.timezone = Europe/Berlin&lt;br /&gt;
 output_buffering = Off&lt;br /&gt;
&lt;br /&gt;
*Installation Datenbank Server&lt;br /&gt;
 apt install mariadb-server&lt;br /&gt;
&lt;br /&gt;
*Maria DB Server Konfiguration&lt;br /&gt;
 mysql_secure_installation&lt;br /&gt;
&lt;br /&gt;
*öffnen SQL Dialog&lt;br /&gt;
 mysql&lt;br /&gt;
&lt;br /&gt;
*create database calles nextcloud&lt;br /&gt;
 CREATE DATABASE nextcloud; &lt;br /&gt;
&lt;br /&gt;
*create database user with password&lt;br /&gt;
 CREATE USER 'nextclouduser'@'localhost' IDENTIFIED BY 'password_here';&lt;br /&gt;
&lt;br /&gt;
*grant accesss to databse&lt;br /&gt;
 GRANT ALL PRIVILEGES ON nextcloud.* TO 'nextclouduser'@'localhost';&lt;br /&gt;
&lt;br /&gt;
*save changes and exit&lt;br /&gt;
 FLUSH PRIVILEGES;&lt;br /&gt;
 EXIT;&lt;br /&gt;
&lt;br /&gt;
*Download lastest nextcloud version&lt;br /&gt;
 cd /tmp &amp;amp;&amp;amp; wget https://download.nextcloud.com/server/releases/latest.zip&lt;br /&gt;
 unzip latest.zip&lt;br /&gt;
 mv nextcloud /var/www/&lt;br /&gt;
&lt;br /&gt;
*create new conf&lt;br /&gt;
 nano /etc/apache2/sites-available/nextcloud.conf&lt;br /&gt;
 &amp;lt;VirtualHost *:80&amp;gt;&lt;br /&gt;
	 ServerAdmin master@domain.com&lt;br /&gt;
	 DocumentRoot /var/www/nextcloud/&lt;br /&gt;
	 ServerName demo.domain.com&lt;br /&gt;
	 ServerAlias www.demo.domain.com&lt;br /&gt;
  &lt;br /&gt;
	 Alias /nextcloud &amp;quot;/var/www/nextcloud/&amp;quot;&lt;br /&gt;
	 &amp;lt;Directory /var/www/nextcloud/&amp;gt;&lt;br /&gt;
		Options +FollowSymlinks&lt;br /&gt;
		AllowOverride All&lt;br /&gt;
		Require all granted&lt;br /&gt;
		  &amp;lt;IfModule mod_dav.c&amp;gt;&lt;br /&gt;
			Dav off&lt;br /&gt;
		  &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
		SetEnv HOME /var/www/nextcloud&lt;br /&gt;
		SetEnv HTTP_HOME /var/www/nextcloud&lt;br /&gt;
	 &amp;lt;/Directory&amp;gt;&lt;br /&gt;
	 ErrorLog ${APACHE_LOG_DIR}/error.log&lt;br /&gt;
	 CustomLog ${APACHE_LOG_DIR}/access.log combined&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Enable the NextCloud and Rewrite Module&lt;br /&gt;
 a2ensite nextcloud.conf&lt;br /&gt;
 a2enmod rewrite&lt;br /&gt;
 a2enmod headers&lt;br /&gt;
 a2enmod env&lt;br /&gt;
 a2enmod dir&lt;br /&gt;
 a2enmod mime&lt;br /&gt;
&lt;br /&gt;
*restart apache&lt;br /&gt;
 service apache2 restart&lt;br /&gt;
&lt;br /&gt;
*prepare data folder&lt;br /&gt;
 mkdir /home/data/&lt;br /&gt;
 chown -R www-data:www-data /home/data/&lt;br /&gt;
&lt;br /&gt;
 chown -R www-data:www-data /var/www/nextcloud/&lt;br /&gt;
 chmod -R 755 /var/www/nextcloud/&lt;br /&gt;
&lt;br /&gt;
*install certbot and create Let's Encrypt SSL-Certificate&lt;br /&gt;
 apt install certbot python3-certbot-apache&lt;br /&gt;
&lt;br /&gt;
 certbot --apache -m master@domain.com -d cloud.domain.com&lt;br /&gt;
 &lt;br /&gt;
--&amp;gt; only lasts 90 days&lt;br /&gt;
&lt;br /&gt;
*gegebenenfall das Paket cron installieren&lt;br /&gt;
 install crontab&lt;br /&gt;
 crontab -e&lt;br /&gt;
 40 3 * * 0 letsencrypt renew &amp;gt;&amp;gt; /var/log/letsencrypt-renew.log &amp;amp;&amp;amp; service apache2 reload &amp;gt; /dev/null 2&amp;gt;&amp;amp;1&lt;br /&gt;
&lt;br /&gt;
--&amp;gt; Domain ansurfen und Einrichtung abschließen&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--------------------&lt;br /&gt;
&lt;br /&gt;
Abschliessende Änderungen:&lt;br /&gt;
&lt;br /&gt;
*Erweitern der Datei : /etc/apache2/sites-available/nextcloud-le-ssl.conf um folgenden Eintrag&lt;br /&gt;
&lt;br /&gt;
 Strict-Transport-Security:&lt;br /&gt;
  &amp;lt;VirtualHost *:443&amp;gt;&lt;br /&gt;
  ServerName cloud.nextcloud.com&lt;br /&gt;
	&amp;lt;IfModule mod_headers.c&amp;gt;&lt;br /&gt;
	  Header always set Strict-Transport-Security &amp;quot;max-age=15552000; includeSubDomains&amp;quot;&lt;br /&gt;
	&amp;lt;/IfModule&amp;gt;&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Erweitern der Einstellungen in der Datein  /var/www/nextcloud/config/config.php um folgenden Eintrag&lt;br /&gt;
 'default_phone_region' =&amp;gt; 'DE',&lt;br /&gt;
	&lt;br /&gt;
(bei einer Snap Installation unter Ubuntu 20.04 liegt die Datei unter /var/snap/nextcloud/current/config/config.php)&lt;/div&gt;</summary>
		<author><name>Guenter</name></author>
	</entry>
	<entry>
		<id>https://wiki.stoehr-hermaringen.de/index.php?title=Installation_Nextcloud_unter_Ubuntu_22.04_LTS&amp;diff=104</id>
		<title>Installation Nextcloud unter Ubuntu 22.04 LTS</title>
		<link rel="alternate" type="text/html" href="https://wiki.stoehr-hermaringen.de/index.php?title=Installation_Nextcloud_unter_Ubuntu_22.04_LTS&amp;diff=104"/>
		<updated>2023-05-10T06:09:54Z</updated>

		<summary type="html">&lt;p&gt;Guenter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*create new conf&lt;br /&gt;
 nano /etc/apache2/sites-available/nextcloud.conf&lt;br /&gt;
 &amp;lt;VirtualHost *:80&amp;gt;&lt;br /&gt;
:: ServerAdmin master@domain.com&lt;br /&gt;
  DocumentRoot /var/www/nextcloud/&lt;br /&gt;
  ServerName demo.domain.com&lt;br /&gt;
  ServerAlias www.demo.domain.com&lt;br /&gt;
  &lt;br /&gt;
  Alias /nextcloud &amp;quot;/var/www/nextcloud/&amp;quot;&lt;br /&gt;
  &amp;lt;Directory /var/www/nextcloud/&amp;gt;&lt;br /&gt;
  Options +FollowSymlinks&lt;br /&gt;
   AllowOverride All&lt;br /&gt;
   Require all granted&lt;br /&gt;
   &amp;lt;IfModule mod_dav.c&amp;gt;&lt;br /&gt;
    Dav off&lt;br /&gt;
   &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
   SetEnv HOME /var/www/nextcloud&lt;br /&gt;
   SetEnv HTTP_HOME /var/www/nextcloud&lt;br /&gt;
  &amp;lt;/Directory&amp;gt;&lt;br /&gt;
   ErrorLog ${APACHE_LOG_DIR}/error.log&lt;br /&gt;
   CustomLog ${APACHE_LOG_DIR}/access.log combined&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Diese Anleistung basiert auf folgender Anleitung:  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[https://apfelcast.com/nextcloud-25-auf-linux-server-ubuntu-22-04-installieren-einfache-anleitung/]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Die beiden zusätzlichen Änderungen am Schuss ergeben sich nach dem überprüfen der Einstellungen in Nextcloud.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--------------------&lt;br /&gt;
&lt;br /&gt;
Nextcloud 25 Installation auf Basis Ubuntu 22.04 LTS&lt;br /&gt;
-------------------&lt;br /&gt;
&lt;br /&gt;
*Betriebsystem auf aktuellen Stand bringen&lt;br /&gt;
 apt update &amp;amp;&amp;amp; apt upgrade -y&lt;br /&gt;
&lt;br /&gt;
*Installion apache&lt;br /&gt;
 apt install apache2&lt;br /&gt;
&lt;br /&gt;
*Installion PHP 8.1 &lt;br /&gt;
 apt install software-properties-common&lt;br /&gt;
 add-apt-repository ppa:ondrej/php&lt;br /&gt;
 apt update&lt;br /&gt;
&lt;br /&gt;
*Installion PHP 8.1 &amp;amp; Module&lt;br /&gt;
 apt install php8.1 libapache2-mod-php8.1 php8.1-zip php-dompdf php8.1-xml php8.1-mbstring php8.1-gd php8.1-curl php8.1-imagick libmagickcore-6.q16-6-extra php8.1-intl php8.1-bcmath php8.1-gmp php8.1-cli php8.1-mysql php8.1-zip php8.1-gd  php8.1-mbstring php8.1-curl php8.1-xml php-pear unzip nano php8.1-apcu redis-server ufw php8.1-redis&lt;br /&gt;
&lt;br /&gt;
*anpassen der PHP.ini Datei&lt;br /&gt;
 nano /etc/php/8.1/apache2/php.ini&lt;br /&gt;
&lt;br /&gt;
 memory_limit = 1024M&lt;br /&gt;
 upload_max_filesize = 16G&lt;br /&gt;
 post_max_size = 16G&lt;br /&gt;
 date.timezone = Europe/Berlin&lt;br /&gt;
 output_buffering = Off&lt;br /&gt;
&lt;br /&gt;
*Installation Datenbank Server&lt;br /&gt;
 apt install mariadb-server&lt;br /&gt;
&lt;br /&gt;
*Maria DB Server Konfiguration&lt;br /&gt;
 mysql_secure_installation&lt;br /&gt;
&lt;br /&gt;
*öffnen SQL Dialog&lt;br /&gt;
 mysql&lt;br /&gt;
&lt;br /&gt;
*create database calles nextcloud&lt;br /&gt;
 CREATE DATABASE nextcloud; &lt;br /&gt;
&lt;br /&gt;
*create database user with password&lt;br /&gt;
 CREATE USER 'nextclouduser'@'localhost' IDENTIFIED BY 'password_here';&lt;br /&gt;
&lt;br /&gt;
*grant accesss to databse&lt;br /&gt;
 GRANT ALL PRIVILEGES ON nextcloud.* TO 'nextclouduser'@'localhost';&lt;br /&gt;
&lt;br /&gt;
*save changes and exit&lt;br /&gt;
 FLUSH PRIVILEGES;&lt;br /&gt;
 EXIT;&lt;br /&gt;
&lt;br /&gt;
*Download lastest nextcloud version&lt;br /&gt;
 cd /tmp &amp;amp;&amp;amp; wget https://download.nextcloud.com/server/releases/latest.zip&lt;br /&gt;
 unzip latest.zip&lt;br /&gt;
 mv nextcloud /var/www/&lt;br /&gt;
&lt;br /&gt;
*create new conf&lt;br /&gt;
 nano /etc/apache2/sites-available/nextcloud.conf&lt;br /&gt;
 &amp;lt;VirtualHost *:80&amp;gt;&lt;br /&gt;
	 ServerAdmin master@domain.com&lt;br /&gt;
	 DocumentRoot /var/www/nextcloud/&lt;br /&gt;
	 ServerName demo.domain.com&lt;br /&gt;
	 ServerAlias www.demo.domain.com&lt;br /&gt;
  &lt;br /&gt;
	 Alias /nextcloud &amp;quot;/var/www/nextcloud/&amp;quot;&lt;br /&gt;
	 &amp;lt;Directory /var/www/nextcloud/&amp;gt;&lt;br /&gt;
		Options +FollowSymlinks&lt;br /&gt;
		AllowOverride All&lt;br /&gt;
		Require all granted&lt;br /&gt;
		  &amp;lt;IfModule mod_dav.c&amp;gt;&lt;br /&gt;
			Dav off&lt;br /&gt;
		  &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
		SetEnv HOME /var/www/nextcloud&lt;br /&gt;
		SetEnv HTTP_HOME /var/www/nextcloud&lt;br /&gt;
	 &amp;lt;/Directory&amp;gt;&lt;br /&gt;
	 ErrorLog ${APACHE_LOG_DIR}/error.log&lt;br /&gt;
	 CustomLog ${APACHE_LOG_DIR}/access.log combined&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Enable the NextCloud and Rewrite Module&lt;br /&gt;
 a2ensite nextcloud.conf&lt;br /&gt;
 a2enmod rewrite&lt;br /&gt;
 a2enmod headers&lt;br /&gt;
 a2enmod env&lt;br /&gt;
 a2enmod dir&lt;br /&gt;
 a2enmod mime&lt;br /&gt;
&lt;br /&gt;
*restart apache&lt;br /&gt;
 service apache2 restart&lt;br /&gt;
&lt;br /&gt;
*prepare data folder&lt;br /&gt;
 mkdir /home/data/&lt;br /&gt;
 chown -R www-data:www-data /home/data/&lt;br /&gt;
&lt;br /&gt;
 chown -R www-data:www-data /var/www/nextcloud/&lt;br /&gt;
 chmod -R 755 /var/www/nextcloud/&lt;br /&gt;
&lt;br /&gt;
*install certbot and create Let's Encrypt SSL-Certificate&lt;br /&gt;
 apt install certbot python3-certbot-apache&lt;br /&gt;
&lt;br /&gt;
 certbot --apache -m master@domain.com -d cloud.domain.com&lt;br /&gt;
 &lt;br /&gt;
--&amp;gt; only lasts 90 days&lt;br /&gt;
&lt;br /&gt;
*gegebenenfall das Paket cron installieren&lt;br /&gt;
 install crontab&lt;br /&gt;
 crontab -e&lt;br /&gt;
 40 3 * * 0 letsencrypt renew &amp;gt;&amp;gt; /var/log/letsencrypt-renew.log &amp;amp;&amp;amp; service apache2 reload &amp;gt; /dev/null 2&amp;gt;&amp;amp;1&lt;br /&gt;
&lt;br /&gt;
--&amp;gt; Domain ansurfen und Einrichtung abschließen&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--------------------&lt;br /&gt;
&lt;br /&gt;
Abschliessende Änderungen:&lt;br /&gt;
&lt;br /&gt;
*Erweitern der Datei : /etc/apache2/sites-available/nextcloud-le-ssl.conf um folgenden Eintrag&lt;br /&gt;
&lt;br /&gt;
 Strict-Transport-Security:&lt;br /&gt;
  &amp;lt;VirtualHost *:443&amp;gt;&lt;br /&gt;
  ServerName cloud.nextcloud.com&lt;br /&gt;
	&amp;lt;IfModule mod_headers.c&amp;gt;&lt;br /&gt;
	  Header always set Strict-Transport-Security &amp;quot;max-age=15552000; includeSubDomains&amp;quot;&lt;br /&gt;
	&amp;lt;/IfModule&amp;gt;&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Erweitern der Einstellungen in der Datein  /var/www/nextcloud/config/config.php um folgenden Eintrag&lt;br /&gt;
 'default_phone_region' =&amp;gt; 'DE',&lt;br /&gt;
	&lt;br /&gt;
(bei einer Snap Installation unter Ubuntu 20.04 liegt die Datei unter /var/snap/nextcloud/current/config/config.php)&lt;/div&gt;</summary>
		<author><name>Guenter</name></author>
	</entry>
	<entry>
		<id>https://wiki.stoehr-hermaringen.de/index.php?title=Installation_Nextcloud_unter_Ubuntu_22.04_LTS&amp;diff=103</id>
		<title>Installation Nextcloud unter Ubuntu 22.04 LTS</title>
		<link rel="alternate" type="text/html" href="https://wiki.stoehr-hermaringen.de/index.php?title=Installation_Nextcloud_unter_Ubuntu_22.04_LTS&amp;diff=103"/>
		<updated>2023-05-10T06:09:29Z</updated>

		<summary type="html">&lt;p&gt;Guenter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*create new conf&lt;br /&gt;
 nano /etc/apache2/sites-available/nextcloud.conf&lt;br /&gt;
 &amp;lt;VirtualHost *:80&amp;gt;&lt;br /&gt;
::ServerAdmin master@domain.com&lt;br /&gt;
  DocumentRoot /var/www/nextcloud/&lt;br /&gt;
  ServerName demo.domain.com&lt;br /&gt;
  ServerAlias www.demo.domain.com&lt;br /&gt;
  &lt;br /&gt;
  Alias /nextcloud &amp;quot;/var/www/nextcloud/&amp;quot;&lt;br /&gt;
  &amp;lt;Directory /var/www/nextcloud/&amp;gt;&lt;br /&gt;
  Options +FollowSymlinks&lt;br /&gt;
   AllowOverride All&lt;br /&gt;
   Require all granted&lt;br /&gt;
   &amp;lt;IfModule mod_dav.c&amp;gt;&lt;br /&gt;
    Dav off&lt;br /&gt;
   &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
   SetEnv HOME /var/www/nextcloud&lt;br /&gt;
   SetEnv HTTP_HOME /var/www/nextcloud&lt;br /&gt;
  &amp;lt;/Directory&amp;gt;&lt;br /&gt;
   ErrorLog ${APACHE_LOG_DIR}/error.log&lt;br /&gt;
   CustomLog ${APACHE_LOG_DIR}/access.log combined&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Diese Anleistung basiert auf folgender Anleitung:  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[https://apfelcast.com/nextcloud-25-auf-linux-server-ubuntu-22-04-installieren-einfache-anleitung/]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Die beiden zusätzlichen Änderungen am Schuss ergeben sich nach dem überprüfen der Einstellungen in Nextcloud.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--------------------&lt;br /&gt;
&lt;br /&gt;
Nextcloud 25 Installation auf Basis Ubuntu 22.04 LTS&lt;br /&gt;
-------------------&lt;br /&gt;
&lt;br /&gt;
*Betriebsystem auf aktuellen Stand bringen&lt;br /&gt;
 apt update &amp;amp;&amp;amp; apt upgrade -y&lt;br /&gt;
&lt;br /&gt;
*Installion apache&lt;br /&gt;
 apt install apache2&lt;br /&gt;
&lt;br /&gt;
*Installion PHP 8.1 &lt;br /&gt;
 apt install software-properties-common&lt;br /&gt;
 add-apt-repository ppa:ondrej/php&lt;br /&gt;
 apt update&lt;br /&gt;
&lt;br /&gt;
*Installion PHP 8.1 &amp;amp; Module&lt;br /&gt;
 apt install php8.1 libapache2-mod-php8.1 php8.1-zip php-dompdf php8.1-xml php8.1-mbstring php8.1-gd php8.1-curl php8.1-imagick libmagickcore-6.q16-6-extra php8.1-intl php8.1-bcmath php8.1-gmp php8.1-cli php8.1-mysql php8.1-zip php8.1-gd  php8.1-mbstring php8.1-curl php8.1-xml php-pear unzip nano php8.1-apcu redis-server ufw php8.1-redis&lt;br /&gt;
&lt;br /&gt;
*anpassen der PHP.ini Datei&lt;br /&gt;
 nano /etc/php/8.1/apache2/php.ini&lt;br /&gt;
&lt;br /&gt;
 memory_limit = 1024M&lt;br /&gt;
 upload_max_filesize = 16G&lt;br /&gt;
 post_max_size = 16G&lt;br /&gt;
 date.timezone = Europe/Berlin&lt;br /&gt;
 output_buffering = Off&lt;br /&gt;
&lt;br /&gt;
*Installation Datenbank Server&lt;br /&gt;
 apt install mariadb-server&lt;br /&gt;
&lt;br /&gt;
*Maria DB Server Konfiguration&lt;br /&gt;
 mysql_secure_installation&lt;br /&gt;
&lt;br /&gt;
*öffnen SQL Dialog&lt;br /&gt;
 mysql&lt;br /&gt;
&lt;br /&gt;
*create database calles nextcloud&lt;br /&gt;
 CREATE DATABASE nextcloud; &lt;br /&gt;
&lt;br /&gt;
*create database user with password&lt;br /&gt;
 CREATE USER 'nextclouduser'@'localhost' IDENTIFIED BY 'password_here';&lt;br /&gt;
&lt;br /&gt;
*grant accesss to databse&lt;br /&gt;
 GRANT ALL PRIVILEGES ON nextcloud.* TO 'nextclouduser'@'localhost';&lt;br /&gt;
&lt;br /&gt;
*save changes and exit&lt;br /&gt;
 FLUSH PRIVILEGES;&lt;br /&gt;
 EXIT;&lt;br /&gt;
&lt;br /&gt;
*Download lastest nextcloud version&lt;br /&gt;
 cd /tmp &amp;amp;&amp;amp; wget https://download.nextcloud.com/server/releases/latest.zip&lt;br /&gt;
 unzip latest.zip&lt;br /&gt;
 mv nextcloud /var/www/&lt;br /&gt;
&lt;br /&gt;
*create new conf&lt;br /&gt;
 nano /etc/apache2/sites-available/nextcloud.conf&lt;br /&gt;
 &amp;lt;VirtualHost *:80&amp;gt;&lt;br /&gt;
	 ServerAdmin master@domain.com&lt;br /&gt;
	 DocumentRoot /var/www/nextcloud/&lt;br /&gt;
	 ServerName demo.domain.com&lt;br /&gt;
	 ServerAlias www.demo.domain.com&lt;br /&gt;
  &lt;br /&gt;
	 Alias /nextcloud &amp;quot;/var/www/nextcloud/&amp;quot;&lt;br /&gt;
	 &amp;lt;Directory /var/www/nextcloud/&amp;gt;&lt;br /&gt;
		Options +FollowSymlinks&lt;br /&gt;
		AllowOverride All&lt;br /&gt;
		Require all granted&lt;br /&gt;
		  &amp;lt;IfModule mod_dav.c&amp;gt;&lt;br /&gt;
			Dav off&lt;br /&gt;
		  &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
		SetEnv HOME /var/www/nextcloud&lt;br /&gt;
		SetEnv HTTP_HOME /var/www/nextcloud&lt;br /&gt;
	 &amp;lt;/Directory&amp;gt;&lt;br /&gt;
	 ErrorLog ${APACHE_LOG_DIR}/error.log&lt;br /&gt;
	 CustomLog ${APACHE_LOG_DIR}/access.log combined&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Enable the NextCloud and Rewrite Module&lt;br /&gt;
 a2ensite nextcloud.conf&lt;br /&gt;
 a2enmod rewrite&lt;br /&gt;
 a2enmod headers&lt;br /&gt;
 a2enmod env&lt;br /&gt;
 a2enmod dir&lt;br /&gt;
 a2enmod mime&lt;br /&gt;
&lt;br /&gt;
*restart apache&lt;br /&gt;
 service apache2 restart&lt;br /&gt;
&lt;br /&gt;
*prepare data folder&lt;br /&gt;
 mkdir /home/data/&lt;br /&gt;
 chown -R www-data:www-data /home/data/&lt;br /&gt;
&lt;br /&gt;
 chown -R www-data:www-data /var/www/nextcloud/&lt;br /&gt;
 chmod -R 755 /var/www/nextcloud/&lt;br /&gt;
&lt;br /&gt;
*install certbot and create Let's Encrypt SSL-Certificate&lt;br /&gt;
 apt install certbot python3-certbot-apache&lt;br /&gt;
&lt;br /&gt;
 certbot --apache -m master@domain.com -d cloud.domain.com&lt;br /&gt;
 &lt;br /&gt;
--&amp;gt; only lasts 90 days&lt;br /&gt;
&lt;br /&gt;
*gegebenenfall das Paket cron installieren&lt;br /&gt;
 install crontab&lt;br /&gt;
 crontab -e&lt;br /&gt;
 40 3 * * 0 letsencrypt renew &amp;gt;&amp;gt; /var/log/letsencrypt-renew.log &amp;amp;&amp;amp; service apache2 reload &amp;gt; /dev/null 2&amp;gt;&amp;amp;1&lt;br /&gt;
&lt;br /&gt;
--&amp;gt; Domain ansurfen und Einrichtung abschließen&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--------------------&lt;br /&gt;
&lt;br /&gt;
Abschliessende Änderungen:&lt;br /&gt;
&lt;br /&gt;
*Erweitern der Datei : /etc/apache2/sites-available/nextcloud-le-ssl.conf um folgenden Eintrag&lt;br /&gt;
&lt;br /&gt;
 Strict-Transport-Security:&lt;br /&gt;
  &amp;lt;VirtualHost *:443&amp;gt;&lt;br /&gt;
  ServerName cloud.nextcloud.com&lt;br /&gt;
	&amp;lt;IfModule mod_headers.c&amp;gt;&lt;br /&gt;
	  Header always set Strict-Transport-Security &amp;quot;max-age=15552000; includeSubDomains&amp;quot;&lt;br /&gt;
	&amp;lt;/IfModule&amp;gt;&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Erweitern der Einstellungen in der Datein  /var/www/nextcloud/config/config.php um folgenden Eintrag&lt;br /&gt;
 'default_phone_region' =&amp;gt; 'DE',&lt;br /&gt;
	&lt;br /&gt;
(bei einer Snap Installation unter Ubuntu 20.04 liegt die Datei unter /var/snap/nextcloud/current/config/config.php)&lt;/div&gt;</summary>
		<author><name>Guenter</name></author>
	</entry>
	<entry>
		<id>https://wiki.stoehr-hermaringen.de/index.php?title=Installation_Nextcloud_unter_Ubuntu_22.04_LTS&amp;diff=102</id>
		<title>Installation Nextcloud unter Ubuntu 22.04 LTS</title>
		<link rel="alternate" type="text/html" href="https://wiki.stoehr-hermaringen.de/index.php?title=Installation_Nextcloud_unter_Ubuntu_22.04_LTS&amp;diff=102"/>
		<updated>2023-05-10T06:08:55Z</updated>

		<summary type="html">&lt;p&gt;Guenter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*create new conf&lt;br /&gt;
 nano /etc/apache2/sites-available/nextcloud.conf&lt;br /&gt;
 &amp;lt;VirtualHost *:80&amp;gt;&lt;br /&gt;
  ServerAdmin master@domain.com&lt;br /&gt;
  DocumentRoot /var/www/nextcloud/&lt;br /&gt;
  ServerName demo.domain.com&lt;br /&gt;
  ServerAlias www.demo.domain.com&lt;br /&gt;
  &lt;br /&gt;
  Alias /nextcloud &amp;quot;/var/www/nextcloud/&amp;quot;&lt;br /&gt;
  &amp;lt;Directory /var/www/nextcloud/&amp;gt;&lt;br /&gt;
  Options +FollowSymlinks&lt;br /&gt;
   AllowOverride All&lt;br /&gt;
   Require all granted&lt;br /&gt;
   &amp;lt;IfModule mod_dav.c&amp;gt;&lt;br /&gt;
    Dav off&lt;br /&gt;
   &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
   SetEnv HOME /var/www/nextcloud&lt;br /&gt;
   SetEnv HTTP_HOME /var/www/nextcloud&lt;br /&gt;
  &amp;lt;/Directory&amp;gt;&lt;br /&gt;
   ErrorLog ${APACHE_LOG_DIR}/error.log&lt;br /&gt;
   CustomLog ${APACHE_LOG_DIR}/access.log combined&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Diese Anleistung basiert auf folgender Anleitung:  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[https://apfelcast.com/nextcloud-25-auf-linux-server-ubuntu-22-04-installieren-einfache-anleitung/]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Die beiden zusätzlichen Änderungen am Schuss ergeben sich nach dem überprüfen der Einstellungen in Nextcloud.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--------------------&lt;br /&gt;
&lt;br /&gt;
Nextcloud 25 Installation auf Basis Ubuntu 22.04 LTS&lt;br /&gt;
-------------------&lt;br /&gt;
&lt;br /&gt;
*Betriebsystem auf aktuellen Stand bringen&lt;br /&gt;
 apt update &amp;amp;&amp;amp; apt upgrade -y&lt;br /&gt;
&lt;br /&gt;
*Installion apache&lt;br /&gt;
 apt install apache2&lt;br /&gt;
&lt;br /&gt;
*Installion PHP 8.1 &lt;br /&gt;
 apt install software-properties-common&lt;br /&gt;
 add-apt-repository ppa:ondrej/php&lt;br /&gt;
 apt update&lt;br /&gt;
&lt;br /&gt;
*Installion PHP 8.1 &amp;amp; Module&lt;br /&gt;
 apt install php8.1 libapache2-mod-php8.1 php8.1-zip php-dompdf php8.1-xml php8.1-mbstring php8.1-gd php8.1-curl php8.1-imagick libmagickcore-6.q16-6-extra php8.1-intl php8.1-bcmath php8.1-gmp php8.1-cli php8.1-mysql php8.1-zip php8.1-gd  php8.1-mbstring php8.1-curl php8.1-xml php-pear unzip nano php8.1-apcu redis-server ufw php8.1-redis&lt;br /&gt;
&lt;br /&gt;
*anpassen der PHP.ini Datei&lt;br /&gt;
 nano /etc/php/8.1/apache2/php.ini&lt;br /&gt;
&lt;br /&gt;
 memory_limit = 1024M&lt;br /&gt;
 upload_max_filesize = 16G&lt;br /&gt;
 post_max_size = 16G&lt;br /&gt;
 date.timezone = Europe/Berlin&lt;br /&gt;
 output_buffering = Off&lt;br /&gt;
&lt;br /&gt;
*Installation Datenbank Server&lt;br /&gt;
 apt install mariadb-server&lt;br /&gt;
&lt;br /&gt;
*Maria DB Server Konfiguration&lt;br /&gt;
 mysql_secure_installation&lt;br /&gt;
&lt;br /&gt;
*öffnen SQL Dialog&lt;br /&gt;
 mysql&lt;br /&gt;
&lt;br /&gt;
*create database calles nextcloud&lt;br /&gt;
 CREATE DATABASE nextcloud; &lt;br /&gt;
&lt;br /&gt;
*create database user with password&lt;br /&gt;
 CREATE USER 'nextclouduser'@'localhost' IDENTIFIED BY 'password_here';&lt;br /&gt;
&lt;br /&gt;
*grant accesss to databse&lt;br /&gt;
 GRANT ALL PRIVILEGES ON nextcloud.* TO 'nextclouduser'@'localhost';&lt;br /&gt;
&lt;br /&gt;
*save changes and exit&lt;br /&gt;
 FLUSH PRIVILEGES;&lt;br /&gt;
 EXIT;&lt;br /&gt;
&lt;br /&gt;
*Download lastest nextcloud version&lt;br /&gt;
 cd /tmp &amp;amp;&amp;amp; wget https://download.nextcloud.com/server/releases/latest.zip&lt;br /&gt;
 unzip latest.zip&lt;br /&gt;
 mv nextcloud /var/www/&lt;br /&gt;
&lt;br /&gt;
*create new conf&lt;br /&gt;
 nano /etc/apache2/sites-available/nextcloud.conf&lt;br /&gt;
 &amp;lt;VirtualHost *:80&amp;gt;&lt;br /&gt;
	 ServerAdmin master@domain.com&lt;br /&gt;
	 DocumentRoot /var/www/nextcloud/&lt;br /&gt;
	 ServerName demo.domain.com&lt;br /&gt;
	 ServerAlias www.demo.domain.com&lt;br /&gt;
  &lt;br /&gt;
	 Alias /nextcloud &amp;quot;/var/www/nextcloud/&amp;quot;&lt;br /&gt;
	 &amp;lt;Directory /var/www/nextcloud/&amp;gt;&lt;br /&gt;
		Options +FollowSymlinks&lt;br /&gt;
		AllowOverride All&lt;br /&gt;
		Require all granted&lt;br /&gt;
		  &amp;lt;IfModule mod_dav.c&amp;gt;&lt;br /&gt;
			Dav off&lt;br /&gt;
		  &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
		SetEnv HOME /var/www/nextcloud&lt;br /&gt;
		SetEnv HTTP_HOME /var/www/nextcloud&lt;br /&gt;
	 &amp;lt;/Directory&amp;gt;&lt;br /&gt;
	 ErrorLog ${APACHE_LOG_DIR}/error.log&lt;br /&gt;
	 CustomLog ${APACHE_LOG_DIR}/access.log combined&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Enable the NextCloud and Rewrite Module&lt;br /&gt;
 a2ensite nextcloud.conf&lt;br /&gt;
 a2enmod rewrite&lt;br /&gt;
 a2enmod headers&lt;br /&gt;
 a2enmod env&lt;br /&gt;
 a2enmod dir&lt;br /&gt;
 a2enmod mime&lt;br /&gt;
&lt;br /&gt;
*restart apache&lt;br /&gt;
 service apache2 restart&lt;br /&gt;
&lt;br /&gt;
*prepare data folder&lt;br /&gt;
 mkdir /home/data/&lt;br /&gt;
 chown -R www-data:www-data /home/data/&lt;br /&gt;
&lt;br /&gt;
 chown -R www-data:www-data /var/www/nextcloud/&lt;br /&gt;
 chmod -R 755 /var/www/nextcloud/&lt;br /&gt;
&lt;br /&gt;
*install certbot and create Let's Encrypt SSL-Certificate&lt;br /&gt;
 apt install certbot python3-certbot-apache&lt;br /&gt;
&lt;br /&gt;
 certbot --apache -m master@domain.com -d cloud.domain.com&lt;br /&gt;
 &lt;br /&gt;
--&amp;gt; only lasts 90 days&lt;br /&gt;
&lt;br /&gt;
*gegebenenfall das Paket cron installieren&lt;br /&gt;
 install crontab&lt;br /&gt;
 crontab -e&lt;br /&gt;
 40 3 * * 0 letsencrypt renew &amp;gt;&amp;gt; /var/log/letsencrypt-renew.log &amp;amp;&amp;amp; service apache2 reload &amp;gt; /dev/null 2&amp;gt;&amp;amp;1&lt;br /&gt;
&lt;br /&gt;
--&amp;gt; Domain ansurfen und Einrichtung abschließen&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--------------------&lt;br /&gt;
&lt;br /&gt;
Abschliessende Änderungen:&lt;br /&gt;
&lt;br /&gt;
*Erweitern der Datei : /etc/apache2/sites-available/nextcloud-le-ssl.conf um folgenden Eintrag&lt;br /&gt;
&lt;br /&gt;
 Strict-Transport-Security:&lt;br /&gt;
  &amp;lt;VirtualHost *:443&amp;gt;&lt;br /&gt;
  ServerName cloud.nextcloud.com&lt;br /&gt;
	&amp;lt;IfModule mod_headers.c&amp;gt;&lt;br /&gt;
	  Header always set Strict-Transport-Security &amp;quot;max-age=15552000; includeSubDomains&amp;quot;&lt;br /&gt;
	&amp;lt;/IfModule&amp;gt;&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Erweitern der Einstellungen in der Datein  /var/www/nextcloud/config/config.php um folgenden Eintrag&lt;br /&gt;
 'default_phone_region' =&amp;gt; 'DE',&lt;br /&gt;
	&lt;br /&gt;
(bei einer Snap Installation unter Ubuntu 20.04 liegt die Datei unter /var/snap/nextcloud/current/config/config.php)&lt;/div&gt;</summary>
		<author><name>Guenter</name></author>
	</entry>
	<entry>
		<id>https://wiki.stoehr-hermaringen.de/index.php?title=Installation_Nextcloud_unter_Ubuntu_22.04_LTS&amp;diff=101</id>
		<title>Installation Nextcloud unter Ubuntu 22.04 LTS</title>
		<link rel="alternate" type="text/html" href="https://wiki.stoehr-hermaringen.de/index.php?title=Installation_Nextcloud_unter_Ubuntu_22.04_LTS&amp;diff=101"/>
		<updated>2023-05-10T06:08:32Z</updated>

		<summary type="html">&lt;p&gt;Guenter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*create new conf&lt;br /&gt;
 nano /etc/apache2/sites-available/nextcloud.conf&lt;br /&gt;
 &amp;lt;VirtualHost *:80&amp;gt;&lt;br /&gt;
  ServerAdmin master@domain.com&lt;br /&gt;
  DocumentRoot /var/www/nextcloud/&lt;br /&gt;
  ServerName demo.domain.com&lt;br /&gt;
  ServerAlias www.demo.domain.com&lt;br /&gt;
  &lt;br /&gt;
  Alias /nextcloud &amp;quot;/var/www/nextcloud/&amp;quot;&lt;br /&gt;
  &amp;lt;Directory /var/www/nextcloud/&amp;gt;&lt;br /&gt;
  ::Options +FollowSymlinks&lt;br /&gt;
   AllowOverride All&lt;br /&gt;
   Require all granted&lt;br /&gt;
   &amp;lt;IfModule mod_dav.c&amp;gt;&lt;br /&gt;
    Dav off&lt;br /&gt;
   &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
   SetEnv HOME /var/www/nextcloud&lt;br /&gt;
   SetEnv HTTP_HOME /var/www/nextcloud&lt;br /&gt;
  &amp;lt;/Directory&amp;gt;&lt;br /&gt;
   ErrorLog ${APACHE_LOG_DIR}/error.log&lt;br /&gt;
   CustomLog ${APACHE_LOG_DIR}/access.log combined&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Diese Anleistung basiert auf folgender Anleitung:  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[https://apfelcast.com/nextcloud-25-auf-linux-server-ubuntu-22-04-installieren-einfache-anleitung/]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Die beiden zusätzlichen Änderungen am Schuss ergeben sich nach dem überprüfen der Einstellungen in Nextcloud.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--------------------&lt;br /&gt;
&lt;br /&gt;
Nextcloud 25 Installation auf Basis Ubuntu 22.04 LTS&lt;br /&gt;
-------------------&lt;br /&gt;
&lt;br /&gt;
*Betriebsystem auf aktuellen Stand bringen&lt;br /&gt;
 apt update &amp;amp;&amp;amp; apt upgrade -y&lt;br /&gt;
&lt;br /&gt;
*Installion apache&lt;br /&gt;
 apt install apache2&lt;br /&gt;
&lt;br /&gt;
*Installion PHP 8.1 &lt;br /&gt;
 apt install software-properties-common&lt;br /&gt;
 add-apt-repository ppa:ondrej/php&lt;br /&gt;
 apt update&lt;br /&gt;
&lt;br /&gt;
*Installion PHP 8.1 &amp;amp; Module&lt;br /&gt;
 apt install php8.1 libapache2-mod-php8.1 php8.1-zip php-dompdf php8.1-xml php8.1-mbstring php8.1-gd php8.1-curl php8.1-imagick libmagickcore-6.q16-6-extra php8.1-intl php8.1-bcmath php8.1-gmp php8.1-cli php8.1-mysql php8.1-zip php8.1-gd  php8.1-mbstring php8.1-curl php8.1-xml php-pear unzip nano php8.1-apcu redis-server ufw php8.1-redis&lt;br /&gt;
&lt;br /&gt;
*anpassen der PHP.ini Datei&lt;br /&gt;
 nano /etc/php/8.1/apache2/php.ini&lt;br /&gt;
&lt;br /&gt;
 memory_limit = 1024M&lt;br /&gt;
 upload_max_filesize = 16G&lt;br /&gt;
 post_max_size = 16G&lt;br /&gt;
 date.timezone = Europe/Berlin&lt;br /&gt;
 output_buffering = Off&lt;br /&gt;
&lt;br /&gt;
*Installation Datenbank Server&lt;br /&gt;
 apt install mariadb-server&lt;br /&gt;
&lt;br /&gt;
*Maria DB Server Konfiguration&lt;br /&gt;
 mysql_secure_installation&lt;br /&gt;
&lt;br /&gt;
*öffnen SQL Dialog&lt;br /&gt;
 mysql&lt;br /&gt;
&lt;br /&gt;
*create database calles nextcloud&lt;br /&gt;
 CREATE DATABASE nextcloud; &lt;br /&gt;
&lt;br /&gt;
*create database user with password&lt;br /&gt;
 CREATE USER 'nextclouduser'@'localhost' IDENTIFIED BY 'password_here';&lt;br /&gt;
&lt;br /&gt;
*grant accesss to databse&lt;br /&gt;
 GRANT ALL PRIVILEGES ON nextcloud.* TO 'nextclouduser'@'localhost';&lt;br /&gt;
&lt;br /&gt;
*save changes and exit&lt;br /&gt;
 FLUSH PRIVILEGES;&lt;br /&gt;
 EXIT;&lt;br /&gt;
&lt;br /&gt;
*Download lastest nextcloud version&lt;br /&gt;
 cd /tmp &amp;amp;&amp;amp; wget https://download.nextcloud.com/server/releases/latest.zip&lt;br /&gt;
 unzip latest.zip&lt;br /&gt;
 mv nextcloud /var/www/&lt;br /&gt;
&lt;br /&gt;
*create new conf&lt;br /&gt;
 nano /etc/apache2/sites-available/nextcloud.conf&lt;br /&gt;
 &amp;lt;VirtualHost *:80&amp;gt;&lt;br /&gt;
	 ServerAdmin master@domain.com&lt;br /&gt;
	 DocumentRoot /var/www/nextcloud/&lt;br /&gt;
	 ServerName demo.domain.com&lt;br /&gt;
	 ServerAlias www.demo.domain.com&lt;br /&gt;
  &lt;br /&gt;
	 Alias /nextcloud &amp;quot;/var/www/nextcloud/&amp;quot;&lt;br /&gt;
	 &amp;lt;Directory /var/www/nextcloud/&amp;gt;&lt;br /&gt;
		Options +FollowSymlinks&lt;br /&gt;
		AllowOverride All&lt;br /&gt;
		Require all granted&lt;br /&gt;
		  &amp;lt;IfModule mod_dav.c&amp;gt;&lt;br /&gt;
			Dav off&lt;br /&gt;
		  &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
		SetEnv HOME /var/www/nextcloud&lt;br /&gt;
		SetEnv HTTP_HOME /var/www/nextcloud&lt;br /&gt;
	 &amp;lt;/Directory&amp;gt;&lt;br /&gt;
	 ErrorLog ${APACHE_LOG_DIR}/error.log&lt;br /&gt;
	 CustomLog ${APACHE_LOG_DIR}/access.log combined&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Enable the NextCloud and Rewrite Module&lt;br /&gt;
 a2ensite nextcloud.conf&lt;br /&gt;
 a2enmod rewrite&lt;br /&gt;
 a2enmod headers&lt;br /&gt;
 a2enmod env&lt;br /&gt;
 a2enmod dir&lt;br /&gt;
 a2enmod mime&lt;br /&gt;
&lt;br /&gt;
*restart apache&lt;br /&gt;
 service apache2 restart&lt;br /&gt;
&lt;br /&gt;
*prepare data folder&lt;br /&gt;
 mkdir /home/data/&lt;br /&gt;
 chown -R www-data:www-data /home/data/&lt;br /&gt;
&lt;br /&gt;
 chown -R www-data:www-data /var/www/nextcloud/&lt;br /&gt;
 chmod -R 755 /var/www/nextcloud/&lt;br /&gt;
&lt;br /&gt;
*install certbot and create Let's Encrypt SSL-Certificate&lt;br /&gt;
 apt install certbot python3-certbot-apache&lt;br /&gt;
&lt;br /&gt;
 certbot --apache -m master@domain.com -d cloud.domain.com&lt;br /&gt;
 &lt;br /&gt;
--&amp;gt; only lasts 90 days&lt;br /&gt;
&lt;br /&gt;
*gegebenenfall das Paket cron installieren&lt;br /&gt;
 install crontab&lt;br /&gt;
 crontab -e&lt;br /&gt;
 40 3 * * 0 letsencrypt renew &amp;gt;&amp;gt; /var/log/letsencrypt-renew.log &amp;amp;&amp;amp; service apache2 reload &amp;gt; /dev/null 2&amp;gt;&amp;amp;1&lt;br /&gt;
&lt;br /&gt;
--&amp;gt; Domain ansurfen und Einrichtung abschließen&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--------------------&lt;br /&gt;
&lt;br /&gt;
Abschliessende Änderungen:&lt;br /&gt;
&lt;br /&gt;
*Erweitern der Datei : /etc/apache2/sites-available/nextcloud-le-ssl.conf um folgenden Eintrag&lt;br /&gt;
&lt;br /&gt;
 Strict-Transport-Security:&lt;br /&gt;
  &amp;lt;VirtualHost *:443&amp;gt;&lt;br /&gt;
  ServerName cloud.nextcloud.com&lt;br /&gt;
	&amp;lt;IfModule mod_headers.c&amp;gt;&lt;br /&gt;
	  Header always set Strict-Transport-Security &amp;quot;max-age=15552000; includeSubDomains&amp;quot;&lt;br /&gt;
	&amp;lt;/IfModule&amp;gt;&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Erweitern der Einstellungen in der Datein  /var/www/nextcloud/config/config.php um folgenden Eintrag&lt;br /&gt;
 'default_phone_region' =&amp;gt; 'DE',&lt;br /&gt;
	&lt;br /&gt;
(bei einer Snap Installation unter Ubuntu 20.04 liegt die Datei unter /var/snap/nextcloud/current/config/config.php)&lt;/div&gt;</summary>
		<author><name>Guenter</name></author>
	</entry>
	<entry>
		<id>https://wiki.stoehr-hermaringen.de/index.php?title=Installation_Nextcloud_unter_Ubuntu_22.04_LTS&amp;diff=100</id>
		<title>Installation Nextcloud unter Ubuntu 22.04 LTS</title>
		<link rel="alternate" type="text/html" href="https://wiki.stoehr-hermaringen.de/index.php?title=Installation_Nextcloud_unter_Ubuntu_22.04_LTS&amp;diff=100"/>
		<updated>2023-05-10T06:08:19Z</updated>

		<summary type="html">&lt;p&gt;Guenter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*create new conf&lt;br /&gt;
 nano /etc/apache2/sites-available/nextcloud.conf&lt;br /&gt;
 &amp;lt;VirtualHost *:80&amp;gt;&lt;br /&gt;
  ServerAdmin master@domain.com&lt;br /&gt;
  DocumentRoot /var/www/nextcloud/&lt;br /&gt;
  ServerName demo.domain.com&lt;br /&gt;
  ServerAlias www.demo.domain.com&lt;br /&gt;
  &lt;br /&gt;
  Alias /nextcloud &amp;quot;/var/www/nextcloud/&amp;quot;&lt;br /&gt;
  &amp;lt;Directory /var/www/nextcloud/&amp;gt;&lt;br /&gt;
  :: Options +FollowSymlinks&lt;br /&gt;
   AllowOverride All&lt;br /&gt;
   Require all granted&lt;br /&gt;
   &amp;lt;IfModule mod_dav.c&amp;gt;&lt;br /&gt;
    Dav off&lt;br /&gt;
   &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
   SetEnv HOME /var/www/nextcloud&lt;br /&gt;
   SetEnv HTTP_HOME /var/www/nextcloud&lt;br /&gt;
  &amp;lt;/Directory&amp;gt;&lt;br /&gt;
   ErrorLog ${APACHE_LOG_DIR}/error.log&lt;br /&gt;
   CustomLog ${APACHE_LOG_DIR}/access.log combined&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Diese Anleistung basiert auf folgender Anleitung:  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[https://apfelcast.com/nextcloud-25-auf-linux-server-ubuntu-22-04-installieren-einfache-anleitung/]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Die beiden zusätzlichen Änderungen am Schuss ergeben sich nach dem überprüfen der Einstellungen in Nextcloud.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--------------------&lt;br /&gt;
&lt;br /&gt;
Nextcloud 25 Installation auf Basis Ubuntu 22.04 LTS&lt;br /&gt;
-------------------&lt;br /&gt;
&lt;br /&gt;
*Betriebsystem auf aktuellen Stand bringen&lt;br /&gt;
 apt update &amp;amp;&amp;amp; apt upgrade -y&lt;br /&gt;
&lt;br /&gt;
*Installion apache&lt;br /&gt;
 apt install apache2&lt;br /&gt;
&lt;br /&gt;
*Installion PHP 8.1 &lt;br /&gt;
 apt install software-properties-common&lt;br /&gt;
 add-apt-repository ppa:ondrej/php&lt;br /&gt;
 apt update&lt;br /&gt;
&lt;br /&gt;
*Installion PHP 8.1 &amp;amp; Module&lt;br /&gt;
 apt install php8.1 libapache2-mod-php8.1 php8.1-zip php-dompdf php8.1-xml php8.1-mbstring php8.1-gd php8.1-curl php8.1-imagick libmagickcore-6.q16-6-extra php8.1-intl php8.1-bcmath php8.1-gmp php8.1-cli php8.1-mysql php8.1-zip php8.1-gd  php8.1-mbstring php8.1-curl php8.1-xml php-pear unzip nano php8.1-apcu redis-server ufw php8.1-redis&lt;br /&gt;
&lt;br /&gt;
*anpassen der PHP.ini Datei&lt;br /&gt;
 nano /etc/php/8.1/apache2/php.ini&lt;br /&gt;
&lt;br /&gt;
 memory_limit = 1024M&lt;br /&gt;
 upload_max_filesize = 16G&lt;br /&gt;
 post_max_size = 16G&lt;br /&gt;
 date.timezone = Europe/Berlin&lt;br /&gt;
 output_buffering = Off&lt;br /&gt;
&lt;br /&gt;
*Installation Datenbank Server&lt;br /&gt;
 apt install mariadb-server&lt;br /&gt;
&lt;br /&gt;
*Maria DB Server Konfiguration&lt;br /&gt;
 mysql_secure_installation&lt;br /&gt;
&lt;br /&gt;
*öffnen SQL Dialog&lt;br /&gt;
 mysql&lt;br /&gt;
&lt;br /&gt;
*create database calles nextcloud&lt;br /&gt;
 CREATE DATABASE nextcloud; &lt;br /&gt;
&lt;br /&gt;
*create database user with password&lt;br /&gt;
 CREATE USER 'nextclouduser'@'localhost' IDENTIFIED BY 'password_here';&lt;br /&gt;
&lt;br /&gt;
*grant accesss to databse&lt;br /&gt;
 GRANT ALL PRIVILEGES ON nextcloud.* TO 'nextclouduser'@'localhost';&lt;br /&gt;
&lt;br /&gt;
*save changes and exit&lt;br /&gt;
 FLUSH PRIVILEGES;&lt;br /&gt;
 EXIT;&lt;br /&gt;
&lt;br /&gt;
*Download lastest nextcloud version&lt;br /&gt;
 cd /tmp &amp;amp;&amp;amp; wget https://download.nextcloud.com/server/releases/latest.zip&lt;br /&gt;
 unzip latest.zip&lt;br /&gt;
 mv nextcloud /var/www/&lt;br /&gt;
&lt;br /&gt;
*create new conf&lt;br /&gt;
 nano /etc/apache2/sites-available/nextcloud.conf&lt;br /&gt;
 &amp;lt;VirtualHost *:80&amp;gt;&lt;br /&gt;
	 ServerAdmin master@domain.com&lt;br /&gt;
	 DocumentRoot /var/www/nextcloud/&lt;br /&gt;
	 ServerName demo.domain.com&lt;br /&gt;
	 ServerAlias www.demo.domain.com&lt;br /&gt;
  &lt;br /&gt;
	 Alias /nextcloud &amp;quot;/var/www/nextcloud/&amp;quot;&lt;br /&gt;
	 &amp;lt;Directory /var/www/nextcloud/&amp;gt;&lt;br /&gt;
		Options +FollowSymlinks&lt;br /&gt;
		AllowOverride All&lt;br /&gt;
		Require all granted&lt;br /&gt;
		  &amp;lt;IfModule mod_dav.c&amp;gt;&lt;br /&gt;
			Dav off&lt;br /&gt;
		  &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
		SetEnv HOME /var/www/nextcloud&lt;br /&gt;
		SetEnv HTTP_HOME /var/www/nextcloud&lt;br /&gt;
	 &amp;lt;/Directory&amp;gt;&lt;br /&gt;
	 ErrorLog ${APACHE_LOG_DIR}/error.log&lt;br /&gt;
	 CustomLog ${APACHE_LOG_DIR}/access.log combined&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Enable the NextCloud and Rewrite Module&lt;br /&gt;
 a2ensite nextcloud.conf&lt;br /&gt;
 a2enmod rewrite&lt;br /&gt;
 a2enmod headers&lt;br /&gt;
 a2enmod env&lt;br /&gt;
 a2enmod dir&lt;br /&gt;
 a2enmod mime&lt;br /&gt;
&lt;br /&gt;
*restart apache&lt;br /&gt;
 service apache2 restart&lt;br /&gt;
&lt;br /&gt;
*prepare data folder&lt;br /&gt;
 mkdir /home/data/&lt;br /&gt;
 chown -R www-data:www-data /home/data/&lt;br /&gt;
&lt;br /&gt;
 chown -R www-data:www-data /var/www/nextcloud/&lt;br /&gt;
 chmod -R 755 /var/www/nextcloud/&lt;br /&gt;
&lt;br /&gt;
*install certbot and create Let's Encrypt SSL-Certificate&lt;br /&gt;
 apt install certbot python3-certbot-apache&lt;br /&gt;
&lt;br /&gt;
 certbot --apache -m master@domain.com -d cloud.domain.com&lt;br /&gt;
 &lt;br /&gt;
--&amp;gt; only lasts 90 days&lt;br /&gt;
&lt;br /&gt;
*gegebenenfall das Paket cron installieren&lt;br /&gt;
 install crontab&lt;br /&gt;
 crontab -e&lt;br /&gt;
 40 3 * * 0 letsencrypt renew &amp;gt;&amp;gt; /var/log/letsencrypt-renew.log &amp;amp;&amp;amp; service apache2 reload &amp;gt; /dev/null 2&amp;gt;&amp;amp;1&lt;br /&gt;
&lt;br /&gt;
--&amp;gt; Domain ansurfen und Einrichtung abschließen&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--------------------&lt;br /&gt;
&lt;br /&gt;
Abschliessende Änderungen:&lt;br /&gt;
&lt;br /&gt;
*Erweitern der Datei : /etc/apache2/sites-available/nextcloud-le-ssl.conf um folgenden Eintrag&lt;br /&gt;
&lt;br /&gt;
 Strict-Transport-Security:&lt;br /&gt;
  &amp;lt;VirtualHost *:443&amp;gt;&lt;br /&gt;
  ServerName cloud.nextcloud.com&lt;br /&gt;
	&amp;lt;IfModule mod_headers.c&amp;gt;&lt;br /&gt;
	  Header always set Strict-Transport-Security &amp;quot;max-age=15552000; includeSubDomains&amp;quot;&lt;br /&gt;
	&amp;lt;/IfModule&amp;gt;&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Erweitern der Einstellungen in der Datein  /var/www/nextcloud/config/config.php um folgenden Eintrag&lt;br /&gt;
 'default_phone_region' =&amp;gt; 'DE',&lt;br /&gt;
	&lt;br /&gt;
(bei einer Snap Installation unter Ubuntu 20.04 liegt die Datei unter /var/snap/nextcloud/current/config/config.php)&lt;/div&gt;</summary>
		<author><name>Guenter</name></author>
	</entry>
	<entry>
		<id>https://wiki.stoehr-hermaringen.de/index.php?title=Installation_Nextcloud_unter_Ubuntu_22.04_LTS&amp;diff=99</id>
		<title>Installation Nextcloud unter Ubuntu 22.04 LTS</title>
		<link rel="alternate" type="text/html" href="https://wiki.stoehr-hermaringen.de/index.php?title=Installation_Nextcloud_unter_Ubuntu_22.04_LTS&amp;diff=99"/>
		<updated>2023-05-10T06:07:11Z</updated>

		<summary type="html">&lt;p&gt;Guenter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*create new conf&lt;br /&gt;
 nano /etc/apache2/sites-available/nextcloud.conf&lt;br /&gt;
 &amp;lt;VirtualHost *:80&amp;gt;&lt;br /&gt;
  ServerAdmin master@domain.com&lt;br /&gt;
  DocumentRoot /var/www/nextcloud/&lt;br /&gt;
  ServerName demo.domain.com&lt;br /&gt;
  ServerAlias www.demo.domain.com&lt;br /&gt;
  &lt;br /&gt;
  Alias /nextcloud &amp;quot;/var/www/nextcloud/&amp;quot;&lt;br /&gt;
  &amp;lt;Directory /var/www/nextcloud/&amp;gt;&lt;br /&gt;
   Options +FollowSymlinks&lt;br /&gt;
   AllowOverride All&lt;br /&gt;
   Require all granted&lt;br /&gt;
   &amp;lt;IfModule mod_dav.c&amp;gt;&lt;br /&gt;
    Dav off&lt;br /&gt;
   &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
   SetEnv HOME /var/www/nextcloud&lt;br /&gt;
   SetEnv HTTP_HOME /var/www/nextcloud&lt;br /&gt;
  &amp;lt;/Directory&amp;gt;&lt;br /&gt;
   ErrorLog ${APACHE_LOG_DIR}/error.log&lt;br /&gt;
   CustomLog ${APACHE_LOG_DIR}/access.log combined&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Diese Anleistung basiert auf folgender Anleitung:  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[https://apfelcast.com/nextcloud-25-auf-linux-server-ubuntu-22-04-installieren-einfache-anleitung/]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Die beiden zusätzlichen Änderungen am Schuss ergeben sich nach dem überprüfen der Einstellungen in Nextcloud.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--------------------&lt;br /&gt;
&lt;br /&gt;
Nextcloud 25 Installation auf Basis Ubuntu 22.04 LTS&lt;br /&gt;
-------------------&lt;br /&gt;
&lt;br /&gt;
*Betriebsystem auf aktuellen Stand bringen&lt;br /&gt;
 apt update &amp;amp;&amp;amp; apt upgrade -y&lt;br /&gt;
&lt;br /&gt;
*Installion apache&lt;br /&gt;
 apt install apache2&lt;br /&gt;
&lt;br /&gt;
*Installion PHP 8.1 &lt;br /&gt;
 apt install software-properties-common&lt;br /&gt;
 add-apt-repository ppa:ondrej/php&lt;br /&gt;
 apt update&lt;br /&gt;
&lt;br /&gt;
*Installion PHP 8.1 &amp;amp; Module&lt;br /&gt;
 apt install php8.1 libapache2-mod-php8.1 php8.1-zip php-dompdf php8.1-xml php8.1-mbstring php8.1-gd php8.1-curl php8.1-imagick libmagickcore-6.q16-6-extra php8.1-intl php8.1-bcmath php8.1-gmp php8.1-cli php8.1-mysql php8.1-zip php8.1-gd  php8.1-mbstring php8.1-curl php8.1-xml php-pear unzip nano php8.1-apcu redis-server ufw php8.1-redis&lt;br /&gt;
&lt;br /&gt;
*anpassen der PHP.ini Datei&lt;br /&gt;
 nano /etc/php/8.1/apache2/php.ini&lt;br /&gt;
&lt;br /&gt;
 memory_limit = 1024M&lt;br /&gt;
 upload_max_filesize = 16G&lt;br /&gt;
 post_max_size = 16G&lt;br /&gt;
 date.timezone = Europe/Berlin&lt;br /&gt;
 output_buffering = Off&lt;br /&gt;
&lt;br /&gt;
*Installation Datenbank Server&lt;br /&gt;
 apt install mariadb-server&lt;br /&gt;
&lt;br /&gt;
*Maria DB Server Konfiguration&lt;br /&gt;
 mysql_secure_installation&lt;br /&gt;
&lt;br /&gt;
*öffnen SQL Dialog&lt;br /&gt;
 mysql&lt;br /&gt;
&lt;br /&gt;
*create database calles nextcloud&lt;br /&gt;
 CREATE DATABASE nextcloud; &lt;br /&gt;
&lt;br /&gt;
*create database user with password&lt;br /&gt;
 CREATE USER 'nextclouduser'@'localhost' IDENTIFIED BY 'password_here';&lt;br /&gt;
&lt;br /&gt;
*grant accesss to databse&lt;br /&gt;
 GRANT ALL PRIVILEGES ON nextcloud.* TO 'nextclouduser'@'localhost';&lt;br /&gt;
&lt;br /&gt;
*save changes and exit&lt;br /&gt;
 FLUSH PRIVILEGES;&lt;br /&gt;
 EXIT;&lt;br /&gt;
&lt;br /&gt;
*Download lastest nextcloud version&lt;br /&gt;
 cd /tmp &amp;amp;&amp;amp; wget https://download.nextcloud.com/server/releases/latest.zip&lt;br /&gt;
 unzip latest.zip&lt;br /&gt;
 mv nextcloud /var/www/&lt;br /&gt;
&lt;br /&gt;
*create new conf&lt;br /&gt;
 nano /etc/apache2/sites-available/nextcloud.conf&lt;br /&gt;
 &amp;lt;VirtualHost *:80&amp;gt;&lt;br /&gt;
	 ServerAdmin master@domain.com&lt;br /&gt;
	 DocumentRoot /var/www/nextcloud/&lt;br /&gt;
	 ServerName demo.domain.com&lt;br /&gt;
	 ServerAlias www.demo.domain.com&lt;br /&gt;
  &lt;br /&gt;
	 Alias /nextcloud &amp;quot;/var/www/nextcloud/&amp;quot;&lt;br /&gt;
	 &amp;lt;Directory /var/www/nextcloud/&amp;gt;&lt;br /&gt;
		Options +FollowSymlinks&lt;br /&gt;
		AllowOverride All&lt;br /&gt;
		Require all granted&lt;br /&gt;
		  &amp;lt;IfModule mod_dav.c&amp;gt;&lt;br /&gt;
			Dav off&lt;br /&gt;
		  &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
		SetEnv HOME /var/www/nextcloud&lt;br /&gt;
		SetEnv HTTP_HOME /var/www/nextcloud&lt;br /&gt;
	 &amp;lt;/Directory&amp;gt;&lt;br /&gt;
	 ErrorLog ${APACHE_LOG_DIR}/error.log&lt;br /&gt;
	 CustomLog ${APACHE_LOG_DIR}/access.log combined&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Enable the NextCloud and Rewrite Module&lt;br /&gt;
 a2ensite nextcloud.conf&lt;br /&gt;
 a2enmod rewrite&lt;br /&gt;
 a2enmod headers&lt;br /&gt;
 a2enmod env&lt;br /&gt;
 a2enmod dir&lt;br /&gt;
 a2enmod mime&lt;br /&gt;
&lt;br /&gt;
*restart apache&lt;br /&gt;
 service apache2 restart&lt;br /&gt;
&lt;br /&gt;
*prepare data folder&lt;br /&gt;
 mkdir /home/data/&lt;br /&gt;
 chown -R www-data:www-data /home/data/&lt;br /&gt;
&lt;br /&gt;
 chown -R www-data:www-data /var/www/nextcloud/&lt;br /&gt;
 chmod -R 755 /var/www/nextcloud/&lt;br /&gt;
&lt;br /&gt;
*install certbot and create Let's Encrypt SSL-Certificate&lt;br /&gt;
 apt install certbot python3-certbot-apache&lt;br /&gt;
&lt;br /&gt;
 certbot --apache -m master@domain.com -d cloud.domain.com&lt;br /&gt;
 &lt;br /&gt;
--&amp;gt; only lasts 90 days&lt;br /&gt;
&lt;br /&gt;
*gegebenenfall das Paket cron installieren&lt;br /&gt;
 install crontab&lt;br /&gt;
 crontab -e&lt;br /&gt;
 40 3 * * 0 letsencrypt renew &amp;gt;&amp;gt; /var/log/letsencrypt-renew.log &amp;amp;&amp;amp; service apache2 reload &amp;gt; /dev/null 2&amp;gt;&amp;amp;1&lt;br /&gt;
&lt;br /&gt;
--&amp;gt; Domain ansurfen und Einrichtung abschließen&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--------------------&lt;br /&gt;
&lt;br /&gt;
Abschliessende Änderungen:&lt;br /&gt;
&lt;br /&gt;
*Erweitern der Datei : /etc/apache2/sites-available/nextcloud-le-ssl.conf um folgenden Eintrag&lt;br /&gt;
&lt;br /&gt;
 Strict-Transport-Security:&lt;br /&gt;
  &amp;lt;VirtualHost *:443&amp;gt;&lt;br /&gt;
  ServerName cloud.nextcloud.com&lt;br /&gt;
	&amp;lt;IfModule mod_headers.c&amp;gt;&lt;br /&gt;
	  Header always set Strict-Transport-Security &amp;quot;max-age=15552000; includeSubDomains&amp;quot;&lt;br /&gt;
	&amp;lt;/IfModule&amp;gt;&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Erweitern der Einstellungen in der Datein  /var/www/nextcloud/config/config.php um folgenden Eintrag&lt;br /&gt;
 'default_phone_region' =&amp;gt; 'DE',&lt;br /&gt;
	&lt;br /&gt;
(bei einer Snap Installation unter Ubuntu 20.04 liegt die Datei unter /var/snap/nextcloud/current/config/config.php)&lt;/div&gt;</summary>
		<author><name>Guenter</name></author>
	</entry>
	<entry>
		<id>https://wiki.stoehr-hermaringen.de/index.php?title=Installation_Nextcloud_unter_Ubuntu_22.04_LTS&amp;diff=98</id>
		<title>Installation Nextcloud unter Ubuntu 22.04 LTS</title>
		<link rel="alternate" type="text/html" href="https://wiki.stoehr-hermaringen.de/index.php?title=Installation_Nextcloud_unter_Ubuntu_22.04_LTS&amp;diff=98"/>
		<updated>2023-05-10T06:06:53Z</updated>

		<summary type="html">&lt;p&gt;Guenter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*create new conf&lt;br /&gt;
 nano /etc/apache2/sites-available/nextcloud.conf&lt;br /&gt;
 &amp;lt;VirtualHost *:80&amp;gt;&lt;br /&gt;
  ServerAdmin master@domain.com&lt;br /&gt;
  DocumentRoot /var/www/nextcloud/&lt;br /&gt;
  ServerName demo.domain.com&lt;br /&gt;
  ServerAlias www.demo.domain.com&lt;br /&gt;
  &lt;br /&gt;
  Alias /nextcloud &amp;quot;/var/www/nextcloud/&amp;quot;&lt;br /&gt;
  &amp;lt;Directory /var/www/nextcloud/&amp;gt;&lt;br /&gt;
   Options +FollowSymlinks&lt;br /&gt;
   AllowOverride All&lt;br /&gt;
   Require all granted&lt;br /&gt;
   &amp;lt;IfModule mod_dav.c&amp;gt;&lt;br /&gt;
    Dav off&lt;br /&gt;
   &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
   SetEnv HOME /var/www/nextcloud&lt;br /&gt;
   SetEnv HTTP_HOME /var/www/nextcloud&lt;br /&gt;
  &amp;lt;/Directory&amp;gt;&lt;br /&gt;
	 ErrorLog ${APACHE_LOG_DIR}/error.log&lt;br /&gt;
	 CustomLog ${APACHE_LOG_DIR}/access.log combined&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Diese Anleistung basiert auf folgender Anleitung:  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[https://apfelcast.com/nextcloud-25-auf-linux-server-ubuntu-22-04-installieren-einfache-anleitung/]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Die beiden zusätzlichen Änderungen am Schuss ergeben sich nach dem überprüfen der Einstellungen in Nextcloud.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--------------------&lt;br /&gt;
&lt;br /&gt;
Nextcloud 25 Installation auf Basis Ubuntu 22.04 LTS&lt;br /&gt;
-------------------&lt;br /&gt;
&lt;br /&gt;
*Betriebsystem auf aktuellen Stand bringen&lt;br /&gt;
 apt update &amp;amp;&amp;amp; apt upgrade -y&lt;br /&gt;
&lt;br /&gt;
*Installion apache&lt;br /&gt;
 apt install apache2&lt;br /&gt;
&lt;br /&gt;
*Installion PHP 8.1 &lt;br /&gt;
 apt install software-properties-common&lt;br /&gt;
 add-apt-repository ppa:ondrej/php&lt;br /&gt;
 apt update&lt;br /&gt;
&lt;br /&gt;
*Installion PHP 8.1 &amp;amp; Module&lt;br /&gt;
 apt install php8.1 libapache2-mod-php8.1 php8.1-zip php-dompdf php8.1-xml php8.1-mbstring php8.1-gd php8.1-curl php8.1-imagick libmagickcore-6.q16-6-extra php8.1-intl php8.1-bcmath php8.1-gmp php8.1-cli php8.1-mysql php8.1-zip php8.1-gd  php8.1-mbstring php8.1-curl php8.1-xml php-pear unzip nano php8.1-apcu redis-server ufw php8.1-redis&lt;br /&gt;
&lt;br /&gt;
*anpassen der PHP.ini Datei&lt;br /&gt;
 nano /etc/php/8.1/apache2/php.ini&lt;br /&gt;
&lt;br /&gt;
 memory_limit = 1024M&lt;br /&gt;
 upload_max_filesize = 16G&lt;br /&gt;
 post_max_size = 16G&lt;br /&gt;
 date.timezone = Europe/Berlin&lt;br /&gt;
 output_buffering = Off&lt;br /&gt;
&lt;br /&gt;
*Installation Datenbank Server&lt;br /&gt;
 apt install mariadb-server&lt;br /&gt;
&lt;br /&gt;
*Maria DB Server Konfiguration&lt;br /&gt;
 mysql_secure_installation&lt;br /&gt;
&lt;br /&gt;
*öffnen SQL Dialog&lt;br /&gt;
 mysql&lt;br /&gt;
&lt;br /&gt;
*create database calles nextcloud&lt;br /&gt;
 CREATE DATABASE nextcloud; &lt;br /&gt;
&lt;br /&gt;
*create database user with password&lt;br /&gt;
 CREATE USER 'nextclouduser'@'localhost' IDENTIFIED BY 'password_here';&lt;br /&gt;
&lt;br /&gt;
*grant accesss to databse&lt;br /&gt;
 GRANT ALL PRIVILEGES ON nextcloud.* TO 'nextclouduser'@'localhost';&lt;br /&gt;
&lt;br /&gt;
*save changes and exit&lt;br /&gt;
 FLUSH PRIVILEGES;&lt;br /&gt;
 EXIT;&lt;br /&gt;
&lt;br /&gt;
*Download lastest nextcloud version&lt;br /&gt;
 cd /tmp &amp;amp;&amp;amp; wget https://download.nextcloud.com/server/releases/latest.zip&lt;br /&gt;
 unzip latest.zip&lt;br /&gt;
 mv nextcloud /var/www/&lt;br /&gt;
&lt;br /&gt;
*create new conf&lt;br /&gt;
 nano /etc/apache2/sites-available/nextcloud.conf&lt;br /&gt;
 &amp;lt;VirtualHost *:80&amp;gt;&lt;br /&gt;
	 ServerAdmin master@domain.com&lt;br /&gt;
	 DocumentRoot /var/www/nextcloud/&lt;br /&gt;
	 ServerName demo.domain.com&lt;br /&gt;
	 ServerAlias www.demo.domain.com&lt;br /&gt;
  &lt;br /&gt;
	 Alias /nextcloud &amp;quot;/var/www/nextcloud/&amp;quot;&lt;br /&gt;
	 &amp;lt;Directory /var/www/nextcloud/&amp;gt;&lt;br /&gt;
		Options +FollowSymlinks&lt;br /&gt;
		AllowOverride All&lt;br /&gt;
		Require all granted&lt;br /&gt;
		  &amp;lt;IfModule mod_dav.c&amp;gt;&lt;br /&gt;
			Dav off&lt;br /&gt;
		  &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
		SetEnv HOME /var/www/nextcloud&lt;br /&gt;
		SetEnv HTTP_HOME /var/www/nextcloud&lt;br /&gt;
	 &amp;lt;/Directory&amp;gt;&lt;br /&gt;
	 ErrorLog ${APACHE_LOG_DIR}/error.log&lt;br /&gt;
	 CustomLog ${APACHE_LOG_DIR}/access.log combined&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Enable the NextCloud and Rewrite Module&lt;br /&gt;
 a2ensite nextcloud.conf&lt;br /&gt;
 a2enmod rewrite&lt;br /&gt;
 a2enmod headers&lt;br /&gt;
 a2enmod env&lt;br /&gt;
 a2enmod dir&lt;br /&gt;
 a2enmod mime&lt;br /&gt;
&lt;br /&gt;
*restart apache&lt;br /&gt;
 service apache2 restart&lt;br /&gt;
&lt;br /&gt;
*prepare data folder&lt;br /&gt;
 mkdir /home/data/&lt;br /&gt;
 chown -R www-data:www-data /home/data/&lt;br /&gt;
&lt;br /&gt;
 chown -R www-data:www-data /var/www/nextcloud/&lt;br /&gt;
 chmod -R 755 /var/www/nextcloud/&lt;br /&gt;
&lt;br /&gt;
*install certbot and create Let's Encrypt SSL-Certificate&lt;br /&gt;
 apt install certbot python3-certbot-apache&lt;br /&gt;
&lt;br /&gt;
 certbot --apache -m master@domain.com -d cloud.domain.com&lt;br /&gt;
 &lt;br /&gt;
--&amp;gt; only lasts 90 days&lt;br /&gt;
&lt;br /&gt;
*gegebenenfall das Paket cron installieren&lt;br /&gt;
 install crontab&lt;br /&gt;
 crontab -e&lt;br /&gt;
 40 3 * * 0 letsencrypt renew &amp;gt;&amp;gt; /var/log/letsencrypt-renew.log &amp;amp;&amp;amp; service apache2 reload &amp;gt; /dev/null 2&amp;gt;&amp;amp;1&lt;br /&gt;
&lt;br /&gt;
--&amp;gt; Domain ansurfen und Einrichtung abschließen&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--------------------&lt;br /&gt;
&lt;br /&gt;
Abschliessende Änderungen:&lt;br /&gt;
&lt;br /&gt;
*Erweitern der Datei : /etc/apache2/sites-available/nextcloud-le-ssl.conf um folgenden Eintrag&lt;br /&gt;
&lt;br /&gt;
 Strict-Transport-Security:&lt;br /&gt;
  &amp;lt;VirtualHost *:443&amp;gt;&lt;br /&gt;
  ServerName cloud.nextcloud.com&lt;br /&gt;
	&amp;lt;IfModule mod_headers.c&amp;gt;&lt;br /&gt;
	  Header always set Strict-Transport-Security &amp;quot;max-age=15552000; includeSubDomains&amp;quot;&lt;br /&gt;
	&amp;lt;/IfModule&amp;gt;&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Erweitern der Einstellungen in der Datein  /var/www/nextcloud/config/config.php um folgenden Eintrag&lt;br /&gt;
 'default_phone_region' =&amp;gt; 'DE',&lt;br /&gt;
	&lt;br /&gt;
(bei einer Snap Installation unter Ubuntu 20.04 liegt die Datei unter /var/snap/nextcloud/current/config/config.php)&lt;/div&gt;</summary>
		<author><name>Guenter</name></author>
	</entry>
	<entry>
		<id>https://wiki.stoehr-hermaringen.de/index.php?title=Installation_Nextcloud_unter_Ubuntu_22.04_LTS&amp;diff=97</id>
		<title>Installation Nextcloud unter Ubuntu 22.04 LTS</title>
		<link rel="alternate" type="text/html" href="https://wiki.stoehr-hermaringen.de/index.php?title=Installation_Nextcloud_unter_Ubuntu_22.04_LTS&amp;diff=97"/>
		<updated>2023-05-10T06:06:35Z</updated>

		<summary type="html">&lt;p&gt;Guenter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*create new conf&lt;br /&gt;
 nano /etc/apache2/sites-available/nextcloud.conf&lt;br /&gt;
 &amp;lt;VirtualHost *:80&amp;gt;&lt;br /&gt;
  ServerAdmin master@domain.com&lt;br /&gt;
  DocumentRoot /var/www/nextcloud/&lt;br /&gt;
  ServerName demo.domain.com&lt;br /&gt;
  ServerAlias www.demo.domain.com&lt;br /&gt;
  &lt;br /&gt;
  Alias /nextcloud &amp;quot;/var/www/nextcloud/&amp;quot;&lt;br /&gt;
  &amp;lt;Directory /var/www/nextcloud/&amp;gt;&lt;br /&gt;
   Options +FollowSymlinks&lt;br /&gt;
   AllowOverride All&lt;br /&gt;
   Require all granted&lt;br /&gt;
   &amp;lt;IfModule mod_dav.c&amp;gt;&lt;br /&gt;
	Dav off&lt;br /&gt;
   &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
   SetEnv HOME /var/www/nextcloud&lt;br /&gt;
   SetEnv HTTP_HOME /var/www/nextcloud&lt;br /&gt;
  &amp;lt;/Directory&amp;gt;&lt;br /&gt;
	 ErrorLog ${APACHE_LOG_DIR}/error.log&lt;br /&gt;
	 CustomLog ${APACHE_LOG_DIR}/access.log combined&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Diese Anleistung basiert auf folgender Anleitung:  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[https://apfelcast.com/nextcloud-25-auf-linux-server-ubuntu-22-04-installieren-einfache-anleitung/]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Die beiden zusätzlichen Änderungen am Schuss ergeben sich nach dem überprüfen der Einstellungen in Nextcloud.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--------------------&lt;br /&gt;
&lt;br /&gt;
Nextcloud 25 Installation auf Basis Ubuntu 22.04 LTS&lt;br /&gt;
-------------------&lt;br /&gt;
&lt;br /&gt;
*Betriebsystem auf aktuellen Stand bringen&lt;br /&gt;
 apt update &amp;amp;&amp;amp; apt upgrade -y&lt;br /&gt;
&lt;br /&gt;
*Installion apache&lt;br /&gt;
 apt install apache2&lt;br /&gt;
&lt;br /&gt;
*Installion PHP 8.1 &lt;br /&gt;
 apt install software-properties-common&lt;br /&gt;
 add-apt-repository ppa:ondrej/php&lt;br /&gt;
 apt update&lt;br /&gt;
&lt;br /&gt;
*Installion PHP 8.1 &amp;amp; Module&lt;br /&gt;
 apt install php8.1 libapache2-mod-php8.1 php8.1-zip php-dompdf php8.1-xml php8.1-mbstring php8.1-gd php8.1-curl php8.1-imagick libmagickcore-6.q16-6-extra php8.1-intl php8.1-bcmath php8.1-gmp php8.1-cli php8.1-mysql php8.1-zip php8.1-gd  php8.1-mbstring php8.1-curl php8.1-xml php-pear unzip nano php8.1-apcu redis-server ufw php8.1-redis&lt;br /&gt;
&lt;br /&gt;
*anpassen der PHP.ini Datei&lt;br /&gt;
 nano /etc/php/8.1/apache2/php.ini&lt;br /&gt;
&lt;br /&gt;
 memory_limit = 1024M&lt;br /&gt;
 upload_max_filesize = 16G&lt;br /&gt;
 post_max_size = 16G&lt;br /&gt;
 date.timezone = Europe/Berlin&lt;br /&gt;
 output_buffering = Off&lt;br /&gt;
&lt;br /&gt;
*Installation Datenbank Server&lt;br /&gt;
 apt install mariadb-server&lt;br /&gt;
&lt;br /&gt;
*Maria DB Server Konfiguration&lt;br /&gt;
 mysql_secure_installation&lt;br /&gt;
&lt;br /&gt;
*öffnen SQL Dialog&lt;br /&gt;
 mysql&lt;br /&gt;
&lt;br /&gt;
*create database calles nextcloud&lt;br /&gt;
 CREATE DATABASE nextcloud; &lt;br /&gt;
&lt;br /&gt;
*create database user with password&lt;br /&gt;
 CREATE USER 'nextclouduser'@'localhost' IDENTIFIED BY 'password_here';&lt;br /&gt;
&lt;br /&gt;
*grant accesss to databse&lt;br /&gt;
 GRANT ALL PRIVILEGES ON nextcloud.* TO 'nextclouduser'@'localhost';&lt;br /&gt;
&lt;br /&gt;
*save changes and exit&lt;br /&gt;
 FLUSH PRIVILEGES;&lt;br /&gt;
 EXIT;&lt;br /&gt;
&lt;br /&gt;
*Download lastest nextcloud version&lt;br /&gt;
 cd /tmp &amp;amp;&amp;amp; wget https://download.nextcloud.com/server/releases/latest.zip&lt;br /&gt;
 unzip latest.zip&lt;br /&gt;
 mv nextcloud /var/www/&lt;br /&gt;
&lt;br /&gt;
*create new conf&lt;br /&gt;
 nano /etc/apache2/sites-available/nextcloud.conf&lt;br /&gt;
 &amp;lt;VirtualHost *:80&amp;gt;&lt;br /&gt;
	 ServerAdmin master@domain.com&lt;br /&gt;
	 DocumentRoot /var/www/nextcloud/&lt;br /&gt;
	 ServerName demo.domain.com&lt;br /&gt;
	 ServerAlias www.demo.domain.com&lt;br /&gt;
  &lt;br /&gt;
	 Alias /nextcloud &amp;quot;/var/www/nextcloud/&amp;quot;&lt;br /&gt;
	 &amp;lt;Directory /var/www/nextcloud/&amp;gt;&lt;br /&gt;
		Options +FollowSymlinks&lt;br /&gt;
		AllowOverride All&lt;br /&gt;
		Require all granted&lt;br /&gt;
		  &amp;lt;IfModule mod_dav.c&amp;gt;&lt;br /&gt;
			Dav off&lt;br /&gt;
		  &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
		SetEnv HOME /var/www/nextcloud&lt;br /&gt;
		SetEnv HTTP_HOME /var/www/nextcloud&lt;br /&gt;
	 &amp;lt;/Directory&amp;gt;&lt;br /&gt;
	 ErrorLog ${APACHE_LOG_DIR}/error.log&lt;br /&gt;
	 CustomLog ${APACHE_LOG_DIR}/access.log combined&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Enable the NextCloud and Rewrite Module&lt;br /&gt;
 a2ensite nextcloud.conf&lt;br /&gt;
 a2enmod rewrite&lt;br /&gt;
 a2enmod headers&lt;br /&gt;
 a2enmod env&lt;br /&gt;
 a2enmod dir&lt;br /&gt;
 a2enmod mime&lt;br /&gt;
&lt;br /&gt;
*restart apache&lt;br /&gt;
 service apache2 restart&lt;br /&gt;
&lt;br /&gt;
*prepare data folder&lt;br /&gt;
 mkdir /home/data/&lt;br /&gt;
 chown -R www-data:www-data /home/data/&lt;br /&gt;
&lt;br /&gt;
 chown -R www-data:www-data /var/www/nextcloud/&lt;br /&gt;
 chmod -R 755 /var/www/nextcloud/&lt;br /&gt;
&lt;br /&gt;
*install certbot and create Let's Encrypt SSL-Certificate&lt;br /&gt;
 apt install certbot python3-certbot-apache&lt;br /&gt;
&lt;br /&gt;
 certbot --apache -m master@domain.com -d cloud.domain.com&lt;br /&gt;
 &lt;br /&gt;
--&amp;gt; only lasts 90 days&lt;br /&gt;
&lt;br /&gt;
*gegebenenfall das Paket cron installieren&lt;br /&gt;
 install crontab&lt;br /&gt;
 crontab -e&lt;br /&gt;
 40 3 * * 0 letsencrypt renew &amp;gt;&amp;gt; /var/log/letsencrypt-renew.log &amp;amp;&amp;amp; service apache2 reload &amp;gt; /dev/null 2&amp;gt;&amp;amp;1&lt;br /&gt;
&lt;br /&gt;
--&amp;gt; Domain ansurfen und Einrichtung abschließen&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--------------------&lt;br /&gt;
&lt;br /&gt;
Abschliessende Änderungen:&lt;br /&gt;
&lt;br /&gt;
*Erweitern der Datei : /etc/apache2/sites-available/nextcloud-le-ssl.conf um folgenden Eintrag&lt;br /&gt;
&lt;br /&gt;
 Strict-Transport-Security:&lt;br /&gt;
  &amp;lt;VirtualHost *:443&amp;gt;&lt;br /&gt;
  ServerName cloud.nextcloud.com&lt;br /&gt;
	&amp;lt;IfModule mod_headers.c&amp;gt;&lt;br /&gt;
	  Header always set Strict-Transport-Security &amp;quot;max-age=15552000; includeSubDomains&amp;quot;&lt;br /&gt;
	&amp;lt;/IfModule&amp;gt;&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Erweitern der Einstellungen in der Datein  /var/www/nextcloud/config/config.php um folgenden Eintrag&lt;br /&gt;
 'default_phone_region' =&amp;gt; 'DE',&lt;br /&gt;
	&lt;br /&gt;
(bei einer Snap Installation unter Ubuntu 20.04 liegt die Datei unter /var/snap/nextcloud/current/config/config.php)&lt;/div&gt;</summary>
		<author><name>Guenter</name></author>
	</entry>
	<entry>
		<id>https://wiki.stoehr-hermaringen.de/index.php?title=Installation_Nextcloud_unter_Ubuntu_22.04_LTS&amp;diff=96</id>
		<title>Installation Nextcloud unter Ubuntu 22.04 LTS</title>
		<link rel="alternate" type="text/html" href="https://wiki.stoehr-hermaringen.de/index.php?title=Installation_Nextcloud_unter_Ubuntu_22.04_LTS&amp;diff=96"/>
		<updated>2023-05-10T06:05:55Z</updated>

		<summary type="html">&lt;p&gt;Guenter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*create new conf&lt;br /&gt;
 nano /etc/apache2/sites-available/nextcloud.conf&lt;br /&gt;
 &amp;lt;VirtualHost *:80&amp;gt;&lt;br /&gt;
  ServerAdmin master@domain.com&lt;br /&gt;
  DocumentRoot /var/www/nextcloud/&lt;br /&gt;
  ServerName demo.domain.com&lt;br /&gt;
  ServerAlias www.demo.domain.com&lt;br /&gt;
  &lt;br /&gt;
  Alias /nextcloud &amp;quot;/var/www/nextcloud/&amp;quot;&lt;br /&gt;
  &amp;lt;Directory /var/www/nextcloud/&amp;gt;&lt;br /&gt;
   Options +FollowSymlinks&lt;br /&gt;
   AllowOverride All&lt;br /&gt;
   Require all granted&lt;br /&gt;
   &amp;lt;IfModule mod_dav.c&amp;gt;&lt;br /&gt;
	 Dav off&lt;br /&gt;
    &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
    SetEnv HOME /var/www/nextcloud&lt;br /&gt;
	SetEnv HTTP_HOME /var/www/nextcloud&lt;br /&gt;
  &amp;lt;/Directory&amp;gt;&lt;br /&gt;
	 ErrorLog ${APACHE_LOG_DIR}/error.log&lt;br /&gt;
	 CustomLog ${APACHE_LOG_DIR}/access.log combined&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Diese Anleistung basiert auf folgender Anleitung:  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[https://apfelcast.com/nextcloud-25-auf-linux-server-ubuntu-22-04-installieren-einfache-anleitung/]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Die beiden zusätzlichen Änderungen am Schuss ergeben sich nach dem überprüfen der Einstellungen in Nextcloud.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--------------------&lt;br /&gt;
&lt;br /&gt;
Nextcloud 25 Installation auf Basis Ubuntu 22.04 LTS&lt;br /&gt;
-------------------&lt;br /&gt;
&lt;br /&gt;
*Betriebsystem auf aktuellen Stand bringen&lt;br /&gt;
 apt update &amp;amp;&amp;amp; apt upgrade -y&lt;br /&gt;
&lt;br /&gt;
*Installion apache&lt;br /&gt;
 apt install apache2&lt;br /&gt;
&lt;br /&gt;
*Installion PHP 8.1 &lt;br /&gt;
 apt install software-properties-common&lt;br /&gt;
 add-apt-repository ppa:ondrej/php&lt;br /&gt;
 apt update&lt;br /&gt;
&lt;br /&gt;
*Installion PHP 8.1 &amp;amp; Module&lt;br /&gt;
 apt install php8.1 libapache2-mod-php8.1 php8.1-zip php-dompdf php8.1-xml php8.1-mbstring php8.1-gd php8.1-curl php8.1-imagick libmagickcore-6.q16-6-extra php8.1-intl php8.1-bcmath php8.1-gmp php8.1-cli php8.1-mysql php8.1-zip php8.1-gd  php8.1-mbstring php8.1-curl php8.1-xml php-pear unzip nano php8.1-apcu redis-server ufw php8.1-redis&lt;br /&gt;
&lt;br /&gt;
*anpassen der PHP.ini Datei&lt;br /&gt;
 nano /etc/php/8.1/apache2/php.ini&lt;br /&gt;
&lt;br /&gt;
 memory_limit = 1024M&lt;br /&gt;
 upload_max_filesize = 16G&lt;br /&gt;
 post_max_size = 16G&lt;br /&gt;
 date.timezone = Europe/Berlin&lt;br /&gt;
 output_buffering = Off&lt;br /&gt;
&lt;br /&gt;
*Installation Datenbank Server&lt;br /&gt;
 apt install mariadb-server&lt;br /&gt;
&lt;br /&gt;
*Maria DB Server Konfiguration&lt;br /&gt;
 mysql_secure_installation&lt;br /&gt;
&lt;br /&gt;
*öffnen SQL Dialog&lt;br /&gt;
 mysql&lt;br /&gt;
&lt;br /&gt;
*create database calles nextcloud&lt;br /&gt;
 CREATE DATABASE nextcloud; &lt;br /&gt;
&lt;br /&gt;
*create database user with password&lt;br /&gt;
 CREATE USER 'nextclouduser'@'localhost' IDENTIFIED BY 'password_here';&lt;br /&gt;
&lt;br /&gt;
*grant accesss to databse&lt;br /&gt;
 GRANT ALL PRIVILEGES ON nextcloud.* TO 'nextclouduser'@'localhost';&lt;br /&gt;
&lt;br /&gt;
*save changes and exit&lt;br /&gt;
 FLUSH PRIVILEGES;&lt;br /&gt;
 EXIT;&lt;br /&gt;
&lt;br /&gt;
*Download lastest nextcloud version&lt;br /&gt;
 cd /tmp &amp;amp;&amp;amp; wget https://download.nextcloud.com/server/releases/latest.zip&lt;br /&gt;
 unzip latest.zip&lt;br /&gt;
 mv nextcloud /var/www/&lt;br /&gt;
&lt;br /&gt;
*create new conf&lt;br /&gt;
 nano /etc/apache2/sites-available/nextcloud.conf&lt;br /&gt;
 &amp;lt;VirtualHost *:80&amp;gt;&lt;br /&gt;
	 ServerAdmin master@domain.com&lt;br /&gt;
	 DocumentRoot /var/www/nextcloud/&lt;br /&gt;
	 ServerName demo.domain.com&lt;br /&gt;
	 ServerAlias www.demo.domain.com&lt;br /&gt;
  &lt;br /&gt;
	 Alias /nextcloud &amp;quot;/var/www/nextcloud/&amp;quot;&lt;br /&gt;
	 &amp;lt;Directory /var/www/nextcloud/&amp;gt;&lt;br /&gt;
		Options +FollowSymlinks&lt;br /&gt;
		AllowOverride All&lt;br /&gt;
		Require all granted&lt;br /&gt;
		  &amp;lt;IfModule mod_dav.c&amp;gt;&lt;br /&gt;
			Dav off&lt;br /&gt;
		  &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
		SetEnv HOME /var/www/nextcloud&lt;br /&gt;
		SetEnv HTTP_HOME /var/www/nextcloud&lt;br /&gt;
	 &amp;lt;/Directory&amp;gt;&lt;br /&gt;
	 ErrorLog ${APACHE_LOG_DIR}/error.log&lt;br /&gt;
	 CustomLog ${APACHE_LOG_DIR}/access.log combined&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Enable the NextCloud and Rewrite Module&lt;br /&gt;
 a2ensite nextcloud.conf&lt;br /&gt;
 a2enmod rewrite&lt;br /&gt;
 a2enmod headers&lt;br /&gt;
 a2enmod env&lt;br /&gt;
 a2enmod dir&lt;br /&gt;
 a2enmod mime&lt;br /&gt;
&lt;br /&gt;
*restart apache&lt;br /&gt;
 service apache2 restart&lt;br /&gt;
&lt;br /&gt;
*prepare data folder&lt;br /&gt;
 mkdir /home/data/&lt;br /&gt;
 chown -R www-data:www-data /home/data/&lt;br /&gt;
&lt;br /&gt;
 chown -R www-data:www-data /var/www/nextcloud/&lt;br /&gt;
 chmod -R 755 /var/www/nextcloud/&lt;br /&gt;
&lt;br /&gt;
*install certbot and create Let's Encrypt SSL-Certificate&lt;br /&gt;
 apt install certbot python3-certbot-apache&lt;br /&gt;
&lt;br /&gt;
 certbot --apache -m master@domain.com -d cloud.domain.com&lt;br /&gt;
 &lt;br /&gt;
--&amp;gt; only lasts 90 days&lt;br /&gt;
&lt;br /&gt;
*gegebenenfall das Paket cron installieren&lt;br /&gt;
 install crontab&lt;br /&gt;
 crontab -e&lt;br /&gt;
 40 3 * * 0 letsencrypt renew &amp;gt;&amp;gt; /var/log/letsencrypt-renew.log &amp;amp;&amp;amp; service apache2 reload &amp;gt; /dev/null 2&amp;gt;&amp;amp;1&lt;br /&gt;
&lt;br /&gt;
--&amp;gt; Domain ansurfen und Einrichtung abschließen&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--------------------&lt;br /&gt;
&lt;br /&gt;
Abschliessende Änderungen:&lt;br /&gt;
&lt;br /&gt;
*Erweitern der Datei : /etc/apache2/sites-available/nextcloud-le-ssl.conf um folgenden Eintrag&lt;br /&gt;
&lt;br /&gt;
 Strict-Transport-Security:&lt;br /&gt;
  &amp;lt;VirtualHost *:443&amp;gt;&lt;br /&gt;
  ServerName cloud.nextcloud.com&lt;br /&gt;
	&amp;lt;IfModule mod_headers.c&amp;gt;&lt;br /&gt;
	  Header always set Strict-Transport-Security &amp;quot;max-age=15552000; includeSubDomains&amp;quot;&lt;br /&gt;
	&amp;lt;/IfModule&amp;gt;&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Erweitern der Einstellungen in der Datein  /var/www/nextcloud/config/config.php um folgenden Eintrag&lt;br /&gt;
 'default_phone_region' =&amp;gt; 'DE',&lt;br /&gt;
	&lt;br /&gt;
(bei einer Snap Installation unter Ubuntu 20.04 liegt die Datei unter /var/snap/nextcloud/current/config/config.php)&lt;/div&gt;</summary>
		<author><name>Guenter</name></author>
	</entry>
	<entry>
		<id>https://wiki.stoehr-hermaringen.de/index.php?title=Installation_Nextcloud_unter_Ubuntu_22.04_LTS&amp;diff=95</id>
		<title>Installation Nextcloud unter Ubuntu 22.04 LTS</title>
		<link rel="alternate" type="text/html" href="https://wiki.stoehr-hermaringen.de/index.php?title=Installation_Nextcloud_unter_Ubuntu_22.04_LTS&amp;diff=95"/>
		<updated>2023-05-10T06:04:54Z</updated>

		<summary type="html">&lt;p&gt;Guenter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*create new conf&lt;br /&gt;
 nano /etc/apache2/sites-available/nextcloud.conf&lt;br /&gt;
 &amp;lt;VirtualHost *:80&amp;gt;&lt;br /&gt;
  ServerAdmin master@domain.com&lt;br /&gt;
  DocumentRoot /var/www/nextcloud/&lt;br /&gt;
  ServerName demo.domain.com&lt;br /&gt;
  ServerAlias www.demo.domain.com&lt;br /&gt;
  &lt;br /&gt;
  Alias /nextcloud &amp;quot;/var/www/nextcloud/&amp;quot;&lt;br /&gt;
  &amp;lt;Directory /var/www/nextcloud/&amp;gt;&lt;br /&gt;
	Options +FollowSymlinks&lt;br /&gt;
	AllowOverride All&lt;br /&gt;
	Require all granted&lt;br /&gt;
    &amp;lt;IfModule mod_dav.c&amp;gt;&lt;br /&gt;
	 Dav off&lt;br /&gt;
    &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
    SetEnv HOME /var/www/nextcloud&lt;br /&gt;
	SetEnv HTTP_HOME /var/www/nextcloud&lt;br /&gt;
  &amp;lt;/Directory&amp;gt;&lt;br /&gt;
	 ErrorLog ${APACHE_LOG_DIR}/error.log&lt;br /&gt;
	 CustomLog ${APACHE_LOG_DIR}/access.log combined&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Diese Anleistung basiert auf folgender Anleitung:  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[https://apfelcast.com/nextcloud-25-auf-linux-server-ubuntu-22-04-installieren-einfache-anleitung/]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Die beiden zusätzlichen Änderungen am Schuss ergeben sich nach dem überprüfen der Einstellungen in Nextcloud.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--------------------&lt;br /&gt;
&lt;br /&gt;
Nextcloud 25 Installation auf Basis Ubuntu 22.04 LTS&lt;br /&gt;
-------------------&lt;br /&gt;
&lt;br /&gt;
*Betriebsystem auf aktuellen Stand bringen&lt;br /&gt;
 apt update &amp;amp;&amp;amp; apt upgrade -y&lt;br /&gt;
&lt;br /&gt;
*Installion apache&lt;br /&gt;
 apt install apache2&lt;br /&gt;
&lt;br /&gt;
*Installion PHP 8.1 &lt;br /&gt;
 apt install software-properties-common&lt;br /&gt;
 add-apt-repository ppa:ondrej/php&lt;br /&gt;
 apt update&lt;br /&gt;
&lt;br /&gt;
*Installion PHP 8.1 &amp;amp; Module&lt;br /&gt;
 apt install php8.1 libapache2-mod-php8.1 php8.1-zip php-dompdf php8.1-xml php8.1-mbstring php8.1-gd php8.1-curl php8.1-imagick libmagickcore-6.q16-6-extra php8.1-intl php8.1-bcmath php8.1-gmp php8.1-cli php8.1-mysql php8.1-zip php8.1-gd  php8.1-mbstring php8.1-curl php8.1-xml php-pear unzip nano php8.1-apcu redis-server ufw php8.1-redis&lt;br /&gt;
&lt;br /&gt;
*anpassen der PHP.ini Datei&lt;br /&gt;
 nano /etc/php/8.1/apache2/php.ini&lt;br /&gt;
&lt;br /&gt;
 memory_limit = 1024M&lt;br /&gt;
 upload_max_filesize = 16G&lt;br /&gt;
 post_max_size = 16G&lt;br /&gt;
 date.timezone = Europe/Berlin&lt;br /&gt;
 output_buffering = Off&lt;br /&gt;
&lt;br /&gt;
*Installation Datenbank Server&lt;br /&gt;
 apt install mariadb-server&lt;br /&gt;
&lt;br /&gt;
*Maria DB Server Konfiguration&lt;br /&gt;
 mysql_secure_installation&lt;br /&gt;
&lt;br /&gt;
*öffnen SQL Dialog&lt;br /&gt;
 mysql&lt;br /&gt;
&lt;br /&gt;
*create database calles nextcloud&lt;br /&gt;
 CREATE DATABASE nextcloud; &lt;br /&gt;
&lt;br /&gt;
*create database user with password&lt;br /&gt;
 CREATE USER 'nextclouduser'@'localhost' IDENTIFIED BY 'password_here';&lt;br /&gt;
&lt;br /&gt;
*grant accesss to databse&lt;br /&gt;
 GRANT ALL PRIVILEGES ON nextcloud.* TO 'nextclouduser'@'localhost';&lt;br /&gt;
&lt;br /&gt;
*save changes and exit&lt;br /&gt;
 FLUSH PRIVILEGES;&lt;br /&gt;
 EXIT;&lt;br /&gt;
&lt;br /&gt;
*Download lastest nextcloud version&lt;br /&gt;
 cd /tmp &amp;amp;&amp;amp; wget https://download.nextcloud.com/server/releases/latest.zip&lt;br /&gt;
 unzip latest.zip&lt;br /&gt;
 mv nextcloud /var/www/&lt;br /&gt;
&lt;br /&gt;
*create new conf&lt;br /&gt;
 nano /etc/apache2/sites-available/nextcloud.conf&lt;br /&gt;
 &amp;lt;VirtualHost *:80&amp;gt;&lt;br /&gt;
	 ServerAdmin master@domain.com&lt;br /&gt;
	 DocumentRoot /var/www/nextcloud/&lt;br /&gt;
	 ServerName demo.domain.com&lt;br /&gt;
	 ServerAlias www.demo.domain.com&lt;br /&gt;
  &lt;br /&gt;
	 Alias /nextcloud &amp;quot;/var/www/nextcloud/&amp;quot;&lt;br /&gt;
	 &amp;lt;Directory /var/www/nextcloud/&amp;gt;&lt;br /&gt;
		Options +FollowSymlinks&lt;br /&gt;
		AllowOverride All&lt;br /&gt;
		Require all granted&lt;br /&gt;
		  &amp;lt;IfModule mod_dav.c&amp;gt;&lt;br /&gt;
			Dav off&lt;br /&gt;
		  &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
		SetEnv HOME /var/www/nextcloud&lt;br /&gt;
		SetEnv HTTP_HOME /var/www/nextcloud&lt;br /&gt;
	 &amp;lt;/Directory&amp;gt;&lt;br /&gt;
	 ErrorLog ${APACHE_LOG_DIR}/error.log&lt;br /&gt;
	 CustomLog ${APACHE_LOG_DIR}/access.log combined&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Enable the NextCloud and Rewrite Module&lt;br /&gt;
 a2ensite nextcloud.conf&lt;br /&gt;
 a2enmod rewrite&lt;br /&gt;
 a2enmod headers&lt;br /&gt;
 a2enmod env&lt;br /&gt;
 a2enmod dir&lt;br /&gt;
 a2enmod mime&lt;br /&gt;
&lt;br /&gt;
*restart apache&lt;br /&gt;
 service apache2 restart&lt;br /&gt;
&lt;br /&gt;
*prepare data folder&lt;br /&gt;
 mkdir /home/data/&lt;br /&gt;
 chown -R www-data:www-data /home/data/&lt;br /&gt;
&lt;br /&gt;
 chown -R www-data:www-data /var/www/nextcloud/&lt;br /&gt;
 chmod -R 755 /var/www/nextcloud/&lt;br /&gt;
&lt;br /&gt;
*install certbot and create Let's Encrypt SSL-Certificate&lt;br /&gt;
 apt install certbot python3-certbot-apache&lt;br /&gt;
&lt;br /&gt;
 certbot --apache -m master@domain.com -d cloud.domain.com&lt;br /&gt;
 &lt;br /&gt;
--&amp;gt; only lasts 90 days&lt;br /&gt;
&lt;br /&gt;
*gegebenenfall das Paket cron installieren&lt;br /&gt;
 install crontab&lt;br /&gt;
 crontab -e&lt;br /&gt;
 40 3 * * 0 letsencrypt renew &amp;gt;&amp;gt; /var/log/letsencrypt-renew.log &amp;amp;&amp;amp; service apache2 reload &amp;gt; /dev/null 2&amp;gt;&amp;amp;1&lt;br /&gt;
&lt;br /&gt;
--&amp;gt; Domain ansurfen und Einrichtung abschließen&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--------------------&lt;br /&gt;
&lt;br /&gt;
Abschliessende Änderungen:&lt;br /&gt;
&lt;br /&gt;
*Erweitern der Datei : /etc/apache2/sites-available/nextcloud-le-ssl.conf um folgenden Eintrag&lt;br /&gt;
&lt;br /&gt;
 Strict-Transport-Security:&lt;br /&gt;
  &amp;lt;VirtualHost *:443&amp;gt;&lt;br /&gt;
  ServerName cloud.nextcloud.com&lt;br /&gt;
	&amp;lt;IfModule mod_headers.c&amp;gt;&lt;br /&gt;
	  Header always set Strict-Transport-Security &amp;quot;max-age=15552000; includeSubDomains&amp;quot;&lt;br /&gt;
	&amp;lt;/IfModule&amp;gt;&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Erweitern der Einstellungen in der Datein  /var/www/nextcloud/config/config.php um folgenden Eintrag&lt;br /&gt;
 'default_phone_region' =&amp;gt; 'DE',&lt;br /&gt;
	&lt;br /&gt;
(bei einer Snap Installation unter Ubuntu 20.04 liegt die Datei unter /var/snap/nextcloud/current/config/config.php)&lt;/div&gt;</summary>
		<author><name>Guenter</name></author>
	</entry>
	<entry>
		<id>https://wiki.stoehr-hermaringen.de/index.php?title=Installation_Nextcloud_unter_Ubuntu_22.04_LTS&amp;diff=94</id>
		<title>Installation Nextcloud unter Ubuntu 22.04 LTS</title>
		<link rel="alternate" type="text/html" href="https://wiki.stoehr-hermaringen.de/index.php?title=Installation_Nextcloud_unter_Ubuntu_22.04_LTS&amp;diff=94"/>
		<updated>2023-05-10T06:03:42Z</updated>

		<summary type="html">&lt;p&gt;Guenter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*create new conf&lt;br /&gt;
 nano /etc/apache2/sites-available/nextcloud.conf&lt;br /&gt;
 &amp;lt;VirtualHost *:80&amp;gt;&lt;br /&gt;
  ServerAdmin master@domain.com&lt;br /&gt;
	 DocumentRoot /var/www/nextcloud/&lt;br /&gt;
	 ServerName demo.domain.com&lt;br /&gt;
	 ServerAlias www.demo.domain.com&lt;br /&gt;
  &lt;br /&gt;
	 Alias /nextcloud &amp;quot;/var/www/nextcloud/&amp;quot;&lt;br /&gt;
	 &amp;lt;Directory /var/www/nextcloud/&amp;gt;&lt;br /&gt;
		Options +FollowSymlinks&lt;br /&gt;
		AllowOverride All&lt;br /&gt;
		Require all granted&lt;br /&gt;
		  &amp;lt;IfModule mod_dav.c&amp;gt;&lt;br /&gt;
			Dav off&lt;br /&gt;
		  &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
		SetEnv HOME /var/www/nextcloud&lt;br /&gt;
		SetEnv HTTP_HOME /var/www/nextcloud&lt;br /&gt;
	 &amp;lt;/Directory&amp;gt;&lt;br /&gt;
	 ErrorLog ${APACHE_LOG_DIR}/error.log&lt;br /&gt;
	 CustomLog ${APACHE_LOG_DIR}/access.log combined&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Diese Anleistung basiert auf folgender Anleitung:  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[https://apfelcast.com/nextcloud-25-auf-linux-server-ubuntu-22-04-installieren-einfache-anleitung/]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Die beiden zusätzlichen Änderungen am Schuss ergeben sich nach dem überprüfen der Einstellungen in Nextcloud.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--------------------&lt;br /&gt;
&lt;br /&gt;
Nextcloud 25 Installation auf Basis Ubuntu 22.04 LTS&lt;br /&gt;
-------------------&lt;br /&gt;
&lt;br /&gt;
*Betriebsystem auf aktuellen Stand bringen&lt;br /&gt;
 apt update &amp;amp;&amp;amp; apt upgrade -y&lt;br /&gt;
&lt;br /&gt;
*Installion apache&lt;br /&gt;
 apt install apache2&lt;br /&gt;
&lt;br /&gt;
*Installion PHP 8.1 &lt;br /&gt;
 apt install software-properties-common&lt;br /&gt;
 add-apt-repository ppa:ondrej/php&lt;br /&gt;
 apt update&lt;br /&gt;
&lt;br /&gt;
*Installion PHP 8.1 &amp;amp; Module&lt;br /&gt;
 apt install php8.1 libapache2-mod-php8.1 php8.1-zip php-dompdf php8.1-xml php8.1-mbstring php8.1-gd php8.1-curl php8.1-imagick libmagickcore-6.q16-6-extra php8.1-intl php8.1-bcmath php8.1-gmp php8.1-cli php8.1-mysql php8.1-zip php8.1-gd  php8.1-mbstring php8.1-curl php8.1-xml php-pear unzip nano php8.1-apcu redis-server ufw php8.1-redis&lt;br /&gt;
&lt;br /&gt;
*anpassen der PHP.ini Datei&lt;br /&gt;
 nano /etc/php/8.1/apache2/php.ini&lt;br /&gt;
&lt;br /&gt;
 memory_limit = 1024M&lt;br /&gt;
 upload_max_filesize = 16G&lt;br /&gt;
 post_max_size = 16G&lt;br /&gt;
 date.timezone = Europe/Berlin&lt;br /&gt;
 output_buffering = Off&lt;br /&gt;
&lt;br /&gt;
*Installation Datenbank Server&lt;br /&gt;
 apt install mariadb-server&lt;br /&gt;
&lt;br /&gt;
*Maria DB Server Konfiguration&lt;br /&gt;
 mysql_secure_installation&lt;br /&gt;
&lt;br /&gt;
*öffnen SQL Dialog&lt;br /&gt;
 mysql&lt;br /&gt;
&lt;br /&gt;
*create database calles nextcloud&lt;br /&gt;
 CREATE DATABASE nextcloud; &lt;br /&gt;
&lt;br /&gt;
*create database user with password&lt;br /&gt;
 CREATE USER 'nextclouduser'@'localhost' IDENTIFIED BY 'password_here';&lt;br /&gt;
&lt;br /&gt;
*grant accesss to databse&lt;br /&gt;
 GRANT ALL PRIVILEGES ON nextcloud.* TO 'nextclouduser'@'localhost';&lt;br /&gt;
&lt;br /&gt;
*save changes and exit&lt;br /&gt;
 FLUSH PRIVILEGES;&lt;br /&gt;
 EXIT;&lt;br /&gt;
&lt;br /&gt;
*Download lastest nextcloud version&lt;br /&gt;
 cd /tmp &amp;amp;&amp;amp; wget https://download.nextcloud.com/server/releases/latest.zip&lt;br /&gt;
 unzip latest.zip&lt;br /&gt;
 mv nextcloud /var/www/&lt;br /&gt;
&lt;br /&gt;
*create new conf&lt;br /&gt;
 nano /etc/apache2/sites-available/nextcloud.conf&lt;br /&gt;
 &amp;lt;VirtualHost *:80&amp;gt;&lt;br /&gt;
	 ServerAdmin master@domain.com&lt;br /&gt;
	 DocumentRoot /var/www/nextcloud/&lt;br /&gt;
	 ServerName demo.domain.com&lt;br /&gt;
	 ServerAlias www.demo.domain.com&lt;br /&gt;
  &lt;br /&gt;
	 Alias /nextcloud &amp;quot;/var/www/nextcloud/&amp;quot;&lt;br /&gt;
	 &amp;lt;Directory /var/www/nextcloud/&amp;gt;&lt;br /&gt;
		Options +FollowSymlinks&lt;br /&gt;
		AllowOverride All&lt;br /&gt;
		Require all granted&lt;br /&gt;
		  &amp;lt;IfModule mod_dav.c&amp;gt;&lt;br /&gt;
			Dav off&lt;br /&gt;
		  &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
		SetEnv HOME /var/www/nextcloud&lt;br /&gt;
		SetEnv HTTP_HOME /var/www/nextcloud&lt;br /&gt;
	 &amp;lt;/Directory&amp;gt;&lt;br /&gt;
	 ErrorLog ${APACHE_LOG_DIR}/error.log&lt;br /&gt;
	 CustomLog ${APACHE_LOG_DIR}/access.log combined&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Enable the NextCloud and Rewrite Module&lt;br /&gt;
 a2ensite nextcloud.conf&lt;br /&gt;
 a2enmod rewrite&lt;br /&gt;
 a2enmod headers&lt;br /&gt;
 a2enmod env&lt;br /&gt;
 a2enmod dir&lt;br /&gt;
 a2enmod mime&lt;br /&gt;
&lt;br /&gt;
*restart apache&lt;br /&gt;
 service apache2 restart&lt;br /&gt;
&lt;br /&gt;
*prepare data folder&lt;br /&gt;
 mkdir /home/data/&lt;br /&gt;
 chown -R www-data:www-data /home/data/&lt;br /&gt;
&lt;br /&gt;
 chown -R www-data:www-data /var/www/nextcloud/&lt;br /&gt;
 chmod -R 755 /var/www/nextcloud/&lt;br /&gt;
&lt;br /&gt;
*install certbot and create Let's Encrypt SSL-Certificate&lt;br /&gt;
 apt install certbot python3-certbot-apache&lt;br /&gt;
&lt;br /&gt;
 certbot --apache -m master@domain.com -d cloud.domain.com&lt;br /&gt;
 &lt;br /&gt;
--&amp;gt; only lasts 90 days&lt;br /&gt;
&lt;br /&gt;
*gegebenenfall das Paket cron installieren&lt;br /&gt;
 install crontab&lt;br /&gt;
 crontab -e&lt;br /&gt;
 40 3 * * 0 letsencrypt renew &amp;gt;&amp;gt; /var/log/letsencrypt-renew.log &amp;amp;&amp;amp; service apache2 reload &amp;gt; /dev/null 2&amp;gt;&amp;amp;1&lt;br /&gt;
&lt;br /&gt;
--&amp;gt; Domain ansurfen und Einrichtung abschließen&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--------------------&lt;br /&gt;
&lt;br /&gt;
Abschliessende Änderungen:&lt;br /&gt;
&lt;br /&gt;
*Erweitern der Datei : /etc/apache2/sites-available/nextcloud-le-ssl.conf um folgenden Eintrag&lt;br /&gt;
&lt;br /&gt;
 Strict-Transport-Security:&lt;br /&gt;
  &amp;lt;VirtualHost *:443&amp;gt;&lt;br /&gt;
  ServerName cloud.nextcloud.com&lt;br /&gt;
	&amp;lt;IfModule mod_headers.c&amp;gt;&lt;br /&gt;
	  Header always set Strict-Transport-Security &amp;quot;max-age=15552000; includeSubDomains&amp;quot;&lt;br /&gt;
	&amp;lt;/IfModule&amp;gt;&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Erweitern der Einstellungen in der Datein  /var/www/nextcloud/config/config.php um folgenden Eintrag&lt;br /&gt;
 'default_phone_region' =&amp;gt; 'DE',&lt;br /&gt;
	&lt;br /&gt;
(bei einer Snap Installation unter Ubuntu 20.04 liegt die Datei unter /var/snap/nextcloud/current/config/config.php)&lt;/div&gt;</summary>
		<author><name>Guenter</name></author>
	</entry>
	<entry>
		<id>https://wiki.stoehr-hermaringen.de/index.php?title=Installation_Nextcloud_unter_Ubuntu_22.04_LTS&amp;diff=93</id>
		<title>Installation Nextcloud unter Ubuntu 22.04 LTS</title>
		<link rel="alternate" type="text/html" href="https://wiki.stoehr-hermaringen.de/index.php?title=Installation_Nextcloud_unter_Ubuntu_22.04_LTS&amp;diff=93"/>
		<updated>2023-05-10T06:03:11Z</updated>

		<summary type="html">&lt;p&gt;Guenter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*create new conf&lt;br /&gt;
 nano /etc/apache2/sites-available/nextcloud.conf&lt;br /&gt;
 &amp;lt;VirtualHost *:80&amp;gt;&lt;br /&gt;
	 ServerAdmin master@domain.com&lt;br /&gt;
	 DocumentRoot /var/www/nextcloud/&lt;br /&gt;
	 ServerName demo.domain.com&lt;br /&gt;
	 ServerAlias www.demo.domain.com&lt;br /&gt;
  &lt;br /&gt;
	 Alias /nextcloud &amp;quot;/var/www/nextcloud/&amp;quot;&lt;br /&gt;
	 &amp;lt;Directory /var/www/nextcloud/&amp;gt;&lt;br /&gt;
		Options +FollowSymlinks&lt;br /&gt;
		AllowOverride All&lt;br /&gt;
		Require all granted&lt;br /&gt;
		  &amp;lt;IfModule mod_dav.c&amp;gt;&lt;br /&gt;
			Dav off&lt;br /&gt;
		  &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
		SetEnv HOME /var/www/nextcloud&lt;br /&gt;
		SetEnv HTTP_HOME /var/www/nextcloud&lt;br /&gt;
	 &amp;lt;/Directory&amp;gt;&lt;br /&gt;
	 ErrorLog ${APACHE_LOG_DIR}/error.log&lt;br /&gt;
	 CustomLog ${APACHE_LOG_DIR}/access.log combined&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Diese Anleistung basiert auf folgender Anleitung:  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[https://apfelcast.com/nextcloud-25-auf-linux-server-ubuntu-22-04-installieren-einfache-anleitung/]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Die beiden zusätzlichen Änderungen am Schuss ergeben sich nach dem überprüfen der Einstellungen in Nextcloud.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--------------------&lt;br /&gt;
&lt;br /&gt;
Nextcloud 25 Installation auf Basis Ubuntu 22.04 LTS&lt;br /&gt;
-------------------&lt;br /&gt;
&lt;br /&gt;
*Betriebsystem auf aktuellen Stand bringen&lt;br /&gt;
 apt update &amp;amp;&amp;amp; apt upgrade -y&lt;br /&gt;
&lt;br /&gt;
*Installion apache&lt;br /&gt;
 apt install apache2&lt;br /&gt;
&lt;br /&gt;
*Installion PHP 8.1 &lt;br /&gt;
 apt install software-properties-common&lt;br /&gt;
 add-apt-repository ppa:ondrej/php&lt;br /&gt;
 apt update&lt;br /&gt;
&lt;br /&gt;
*Installion PHP 8.1 &amp;amp; Module&lt;br /&gt;
 apt install php8.1 libapache2-mod-php8.1 php8.1-zip php-dompdf php8.1-xml php8.1-mbstring php8.1-gd php8.1-curl php8.1-imagick libmagickcore-6.q16-6-extra php8.1-intl php8.1-bcmath php8.1-gmp php8.1-cli php8.1-mysql php8.1-zip php8.1-gd  php8.1-mbstring php8.1-curl php8.1-xml php-pear unzip nano php8.1-apcu redis-server ufw php8.1-redis&lt;br /&gt;
&lt;br /&gt;
*anpassen der PHP.ini Datei&lt;br /&gt;
 nano /etc/php/8.1/apache2/php.ini&lt;br /&gt;
&lt;br /&gt;
 memory_limit = 1024M&lt;br /&gt;
 upload_max_filesize = 16G&lt;br /&gt;
 post_max_size = 16G&lt;br /&gt;
 date.timezone = Europe/Berlin&lt;br /&gt;
 output_buffering = Off&lt;br /&gt;
&lt;br /&gt;
*Installation Datenbank Server&lt;br /&gt;
 apt install mariadb-server&lt;br /&gt;
&lt;br /&gt;
*Maria DB Server Konfiguration&lt;br /&gt;
 mysql_secure_installation&lt;br /&gt;
&lt;br /&gt;
*öffnen SQL Dialog&lt;br /&gt;
 mysql&lt;br /&gt;
&lt;br /&gt;
*create database calles nextcloud&lt;br /&gt;
 CREATE DATABASE nextcloud; &lt;br /&gt;
&lt;br /&gt;
*create database user with password&lt;br /&gt;
 CREATE USER 'nextclouduser'@'localhost' IDENTIFIED BY 'password_here';&lt;br /&gt;
&lt;br /&gt;
*grant accesss to databse&lt;br /&gt;
 GRANT ALL PRIVILEGES ON nextcloud.* TO 'nextclouduser'@'localhost';&lt;br /&gt;
&lt;br /&gt;
*save changes and exit&lt;br /&gt;
 FLUSH PRIVILEGES;&lt;br /&gt;
 EXIT;&lt;br /&gt;
&lt;br /&gt;
*Download lastest nextcloud version&lt;br /&gt;
 cd /tmp &amp;amp;&amp;amp; wget https://download.nextcloud.com/server/releases/latest.zip&lt;br /&gt;
 unzip latest.zip&lt;br /&gt;
 mv nextcloud /var/www/&lt;br /&gt;
&lt;br /&gt;
*create new conf&lt;br /&gt;
 nano /etc/apache2/sites-available/nextcloud.conf&lt;br /&gt;
 &amp;lt;VirtualHost *:80&amp;gt;&lt;br /&gt;
	 ServerAdmin master@domain.com&lt;br /&gt;
	 DocumentRoot /var/www/nextcloud/&lt;br /&gt;
	 ServerName demo.domain.com&lt;br /&gt;
	 ServerAlias www.demo.domain.com&lt;br /&gt;
  &lt;br /&gt;
	 Alias /nextcloud &amp;quot;/var/www/nextcloud/&amp;quot;&lt;br /&gt;
	 &amp;lt;Directory /var/www/nextcloud/&amp;gt;&lt;br /&gt;
		Options +FollowSymlinks&lt;br /&gt;
		AllowOverride All&lt;br /&gt;
		Require all granted&lt;br /&gt;
		  &amp;lt;IfModule mod_dav.c&amp;gt;&lt;br /&gt;
			Dav off&lt;br /&gt;
		  &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
		SetEnv HOME /var/www/nextcloud&lt;br /&gt;
		SetEnv HTTP_HOME /var/www/nextcloud&lt;br /&gt;
	 &amp;lt;/Directory&amp;gt;&lt;br /&gt;
	 ErrorLog ${APACHE_LOG_DIR}/error.log&lt;br /&gt;
	 CustomLog ${APACHE_LOG_DIR}/access.log combined&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Enable the NextCloud and Rewrite Module&lt;br /&gt;
 a2ensite nextcloud.conf&lt;br /&gt;
 a2enmod rewrite&lt;br /&gt;
 a2enmod headers&lt;br /&gt;
 a2enmod env&lt;br /&gt;
 a2enmod dir&lt;br /&gt;
 a2enmod mime&lt;br /&gt;
&lt;br /&gt;
*restart apache&lt;br /&gt;
 service apache2 restart&lt;br /&gt;
&lt;br /&gt;
*prepare data folder&lt;br /&gt;
 mkdir /home/data/&lt;br /&gt;
 chown -R www-data:www-data /home/data/&lt;br /&gt;
&lt;br /&gt;
 chown -R www-data:www-data /var/www/nextcloud/&lt;br /&gt;
 chmod -R 755 /var/www/nextcloud/&lt;br /&gt;
&lt;br /&gt;
*install certbot and create Let's Encrypt SSL-Certificate&lt;br /&gt;
 apt install certbot python3-certbot-apache&lt;br /&gt;
&lt;br /&gt;
 certbot --apache -m master@domain.com -d cloud.domain.com&lt;br /&gt;
 &lt;br /&gt;
--&amp;gt; only lasts 90 days&lt;br /&gt;
&lt;br /&gt;
*gegebenenfall das Paket cron installieren&lt;br /&gt;
 install crontab&lt;br /&gt;
 crontab -e&lt;br /&gt;
 40 3 * * 0 letsencrypt renew &amp;gt;&amp;gt; /var/log/letsencrypt-renew.log &amp;amp;&amp;amp; service apache2 reload &amp;gt; /dev/null 2&amp;gt;&amp;amp;1&lt;br /&gt;
&lt;br /&gt;
--&amp;gt; Domain ansurfen und Einrichtung abschließen&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--------------------&lt;br /&gt;
&lt;br /&gt;
Abschliessende Änderungen:&lt;br /&gt;
&lt;br /&gt;
*Erweitern der Datei : /etc/apache2/sites-available/nextcloud-le-ssl.conf um folgenden Eintrag&lt;br /&gt;
&lt;br /&gt;
 Strict-Transport-Security:&lt;br /&gt;
  &amp;lt;VirtualHost *:443&amp;gt;&lt;br /&gt;
  ServerName cloud.nextcloud.com&lt;br /&gt;
	&amp;lt;IfModule mod_headers.c&amp;gt;&lt;br /&gt;
	  Header always set Strict-Transport-Security &amp;quot;max-age=15552000; includeSubDomains&amp;quot;&lt;br /&gt;
	&amp;lt;/IfModule&amp;gt;&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Erweitern der Einstellungen in der Datein  /var/www/nextcloud/config/config.php um folgenden Eintrag&lt;br /&gt;
 'default_phone_region' =&amp;gt; 'DE',&lt;br /&gt;
	&lt;br /&gt;
(bei einer Snap Installation unter Ubuntu 20.04 liegt die Datei unter /var/snap/nextcloud/current/config/config.php)&lt;/div&gt;</summary>
		<author><name>Guenter</name></author>
	</entry>
	<entry>
		<id>https://wiki.stoehr-hermaringen.de/index.php?title=Installation_Nextcloud_unter_Ubuntu_22.04_LTS&amp;diff=92</id>
		<title>Installation Nextcloud unter Ubuntu 22.04 LTS</title>
		<link rel="alternate" type="text/html" href="https://wiki.stoehr-hermaringen.de/index.php?title=Installation_Nextcloud_unter_Ubuntu_22.04_LTS&amp;diff=92"/>
		<updated>2023-05-10T05:59:13Z</updated>

		<summary type="html">&lt;p&gt;Guenter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Diese Anleistung basiert auf folgender Anleitung:  &lt;br /&gt;
&lt;br /&gt;
[https://apfelcast.com/nextcloud-25-auf-linux-server-ubuntu-22-04-installieren-einfache-anleitung/]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Die beiden zusätzlichen Änderungen am Schuss ergeben sich nach dem überprüfen der Einstellungen in Nextcloud.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--------------------&lt;br /&gt;
&lt;br /&gt;
Nextcloud 25 Installation auf Basis Ubuntu 22.04 LTS&lt;br /&gt;
-------------------&lt;br /&gt;
&lt;br /&gt;
*Betriebsystem auf aktuellen Stand bringen&lt;br /&gt;
 apt update &amp;amp;&amp;amp; apt upgrade -y&lt;br /&gt;
&lt;br /&gt;
*Installion apache&lt;br /&gt;
 apt install apache2&lt;br /&gt;
&lt;br /&gt;
*Installion PHP 8.1 &lt;br /&gt;
 apt install software-properties-common&lt;br /&gt;
 add-apt-repository ppa:ondrej/php&lt;br /&gt;
 apt update&lt;br /&gt;
&lt;br /&gt;
*Installion PHP 8.1 &amp;amp; Module&lt;br /&gt;
 apt install php8.1 libapache2-mod-php8.1 php8.1-zip php-dompdf php8.1-xml php8.1-mbstring php8.1-gd php8.1-curl php8.1-imagick libmagickcore-6.q16-6-extra php8.1-intl php8.1-bcmath php8.1-gmp php8.1-cli php8.1-mysql php8.1-zip php8.1-gd  php8.1-mbstring php8.1-curl php8.1-xml php-pear unzip nano php8.1-apcu redis-server ufw php8.1-redis&lt;br /&gt;
&lt;br /&gt;
*anpassen der PHP.ini Datei&lt;br /&gt;
 nano /etc/php/8.1/apache2/php.ini&lt;br /&gt;
&lt;br /&gt;
 memory_limit = 1024M&lt;br /&gt;
 upload_max_filesize = 16G&lt;br /&gt;
 post_max_size = 16G&lt;br /&gt;
 date.timezone = Europe/Berlin&lt;br /&gt;
 output_buffering = Off&lt;br /&gt;
&lt;br /&gt;
*Installation Datenbank Server&lt;br /&gt;
 apt install mariadb-server&lt;br /&gt;
&lt;br /&gt;
*Maria DB Server Konfiguration&lt;br /&gt;
 mysql_secure_installation&lt;br /&gt;
&lt;br /&gt;
*öffnen SQL Dialog&lt;br /&gt;
 mysql&lt;br /&gt;
&lt;br /&gt;
*create database calles nextcloud&lt;br /&gt;
 CREATE DATABASE nextcloud; &lt;br /&gt;
&lt;br /&gt;
*create database user with password&lt;br /&gt;
 CREATE USER 'nextclouduser'@'localhost' IDENTIFIED BY 'password_here';&lt;br /&gt;
&lt;br /&gt;
*grant accesss to databse&lt;br /&gt;
 GRANT ALL PRIVILEGES ON nextcloud.* TO 'nextclouduser'@'localhost';&lt;br /&gt;
&lt;br /&gt;
*save changes and exit&lt;br /&gt;
 FLUSH PRIVILEGES;&lt;br /&gt;
 EXIT;&lt;br /&gt;
&lt;br /&gt;
*Download lastest nextcloud version&lt;br /&gt;
 cd /tmp &amp;amp;&amp;amp; wget https://download.nextcloud.com/server/releases/latest.zip&lt;br /&gt;
 unzip latest.zip&lt;br /&gt;
 mv nextcloud /var/www/&lt;br /&gt;
&lt;br /&gt;
*create new conf&lt;br /&gt;
 nano /etc/apache2/sites-available/nextcloud.conf&lt;br /&gt;
&amp;lt;nowiki&amp;gt;&lt;br /&gt;
 &amp;lt;VirtualHost *:80&amp;gt;&lt;br /&gt;
	 ServerAdmin master@domain.com&lt;br /&gt;
	 DocumentRoot /var/www/nextcloud/&lt;br /&gt;
	 ServerName demo.domain.com&lt;br /&gt;
	 ServerAlias www.demo.domain.com&lt;br /&gt;
  &lt;br /&gt;
	 Alias /nextcloud &amp;quot;/var/www/nextcloud/&amp;quot;&lt;br /&gt;
	 &amp;lt;Directory /var/www/nextcloud/&amp;gt;&lt;br /&gt;
		Options +FollowSymlinks&lt;br /&gt;
		AllowOverride All&lt;br /&gt;
		Require all granted&lt;br /&gt;
		  &amp;lt;IfModule mod_dav.c&amp;gt;&lt;br /&gt;
			Dav off&lt;br /&gt;
		  &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
		SetEnv HOME /var/www/nextcloud&lt;br /&gt;
		SetEnv HTTP_HOME /var/www/nextcloud&lt;br /&gt;
	 &amp;lt;/Directory&amp;gt;&lt;br /&gt;
	 ErrorLog ${APACHE_LOG_DIR}/error.log&lt;br /&gt;
	 CustomLog ${APACHE_LOG_DIR}/access.log combined&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Enable the NextCloud and Rewrite Module&lt;br /&gt;
 a2ensite nextcloud.conf&lt;br /&gt;
 a2enmod rewrite&lt;br /&gt;
 a2enmod headers&lt;br /&gt;
 a2enmod env&lt;br /&gt;
 a2enmod dir&lt;br /&gt;
 a2enmod mime&lt;br /&gt;
&lt;br /&gt;
*restart apache&lt;br /&gt;
 service apache2 restart&lt;br /&gt;
&lt;br /&gt;
*prepare data folder&lt;br /&gt;
 mkdir /home/data/&lt;br /&gt;
 chown -R www-data:www-data /home/data/&lt;br /&gt;
&lt;br /&gt;
 chown -R www-data:www-data /var/www/nextcloud/&lt;br /&gt;
 chmod -R 755 /var/www/nextcloud/&lt;br /&gt;
&lt;br /&gt;
*install certbot and create Let's Encrypt SSL-Certificate&lt;br /&gt;
 apt install certbot python3-certbot-apache&lt;br /&gt;
&lt;br /&gt;
 certbot --apache -m master@domain.com -d cloud.domain.com&lt;br /&gt;
 &lt;br /&gt;
--&amp;gt; only lasts 90 days&lt;br /&gt;
&lt;br /&gt;
*gegebenenfall das Paket cron installieren&lt;br /&gt;
 install crontab&lt;br /&gt;
 crontab -e&lt;br /&gt;
 40 3 * * 0 letsencrypt renew &amp;gt;&amp;gt; /var/log/letsencrypt-renew.log &amp;amp;&amp;amp; service apache2 reload &amp;gt; /dev/null 2&amp;gt;&amp;amp;1&lt;br /&gt;
&lt;br /&gt;
--&amp;gt; Domain ansurfen und Einrichtung abschließen&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--------------------&lt;br /&gt;
&lt;br /&gt;
Abschliessende Änderungen:&lt;br /&gt;
&lt;br /&gt;
*Erweitern der Datei : /etc/apache2/sites-available/nextcloud-le-ssl.conf um folgenden Eintrag&lt;br /&gt;
&lt;br /&gt;
 Strict-Transport-Security:&lt;br /&gt;
  &amp;lt;VirtualHost *:443&amp;gt;&lt;br /&gt;
  ServerName cloud.nextcloud.com&lt;br /&gt;
	&amp;lt;IfModule mod_headers.c&amp;gt;&lt;br /&gt;
	  Header always set Strict-Transport-Security &amp;quot;max-age=15552000; includeSubDomains&amp;quot;&lt;br /&gt;
	&amp;lt;/IfModule&amp;gt;&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Erweitern der Einstellungen in der Datein  /var/www/nextcloud/config/config.php um folgenden Eintrag&lt;br /&gt;
 'default_phone_region' =&amp;gt; 'DE',&lt;br /&gt;
	&lt;br /&gt;
(bei einer Snap Installation unter Ubuntu 20.04 liegt die Datei unter /var/snap/nextcloud/current/config/config.php)&lt;/div&gt;</summary>
		<author><name>Guenter</name></author>
	</entry>
	<entry>
		<id>https://wiki.stoehr-hermaringen.de/index.php?title=Installation_Nextcloud_unter_Ubuntu_22.04_LTS&amp;diff=91</id>
		<title>Installation Nextcloud unter Ubuntu 22.04 LTS</title>
		<link rel="alternate" type="text/html" href="https://wiki.stoehr-hermaringen.de/index.php?title=Installation_Nextcloud_unter_Ubuntu_22.04_LTS&amp;diff=91"/>
		<updated>2023-05-10T05:54:00Z</updated>

		<summary type="html">&lt;p&gt;Guenter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Diese Anleistung basiert auf folgender Anleitung:  &lt;br /&gt;
&lt;br /&gt;
[https://apfelcast.com/nextcloud-25-auf-linux-server-ubuntu-22-04-installieren-einfache-anleitung/]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Die beiden zusätzlichen Änderungen am Schuss ergeben sich nach dem überprüfen der Einstellungen in Nextcloud.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--------------------&lt;br /&gt;
&lt;br /&gt;
Nextcloud 25 Installation auf Basis Ubuntu 22.04 LTS&lt;br /&gt;
-------------------&lt;br /&gt;
&lt;br /&gt;
*Betriebsystem auf aktuellen Stand bringen&lt;br /&gt;
 apt update &amp;amp;&amp;amp; apt upgrade -y&lt;br /&gt;
&lt;br /&gt;
*Installion apache&lt;br /&gt;
 apt install apache2&lt;br /&gt;
&lt;br /&gt;
*Installion PHP 8.1 &lt;br /&gt;
 apt install software-properties-common&lt;br /&gt;
 add-apt-repository ppa:ondrej/php&lt;br /&gt;
 apt update&lt;br /&gt;
&lt;br /&gt;
*Installion PHP 8.1 &amp;amp; Module&lt;br /&gt;
 apt install php8.1 libapache2-mod-php8.1 php8.1-zip php-dompdf php8.1-xml php8.1-mbstring php8.1-gd php8.1-curl php8.1-imagick libmagickcore-6.q16-6-extra php8.1-intl php8.1-bcmath php8.1-gmp php8.1-cli php8.1-mysql php8.1-zip php8.1-gd  php8.1-mbstring php8.1-curl php8.1-xml php-pear unzip nano php8.1-apcu redis-server ufw php8.1-redis&lt;br /&gt;
&lt;br /&gt;
*anpassen der PHP.ini Datei&lt;br /&gt;
 nano /etc/php/8.1/apache2/php.ini&lt;br /&gt;
&lt;br /&gt;
 memory_limit = 1024M&lt;br /&gt;
 upload_max_filesize = 16G&lt;br /&gt;
 post_max_size = 16G&lt;br /&gt;
 date.timezone = Europe/Berlin&lt;br /&gt;
 output_buffering = Off&lt;br /&gt;
&lt;br /&gt;
*Installation Datenbank Server&lt;br /&gt;
 apt install mariadb-server&lt;br /&gt;
&lt;br /&gt;
*Maria DB Server Konfiguration&lt;br /&gt;
 mysql_secure_installation&lt;br /&gt;
&lt;br /&gt;
*öffnen SQL Dialog&lt;br /&gt;
 mysql&lt;br /&gt;
&lt;br /&gt;
*create database calles nextcloud&lt;br /&gt;
 CREATE DATABASE nextcloud; &lt;br /&gt;
&lt;br /&gt;
*create database user with password&lt;br /&gt;
 CREATE USER 'nextclouduser'@'localhost' IDENTIFIED BY 'password_here';&lt;br /&gt;
&lt;br /&gt;
*grant accesss to databse&lt;br /&gt;
 GRANT ALL PRIVILEGES ON nextcloud.* TO 'nextclouduser'@'localhost';&lt;br /&gt;
&lt;br /&gt;
*save changes and exit&lt;br /&gt;
 FLUSH PRIVILEGES;&lt;br /&gt;
 EXIT;&lt;br /&gt;
&lt;br /&gt;
*Download lastest nextcloud version&lt;br /&gt;
 cd /tmp &amp;amp;&amp;amp; wget https://download.nextcloud.com/server/releases/latest.zip&lt;br /&gt;
 unzip latest.zip&lt;br /&gt;
 mv nextcloud /var/www/&lt;br /&gt;
&lt;br /&gt;
*create new conf&lt;br /&gt;
 nano /etc/apache2/sites-available/nextcloud.conf&lt;br /&gt;
 &amp;lt;VirtualHost *:80&amp;gt;&lt;br /&gt;
	 ServerAdmin master@domain.com&lt;br /&gt;
	 DocumentRoot /var/www/nextcloud/&lt;br /&gt;
	 ServerName demo.domain.com&lt;br /&gt;
	 ServerAlias www.demo.domain.com&lt;br /&gt;
  &lt;br /&gt;
	 Alias /nextcloud &amp;quot;/var/www/nextcloud/&amp;quot;&lt;br /&gt;
	 &amp;lt;Directory /var/www/nextcloud/&amp;gt;&lt;br /&gt;
		Options +FollowSymlinks&lt;br /&gt;
		AllowOverride All&lt;br /&gt;
		Require all granted&lt;br /&gt;
		  &amp;lt;IfModule mod_dav.c&amp;gt;&lt;br /&gt;
			Dav off&lt;br /&gt;
		  &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
		SetEnv HOME /var/www/nextcloud&lt;br /&gt;
		SetEnv HTTP_HOME /var/www/nextcloud&lt;br /&gt;
	 &amp;lt;/Directory&amp;gt;&lt;br /&gt;
	 ErrorLog ${APACHE_LOG_DIR}/error.log&lt;br /&gt;
	 CustomLog ${APACHE_LOG_DIR}/access.log combined&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Enable the NextCloud and Rewrite Module&lt;br /&gt;
 a2ensite nextcloud.conf&lt;br /&gt;
 a2enmod rewrite&lt;br /&gt;
 a2enmod headers&lt;br /&gt;
 a2enmod env&lt;br /&gt;
 a2enmod dir&lt;br /&gt;
 a2enmod mime&lt;br /&gt;
&lt;br /&gt;
*restart apache&lt;br /&gt;
 service apache2 restart&lt;br /&gt;
&lt;br /&gt;
*prepare data folder&lt;br /&gt;
 mkdir /home/data/&lt;br /&gt;
 chown -R www-data:www-data /home/data/&lt;br /&gt;
&lt;br /&gt;
 chown -R www-data:www-data /var/www/nextcloud/&lt;br /&gt;
 chmod -R 755 /var/www/nextcloud/&lt;br /&gt;
&lt;br /&gt;
*install certbot and create Let's Encrypt SSL-Certificate&lt;br /&gt;
 apt install certbot python3-certbot-apache&lt;br /&gt;
&lt;br /&gt;
 certbot --apache -m master@domain.com -d cloud.domain.com&lt;br /&gt;
 &lt;br /&gt;
--&amp;gt; only lasts 90 days&lt;br /&gt;
&lt;br /&gt;
*gegebenenfall das Paket cron installieren&lt;br /&gt;
 install crontab&lt;br /&gt;
 crontab -e&lt;br /&gt;
 40 3 * * 0 letsencrypt renew &amp;gt;&amp;gt; /var/log/letsencrypt-renew.log &amp;amp;&amp;amp; service apache2 reload &amp;gt; /dev/null 2&amp;gt;&amp;amp;1&lt;br /&gt;
&lt;br /&gt;
--&amp;gt; Domain ansurfen und Einrichtung abschließen&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--------------------&lt;br /&gt;
&lt;br /&gt;
Abschliessende Änderungen:&lt;br /&gt;
&lt;br /&gt;
*Erweitern der Datei : /etc/apache2/sites-available/nextcloud-le-ssl.conf um folgenden Eintrag&lt;br /&gt;
&lt;br /&gt;
 Strict-Transport-Security:&lt;br /&gt;
  &amp;lt;VirtualHost *:443&amp;gt;&lt;br /&gt;
  ServerName cloud.nextcloud.com&lt;br /&gt;
	&amp;lt;IfModule mod_headers.c&amp;gt;&lt;br /&gt;
	  Header always set Strict-Transport-Security &amp;quot;max-age=15552000; includeSubDomains&amp;quot;&lt;br /&gt;
	&amp;lt;/IfModule&amp;gt;&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Erweitern der Einstellungen in der Datein  /var/www/nextcloud/config/config.php um folgenden Eintrag&lt;br /&gt;
 'default_phone_region' =&amp;gt; 'DE',&lt;br /&gt;
	&lt;br /&gt;
(bei einer Snap Installation unter Ubuntu 20.04 liegt die Datei unter /var/snap/nextcloud/current/config/config.php)&lt;/div&gt;</summary>
		<author><name>Guenter</name></author>
	</entry>
	<entry>
		<id>https://wiki.stoehr-hermaringen.de/index.php?title=Installation_Nextcloud_unter_Ubuntu_22.04_LTS&amp;diff=90</id>
		<title>Installation Nextcloud unter Ubuntu 22.04 LTS</title>
		<link rel="alternate" type="text/html" href="https://wiki.stoehr-hermaringen.de/index.php?title=Installation_Nextcloud_unter_Ubuntu_22.04_LTS&amp;diff=90"/>
		<updated>2023-05-10T05:51:45Z</updated>

		<summary type="html">&lt;p&gt;Guenter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Diese Anleistung basiert auf folgender Anleitung:  &lt;br /&gt;
&lt;br /&gt;
[https://apfelcast.com/nextcloud-25-auf-linux-server-ubuntu-22-04-installieren-einfache-anleitung/]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Die beiden zusätzlichen Änderungen am Schuss ergeben sich nach dem überprüfen der Einstellungen in Nextcloud.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--------------------&lt;br /&gt;
&lt;br /&gt;
Nextcloud 25 Installation auf Basis Ubuntu 22.04 LTS&lt;br /&gt;
-------------------&lt;br /&gt;
&lt;br /&gt;
*Betriebsystem auf aktuellen Stand bringen&lt;br /&gt;
 apt update &amp;amp;&amp;amp; apt upgrade -y&lt;br /&gt;
&lt;br /&gt;
*Installion apache&lt;br /&gt;
 apt install apache2&lt;br /&gt;
&lt;br /&gt;
*Installion PHP 8.1 &lt;br /&gt;
 apt install software-properties-common&lt;br /&gt;
 add-apt-repository ppa:ondrej/php&lt;br /&gt;
 apt update&lt;br /&gt;
&lt;br /&gt;
*Installion PHP 8.1 &amp;amp; Module&lt;br /&gt;
 apt install php8.1 libapache2-mod-php8.1 php8.1-zip php-dompdf php8.1-xml php8.1-mbstring php8.1-gd php8.1-curl php8.1-imagick libmagickcore-6.q16-6-extra php8.1-intl php8.1-bcmath php8.1-gmp php8.1-cli php8.1-mysql php8.1-zip php8.1-gd  php8.1-mbstring php8.1-curl php8.1-xml php-pear unzip nano php8.1-apcu redis-server ufw php8.1-redis&lt;br /&gt;
&lt;br /&gt;
*anpassen der PHP.ini Datei&lt;br /&gt;
 nano /etc/php/8.1/apache2/php.ini&lt;br /&gt;
&lt;br /&gt;
 memory_limit = 1024M&lt;br /&gt;
 upload_max_filesize = 16G&lt;br /&gt;
 post_max_size = 16G&lt;br /&gt;
 date.timezone = Europe/Berlin&lt;br /&gt;
 output_buffering = Off&lt;br /&gt;
&lt;br /&gt;
*Installation Datenbank Server&lt;br /&gt;
 apt install mariadb-server&lt;br /&gt;
&lt;br /&gt;
*Maria DB Server Konfiguration&lt;br /&gt;
 mysql_secure_installation&lt;br /&gt;
&lt;br /&gt;
*öffnen SQL Dialog&lt;br /&gt;
 mysql&lt;br /&gt;
&lt;br /&gt;
*create database calles nextcloud&lt;br /&gt;
 CREATE DATABASE nextcloud; &lt;br /&gt;
&lt;br /&gt;
*create database user with password&lt;br /&gt;
 CREATE USER 'nextclouduser'@'localhost' IDENTIFIED BY 'password_here';&lt;br /&gt;
&lt;br /&gt;
*grant accesss to databse&lt;br /&gt;
 GRANT ALL PRIVILEGES ON nextcloud.* TO 'nextclouduser'@'localhost';&lt;br /&gt;
&lt;br /&gt;
*save changes and exit&lt;br /&gt;
 FLUSH PRIVILEGES;&lt;br /&gt;
 EXIT;&lt;br /&gt;
&lt;br /&gt;
*Download lastest nextcloud version&lt;br /&gt;
 cd /tmp &amp;amp;&amp;amp; wget https://download.nextcloud.com/server/releases/latest.zip&lt;br /&gt;
 unzip latest.zip&lt;br /&gt;
 mv nextcloud /var/www/&lt;br /&gt;
&lt;br /&gt;
*create new conf&lt;br /&gt;
 nano /etc/apache2/sites-available/nextcloud.conf&lt;br /&gt;
 '&amp;lt;VirtualHost *:80&amp;gt;&lt;br /&gt;
	 ServerAdmin master@domain.com&lt;br /&gt;
	 DocumentRoot /var/www/nextcloud/&lt;br /&gt;
	 ServerName demo.domain.com&lt;br /&gt;
	 ServerAlias www.demo.domain.com&lt;br /&gt;
  &lt;br /&gt;
	 Alias /nextcloud &amp;quot;/var/www/nextcloud/&amp;quot;&lt;br /&gt;
	 &amp;lt;Directory /var/www/nextcloud/&amp;gt;&lt;br /&gt;
		Options +FollowSymlinks&lt;br /&gt;
		AllowOverride All&lt;br /&gt;
		Require all granted&lt;br /&gt;
		  &amp;lt;IfModule mod_dav.c&amp;gt;&lt;br /&gt;
			Dav off&lt;br /&gt;
		  &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
		SetEnv HOME /var/www/nextcloud&lt;br /&gt;
		SetEnv HTTP_HOME /var/www/nextcloud&lt;br /&gt;
	 &amp;lt;/Directory&amp;gt;&lt;br /&gt;
	 ErrorLog ${APACHE_LOG_DIR}/error.log&lt;br /&gt;
	 CustomLog ${APACHE_LOG_DIR}/access.log combined&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
*Enable the NextCloud and Rewrite Module&lt;br /&gt;
 a2ensite nextcloud.conf&lt;br /&gt;
 a2enmod rewrite&lt;br /&gt;
 a2enmod headers&lt;br /&gt;
 a2enmod env&lt;br /&gt;
 a2enmod dir&lt;br /&gt;
 a2enmod mime&lt;br /&gt;
&lt;br /&gt;
*restart apache&lt;br /&gt;
 service apache2 restart&lt;br /&gt;
&lt;br /&gt;
*prepare data folder&lt;br /&gt;
 mkdir /home/data/&lt;br /&gt;
 chown -R www-data:www-data /home/data/&lt;br /&gt;
&lt;br /&gt;
 chown -R www-data:www-data /var/www/nextcloud/&lt;br /&gt;
 chmod -R 755 /var/www/nextcloud/&lt;br /&gt;
&lt;br /&gt;
*install certbot and create Let's Encrypt SSL-Certificate&lt;br /&gt;
 apt install certbot python3-certbot-apache&lt;br /&gt;
&lt;br /&gt;
 certbot --apache -m master@domain.com -d cloud.domain.com&lt;br /&gt;
 &lt;br /&gt;
--&amp;gt; only lasts 90 days&lt;br /&gt;
&lt;br /&gt;
*gegebenenfall das Paket cron installieren&lt;br /&gt;
 install crontab&lt;br /&gt;
 crontab -e&lt;br /&gt;
 40 3 * * 0 letsencrypt renew &amp;gt;&amp;gt; /var/log/letsencrypt-renew.log &amp;amp;&amp;amp; service apache2 reload &amp;gt; /dev/null 2&amp;gt;&amp;amp;1&lt;br /&gt;
&lt;br /&gt;
--&amp;gt; Domain ansurfen und Einrichtung abschließen&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--------------------&lt;br /&gt;
&lt;br /&gt;
Abschliessende Änderungen:&lt;br /&gt;
&lt;br /&gt;
*Erweitern der Datei : /etc/apache2/sites-available/nextcloud-le-ssl.conf um folgenden Eintrag&lt;br /&gt;
&lt;br /&gt;
 Strict-Transport-Security:&lt;br /&gt;
  &amp;lt;VirtualHost *:443&amp;gt;&lt;br /&gt;
  ServerName cloud.nextcloud.com&lt;br /&gt;
	&amp;lt;IfModule mod_headers.c&amp;gt;&lt;br /&gt;
	  Header always set Strict-Transport-Security &amp;quot;max-age=15552000; includeSubDomains&amp;quot;&lt;br /&gt;
	&amp;lt;/IfModule&amp;gt;&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Erweitern der Einstellungen in der Datein  /var/www/nextcloud/config/config.php um folgenden Eintrag&lt;br /&gt;
 'default_phone_region' =&amp;gt; 'DE',&lt;br /&gt;
	&lt;br /&gt;
(bei einer Snap Installation unter Ubuntu 20.04 liegt die Datei unter /var/snap/nextcloud/current/config/config.php)&lt;/div&gt;</summary>
		<author><name>Guenter</name></author>
	</entry>
	<entry>
		<id>https://wiki.stoehr-hermaringen.de/index.php?title=Installation_Nextcloud_unter_Ubuntu_22.04_LTS&amp;diff=89</id>
		<title>Installation Nextcloud unter Ubuntu 22.04 LTS</title>
		<link rel="alternate" type="text/html" href="https://wiki.stoehr-hermaringen.de/index.php?title=Installation_Nextcloud_unter_Ubuntu_22.04_LTS&amp;diff=89"/>
		<updated>2023-05-10T05:50:50Z</updated>

		<summary type="html">&lt;p&gt;Guenter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Diese Anleistung basiert auf folgender Anleitung:  &lt;br /&gt;
&lt;br /&gt;
[https://apfelcast.com/nextcloud-25-auf-linux-server-ubuntu-22-04-installieren-einfache-anleitung/]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Die beiden zusätzlichen Änderungen am Schuss ergeben sich nach dem überprüfen der Einstellungen in Nextcloud.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--------------------&lt;br /&gt;
&lt;br /&gt;
Nextcloud 25 Installation auf Basis Ubuntu 22.04 LTS&lt;br /&gt;
-------------------&lt;br /&gt;
&lt;br /&gt;
*Betriebsystem auf aktuellen Stand bringen&lt;br /&gt;
 apt update &amp;amp;&amp;amp; apt upgrade -y&lt;br /&gt;
&lt;br /&gt;
*Installion apache&lt;br /&gt;
 apt install apache2&lt;br /&gt;
&lt;br /&gt;
*Installion PHP 8.1 &lt;br /&gt;
 apt install software-properties-common&lt;br /&gt;
 add-apt-repository ppa:ondrej/php&lt;br /&gt;
 apt update&lt;br /&gt;
&lt;br /&gt;
*Installion PHP 8.1 &amp;amp; Module&lt;br /&gt;
 apt install php8.1 libapache2-mod-php8.1 php8.1-zip php-dompdf php8.1-xml php8.1-mbstring php8.1-gd php8.1-curl php8.1-imagick libmagickcore-6.q16-6-extra php8.1-intl php8.1-bcmath php8.1-gmp php8.1-cli php8.1-mysql php8.1-zip php8.1-gd  php8.1-mbstring php8.1-curl php8.1-xml php-pear unzip nano php8.1-apcu redis-server ufw php8.1-redis&lt;br /&gt;
&lt;br /&gt;
*anpassen der PHP.ini Datei&lt;br /&gt;
 nano /etc/php/8.1/apache2/php.ini&lt;br /&gt;
&lt;br /&gt;
 memory_limit = 1024M&lt;br /&gt;
 upload_max_filesize = 16G&lt;br /&gt;
 post_max_size = 16G&lt;br /&gt;
 date.timezone = Europe/Berlin&lt;br /&gt;
 output_buffering = Off&lt;br /&gt;
&lt;br /&gt;
*Installation Datenbank Server&lt;br /&gt;
 apt install mariadb-server&lt;br /&gt;
&lt;br /&gt;
*Maria DB Server Konfiguration&lt;br /&gt;
 mysql_secure_installation&lt;br /&gt;
&lt;br /&gt;
*öffnen SQL Dialog&lt;br /&gt;
 mysql&lt;br /&gt;
&lt;br /&gt;
*create database calles nextcloud&lt;br /&gt;
 CREATE DATABASE nextcloud; &lt;br /&gt;
&lt;br /&gt;
*create database user with password&lt;br /&gt;
 CREATE USER 'nextclouduser'@'localhost' IDENTIFIED BY 'password_here';&lt;br /&gt;
&lt;br /&gt;
*grant accesss to databse&lt;br /&gt;
 GRANT ALL PRIVILEGES ON nextcloud.* TO 'nextclouduser'@'localhost';&lt;br /&gt;
&lt;br /&gt;
*save changes and exit&lt;br /&gt;
 FLUSH PRIVILEGES;&lt;br /&gt;
 EXIT;&lt;br /&gt;
&lt;br /&gt;
*Download lastest nextcloud version&lt;br /&gt;
 cd /tmp &amp;amp;&amp;amp; wget https://download.nextcloud.com/server/releases/latest.zip&lt;br /&gt;
 unzip latest.zip&lt;br /&gt;
 mv nextcloud /var/www/&lt;br /&gt;
&lt;br /&gt;
*create new conf&lt;br /&gt;
 nano /etc/apache2/sites-available/nextcloud.conf&lt;br /&gt;
 &amp;quot;&amp;lt;VirtualHost *:80&amp;gt;&lt;br /&gt;
	 ServerAdmin master@domain.com&lt;br /&gt;
	 DocumentRoot /var/www/nextcloud/&lt;br /&gt;
	 ServerName demo.domain.com&lt;br /&gt;
	 ServerAlias www.demo.domain.com&lt;br /&gt;
  &lt;br /&gt;
	 Alias /nextcloud &amp;quot;/var/www/nextcloud/&amp;quot;&lt;br /&gt;
	 &amp;lt;Directory /var/www/nextcloud/&amp;gt;&lt;br /&gt;
		Options +FollowSymlinks&lt;br /&gt;
		AllowOverride All&lt;br /&gt;
		Require all granted&lt;br /&gt;
		  &amp;lt;IfModule mod_dav.c&amp;gt;&lt;br /&gt;
			Dav off&lt;br /&gt;
		  &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
		SetEnv HOME /var/www/nextcloud&lt;br /&gt;
		SetEnv HTTP_HOME /var/www/nextcloud&lt;br /&gt;
	 &amp;lt;/Directory&amp;gt;&lt;br /&gt;
	 ErrorLog ${APACHE_LOG_DIR}/error.log&lt;br /&gt;
	 CustomLog ${APACHE_LOG_DIR}/access.log combined&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
*Enable the NextCloud and Rewrite Module&lt;br /&gt;
 a2ensite nextcloud.conf&lt;br /&gt;
 a2enmod rewrite&lt;br /&gt;
 a2enmod headers&lt;br /&gt;
 a2enmod env&lt;br /&gt;
 a2enmod dir&lt;br /&gt;
 a2enmod mime&lt;br /&gt;
&lt;br /&gt;
*restart apache&lt;br /&gt;
 service apache2 restart&lt;br /&gt;
&lt;br /&gt;
*prepare data folder&lt;br /&gt;
 mkdir /home/data/&lt;br /&gt;
 chown -R www-data:www-data /home/data/&lt;br /&gt;
&lt;br /&gt;
 chown -R www-data:www-data /var/www/nextcloud/&lt;br /&gt;
 chmod -R 755 /var/www/nextcloud/&lt;br /&gt;
&lt;br /&gt;
*install certbot and create Let's Encrypt SSL-Certificate&lt;br /&gt;
 apt install certbot python3-certbot-apache&lt;br /&gt;
&lt;br /&gt;
 certbot --apache -m master@domain.com -d cloud.domain.com&lt;br /&gt;
 &lt;br /&gt;
--&amp;gt; only lasts 90 days&lt;br /&gt;
&lt;br /&gt;
*gegebenenfall das Paket cron installieren&lt;br /&gt;
 install crontab&lt;br /&gt;
 crontab -e&lt;br /&gt;
 40 3 * * 0 letsencrypt renew &amp;gt;&amp;gt; /var/log/letsencrypt-renew.log &amp;amp;&amp;amp; service apache2 reload &amp;gt; /dev/null 2&amp;gt;&amp;amp;1&lt;br /&gt;
&lt;br /&gt;
--&amp;gt; Domain ansurfen und Einrichtung abschließen&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--------------------&lt;br /&gt;
&lt;br /&gt;
Abschliessende Änderungen:&lt;br /&gt;
&lt;br /&gt;
*Erweitern der Datei : /etc/apache2/sites-available/nextcloud-le-ssl.conf um folgenden Eintrag&lt;br /&gt;
&lt;br /&gt;
 Strict-Transport-Security:&lt;br /&gt;
  &amp;lt;VirtualHost *:443&amp;gt;&lt;br /&gt;
  ServerName cloud.nextcloud.com&lt;br /&gt;
	&amp;lt;IfModule mod_headers.c&amp;gt;&lt;br /&gt;
	  Header always set Strict-Transport-Security &amp;quot;max-age=15552000; includeSubDomains&amp;quot;&lt;br /&gt;
	&amp;lt;/IfModule&amp;gt;&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Erweitern der Einstellungen in der Datein  /var/www/nextcloud/config/config.php um folgenden Eintrag&lt;br /&gt;
 'default_phone_region' =&amp;gt; 'DE',&lt;br /&gt;
	&lt;br /&gt;
(bei einer Snap Installation unter Ubuntu 20.04 liegt die Datei unter /var/snap/nextcloud/current/config/config.php)&lt;/div&gt;</summary>
		<author><name>Guenter</name></author>
	</entry>
	<entry>
		<id>https://wiki.stoehr-hermaringen.de/index.php?title=Installation_Nextcloud_unter_Ubuntu_22.04_LTS&amp;diff=88</id>
		<title>Installation Nextcloud unter Ubuntu 22.04 LTS</title>
		<link rel="alternate" type="text/html" href="https://wiki.stoehr-hermaringen.de/index.php?title=Installation_Nextcloud_unter_Ubuntu_22.04_LTS&amp;diff=88"/>
		<updated>2023-05-10T05:49:22Z</updated>

		<summary type="html">&lt;p&gt;Guenter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Diese Anleistung basiert auf folgender Anleitung:  &lt;br /&gt;
&lt;br /&gt;
[https://apfelcast.com/nextcloud-25-auf-linux-server-ubuntu-22-04-installieren-einfache-anleitung/]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Die beiden zusätzlichen Änderungen am Schuss ergeben sich nach dem überprüfen der Einstellungen in Nextcloud.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--------------------&lt;br /&gt;
&lt;br /&gt;
Nextcloud 25 Installation auf Basis Ubuntu 22.04 LTS&lt;br /&gt;
-------------------&lt;br /&gt;
&lt;br /&gt;
*Betriebsystem auf aktuellen Stand bringen&lt;br /&gt;
 apt update &amp;amp;&amp;amp; apt upgrade -y&lt;br /&gt;
&lt;br /&gt;
*Installion apache&lt;br /&gt;
 apt install apache2&lt;br /&gt;
&lt;br /&gt;
*Installion PHP 8.1 &lt;br /&gt;
 apt install software-properties-common&lt;br /&gt;
 add-apt-repository ppa:ondrej/php&lt;br /&gt;
 apt update&lt;br /&gt;
&lt;br /&gt;
*Installion PHP 8.1 &amp;amp; Module&lt;br /&gt;
 apt install php8.1 libapache2-mod-php8.1 php8.1-zip php-dompdf php8.1-xml php8.1-mbstring php8.1-gd php8.1-curl php8.1-imagick libmagickcore-6.q16-6-extra php8.1-intl php8.1-bcmath php8.1-gmp php8.1-cli php8.1-mysql php8.1-zip php8.1-gd  php8.1-mbstring php8.1-curl php8.1-xml php-pear unzip nano php8.1-apcu redis-server ufw php8.1-redis&lt;br /&gt;
&lt;br /&gt;
*anpassen der PHP.ini Datei&lt;br /&gt;
 nano /etc/php/8.1/apache2/php.ini&lt;br /&gt;
&lt;br /&gt;
 memory_limit = 1024M&lt;br /&gt;
 upload_max_filesize = 16G&lt;br /&gt;
 post_max_size = 16G&lt;br /&gt;
 date.timezone = Europe/Berlin&lt;br /&gt;
 output_buffering = Off&lt;br /&gt;
&lt;br /&gt;
*Installation Datenbank Server&lt;br /&gt;
 apt install mariadb-server&lt;br /&gt;
&lt;br /&gt;
*Maria DB Server Konfiguration&lt;br /&gt;
 mysql_secure_installation&lt;br /&gt;
&lt;br /&gt;
*öffnen SQL Dialog&lt;br /&gt;
 mysql&lt;br /&gt;
&lt;br /&gt;
*create database calles nextcloud&lt;br /&gt;
 CREATE DATABASE nextcloud; &lt;br /&gt;
&lt;br /&gt;
*create database user with password&lt;br /&gt;
 CREATE USER 'nextclouduser'@'localhost' IDENTIFIED BY 'password_here';&lt;br /&gt;
&lt;br /&gt;
*grant accesss to databse&lt;br /&gt;
 GRANT ALL PRIVILEGES ON nextcloud.* TO 'nextclouduser'@'localhost';&lt;br /&gt;
&lt;br /&gt;
*save changes and exit&lt;br /&gt;
 FLUSH PRIVILEGES;&lt;br /&gt;
 EXIT;&lt;br /&gt;
&lt;br /&gt;
*Download lastest nextcloud version&lt;br /&gt;
 cd /tmp &amp;amp;&amp;amp; wget https://download.nextcloud.com/server/releases/latest.zip&lt;br /&gt;
 unzip latest.zip&lt;br /&gt;
 mv nextcloud /var/www/&lt;br /&gt;
&lt;br /&gt;
*create new conf&lt;br /&gt;
 nano /etc/apache2/sites-available/nextcloud.conf&lt;br /&gt;
 &amp;lt;VirtualHost *:80&amp;gt;&lt;br /&gt;
	 ServerAdmin master@domain.com&lt;br /&gt;
	 DocumentRoot /var/www/nextcloud/&lt;br /&gt;
	 ServerName demo.domain.com&lt;br /&gt;
	 ServerAlias www.demo.domain.com&lt;br /&gt;
  &lt;br /&gt;
	 Alias /nextcloud &amp;quot;/var/www/nextcloud/&amp;quot;&lt;br /&gt;
	 &amp;lt;Directory /var/www/nextcloud/&amp;gt;&lt;br /&gt;
		Options +FollowSymlinks&lt;br /&gt;
		AllowOverride All&lt;br /&gt;
		Require all granted&lt;br /&gt;
		  &amp;lt;IfModule mod_dav.c&amp;gt;&lt;br /&gt;
			Dav off&lt;br /&gt;
		  &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
		SetEnv HOME /var/www/nextcloud&lt;br /&gt;
		SetEnv HTTP_HOME /var/www/nextcloud&lt;br /&gt;
	 &amp;lt;/Directory&amp;gt;&lt;br /&gt;
	 ErrorLog ${APACHE_LOG_DIR}/error.log&lt;br /&gt;
	 CustomLog ${APACHE_LOG_DIR}/access.log combined&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Enable the NextCloud and Rewrite Module&lt;br /&gt;
 a2ensite nextcloud.conf&lt;br /&gt;
 a2enmod rewrite&lt;br /&gt;
 a2enmod headers&lt;br /&gt;
 a2enmod env&lt;br /&gt;
 a2enmod dir&lt;br /&gt;
 a2enmod mime&lt;br /&gt;
&lt;br /&gt;
*restart apache&lt;br /&gt;
 service apache2 restart&lt;br /&gt;
&lt;br /&gt;
*prepare data folder&lt;br /&gt;
 mkdir /home/data/&lt;br /&gt;
 chown -R www-data:www-data /home/data/&lt;br /&gt;
&lt;br /&gt;
 chown -R www-data:www-data /var/www/nextcloud/&lt;br /&gt;
 chmod -R 755 /var/www/nextcloud/&lt;br /&gt;
&lt;br /&gt;
*install certbot and create Let's Encrypt SSL-Certificate&lt;br /&gt;
 apt install certbot python3-certbot-apache&lt;br /&gt;
&lt;br /&gt;
 certbot --apache -m master@domain.com -d cloud.domain.com&lt;br /&gt;
 &lt;br /&gt;
--&amp;gt; only lasts 90 days&lt;br /&gt;
&lt;br /&gt;
*gegebenenfall das Paket cron installieren&lt;br /&gt;
 install crontab&lt;br /&gt;
 crontab -e&lt;br /&gt;
 40 3 * * 0 letsencrypt renew &amp;gt;&amp;gt; /var/log/letsencrypt-renew.log &amp;amp;&amp;amp; service apache2 reload &amp;gt; /dev/null 2&amp;gt;&amp;amp;1&lt;br /&gt;
&lt;br /&gt;
--&amp;gt; Domain ansurfen und Einrichtung abschließen&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--------------------&lt;br /&gt;
&lt;br /&gt;
Abschliessende Änderungen:&lt;br /&gt;
&lt;br /&gt;
*Erweitern der Datei : /etc/apache2/sites-available/nextcloud-le-ssl.conf um folgenden Eintrag&lt;br /&gt;
&lt;br /&gt;
 Strict-Transport-Security:&lt;br /&gt;
  &amp;lt;VirtualHost *:443&amp;gt;&lt;br /&gt;
  ServerName cloud.nextcloud.com&lt;br /&gt;
	&amp;lt;IfModule mod_headers.c&amp;gt;&lt;br /&gt;
	  Header always set Strict-Transport-Security &amp;quot;max-age=15552000; includeSubDomains&amp;quot;&lt;br /&gt;
	&amp;lt;/IfModule&amp;gt;&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Erweitern der Einstellungen in der Datein  /var/www/nextcloud/config/config.php um folgenden Eintrag&lt;br /&gt;
 'default_phone_region' =&amp;gt; 'DE',&lt;br /&gt;
	&lt;br /&gt;
(bei einer Snap Installation unter Ubuntu 20.04 liegt die Datei unter /var/snap/nextcloud/current/config/config.php)&lt;/div&gt;</summary>
		<author><name>Guenter</name></author>
	</entry>
	<entry>
		<id>https://wiki.stoehr-hermaringen.de/index.php?title=Installation_Nextcloud_unter_Ubuntu_22.04_LTS&amp;diff=87</id>
		<title>Installation Nextcloud unter Ubuntu 22.04 LTS</title>
		<link rel="alternate" type="text/html" href="https://wiki.stoehr-hermaringen.de/index.php?title=Installation_Nextcloud_unter_Ubuntu_22.04_LTS&amp;diff=87"/>
		<updated>2023-05-10T05:47:51Z</updated>

		<summary type="html">&lt;p&gt;Guenter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Diese Anleistung basiert auf folgender Anleitung:  &lt;br /&gt;
&lt;br /&gt;
[https://apfelcast.com/nextcloud-25-auf-linux-server-ubuntu-22-04-installieren-einfache-anleitung/]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Die beiden zusätzlichen Änderungen am Schuss ergeben sich nach dem überprüfen der Einstellungen in Nextcloud.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--------------------&lt;br /&gt;
&lt;br /&gt;
Nextcloud 25 Installation auf Basis Ubuntu 22.04 LTS&lt;br /&gt;
-------------------&lt;br /&gt;
&lt;br /&gt;
*Betriebsystem auf aktuellen Stand bringen&lt;br /&gt;
 apt update &amp;amp;&amp;amp; apt upgrade -y&lt;br /&gt;
&lt;br /&gt;
*Installion apache&lt;br /&gt;
 apt install apache2&lt;br /&gt;
&lt;br /&gt;
*Installion PHP 8.1 &lt;br /&gt;
 apt install software-properties-common&lt;br /&gt;
 add-apt-repository ppa:ondrej/php&lt;br /&gt;
 apt update&lt;br /&gt;
&lt;br /&gt;
*Installion PHP 8.1 &amp;amp; Module&lt;br /&gt;
 apt install php8.1 libapache2-mod-php8.1 php8.1-zip php-dompdf php8.1-xml php8.1-mbstring php8.1-gd php8.1-curl php8.1-imagick libmagickcore-6.q16-6-extra php8.1-intl php8.1-bcmath php8.1-gmp php8.1-cli php8.1-mysql php8.1-zip php8.1-gd  php8.1-mbstring php8.1-curl php8.1-xml php-pear unzip nano php8.1-apcu redis-server ufw php8.1-redis&lt;br /&gt;
&lt;br /&gt;
*anpassen der PHP.ini Datei&lt;br /&gt;
 nano /etc/php/8.1/apache2/php.ini&lt;br /&gt;
&lt;br /&gt;
 memory_limit = 1024M&lt;br /&gt;
 upload_max_filesize = 16G&lt;br /&gt;
 post_max_size = 16G&lt;br /&gt;
 date.timezone = Europe/Berlin&lt;br /&gt;
 output_buffering = Off&lt;br /&gt;
&lt;br /&gt;
*Installation Datenbank Server&lt;br /&gt;
 apt install mariadb-server&lt;br /&gt;
&lt;br /&gt;
*Maria DB Server Konfiguration&lt;br /&gt;
 mysql_secure_installation&lt;br /&gt;
&lt;br /&gt;
*öffnen SQL Dialog&lt;br /&gt;
 mysql&lt;br /&gt;
&lt;br /&gt;
*create database calles nextcloud&lt;br /&gt;
 CREATE DATABASE nextcloud; &lt;br /&gt;
&lt;br /&gt;
*create database user with password&lt;br /&gt;
 CREATE USER 'nextclouduser'@'localhost' IDENTIFIED BY 'password_here';&lt;br /&gt;
&lt;br /&gt;
*grant accesss to databse&lt;br /&gt;
 GRANT ALL PRIVILEGES ON nextcloud.* TO 'nextclouduser'@'localhost';&lt;br /&gt;
&lt;br /&gt;
*save changes and exit&lt;br /&gt;
 FLUSH PRIVILEGES;&lt;br /&gt;
 EXIT;&lt;br /&gt;
&lt;br /&gt;
*Download lastest nextcloud version&lt;br /&gt;
 cd /tmp &amp;amp;&amp;amp; wget https://download.nextcloud.com/server/releases/latest.zip&lt;br /&gt;
 unzip latest.zip&lt;br /&gt;
 mv nextcloud /var/www/&lt;br /&gt;
&lt;br /&gt;
*create new conf&lt;br /&gt;
 nano /etc/apache2/sites-available/nextcloud.conf&lt;br /&gt;
 &amp;lt;VirtualHost *:80&amp;gt;&lt;br /&gt;
	 ServerAdmin master@domain.com&lt;br /&gt;
	 DocumentRoot /var/www/nextcloud/&lt;br /&gt;
	 ServerName demo.domain.com&lt;br /&gt;
	 ServerAlias www.demo.domain.com&lt;br /&gt;
  &lt;br /&gt;
	 Alias /nextcloud &amp;quot;/var/www/nextcloud/&amp;quot;&lt;br /&gt;
	 &amp;lt;Directory /var/www/nextcloud/&amp;gt;&lt;br /&gt;
		Options +FollowSymlinks&lt;br /&gt;
		AllowOverride All&lt;br /&gt;
		Require all granted&lt;br /&gt;
		  &amp;lt;IfModule mod_dav.c&amp;gt;&lt;br /&gt;
			Dav off&lt;br /&gt;
		  &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
		SetEnv HOME /var/www/nextcloud&lt;br /&gt;
		SetEnv HTTP_HOME /var/www/nextcloud&lt;br /&gt;
	 &amp;lt;/Directory&amp;gt;&lt;br /&gt;
	 ErrorLog ${APACHE_LOG_DIR}/error.log&lt;br /&gt;
	 CustomLog ${APACHE_LOG_DIR}/access.log combined&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Enable the NextCloud and Rewrite Module&lt;br /&gt;
 a2ensite nextcloud.conf&lt;br /&gt;
 a2enmod rewrite&lt;br /&gt;
 a2enmod headers&lt;br /&gt;
 a2enmod env&lt;br /&gt;
 a2enmod dir&lt;br /&gt;
 a2enmod mime&lt;br /&gt;
&lt;br /&gt;
*restart apache&lt;br /&gt;
 service apache2 restart&lt;br /&gt;
&lt;br /&gt;
*prepare data folder&lt;br /&gt;
 mkdir /home/data/&lt;br /&gt;
 chown -R www-data:www-data /home/data/&lt;br /&gt;
&lt;br /&gt;
 chown -R www-data:www-data /var/www/nextcloud/&lt;br /&gt;
 chmod -R 755 /var/www/nextcloud/&lt;br /&gt;
&lt;br /&gt;
*install certbot and create Let's Encrypt SSL-Certificate&lt;br /&gt;
 apt install certbot python3-certbot-apache&lt;br /&gt;
&lt;br /&gt;
 certbot --apache -m master@domain.com -d cloud.domain.com&lt;br /&gt;
 &lt;br /&gt;
--&amp;gt; only lasts 90 days&lt;br /&gt;
&lt;br /&gt;
*gegebenenfall das Paket cron installieren&lt;br /&gt;
 install crontab&lt;br /&gt;
 crontab -e&lt;br /&gt;
 40 3 * * 0 letsencrypt renew &amp;gt;&amp;gt; /var/log/letsencrypt-renew.log &amp;amp;&amp;amp; service apache2 reload &amp;gt; /dev/null 2&amp;gt;&amp;amp;1&lt;br /&gt;
&lt;br /&gt;
--&amp;gt; Domain ansurfen und Einrichtung abschließen&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--------------------&lt;br /&gt;
&lt;br /&gt;
Abschliessende Änderungen:&lt;br /&gt;
&lt;br /&gt;
1. Erweitern der Datei : /etc/apache2/sites-available/nextcloud-le-ssl.conf um folgenden Eintrag&lt;br /&gt;
&lt;br /&gt;
# Strict-Transport-Security:&lt;br /&gt;
  &amp;lt;VirtualHost *:443&amp;gt;&lt;br /&gt;
  ServerName cloud.nextcloud.com&lt;br /&gt;
	&amp;lt;IfModule mod_headers.c&amp;gt;&lt;br /&gt;
	  Header always set Strict-Transport-Security &amp;quot;max-age=15552000; includeSubDomains&amp;quot;&lt;br /&gt;
	&amp;lt;/IfModule&amp;gt;&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2. Erweitern der Einstellungen in der Datein  /var/www/nextcloud/config/config.php um folgenden Eintrag&lt;br /&gt;
	'default_phone_region' =&amp;gt; 'DE',&lt;br /&gt;
	&lt;br /&gt;
	(bei einer Snap Installation unter Ubuntu 20.04 liegt die Datei unter /var/snap/nextcloud/current/config/config.php)&lt;/div&gt;</summary>
		<author><name>Guenter</name></author>
	</entry>
	<entry>
		<id>https://wiki.stoehr-hermaringen.de/index.php?title=Installation_Nextcloud_unter_Ubuntu_22.04_LTS&amp;diff=86</id>
		<title>Installation Nextcloud unter Ubuntu 22.04 LTS</title>
		<link rel="alternate" type="text/html" href="https://wiki.stoehr-hermaringen.de/index.php?title=Installation_Nextcloud_unter_Ubuntu_22.04_LTS&amp;diff=86"/>
		<updated>2023-05-10T05:44:51Z</updated>

		<summary type="html">&lt;p&gt;Guenter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Diese Anleistung basiert auf folgender Anleitung:  &lt;br /&gt;
&lt;br /&gt;
[https://apfelcast.com/nextcloud-25-auf-linux-server-ubuntu-22-04-installieren-einfache-anleitung/]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Die beiden zusätzlichen Änderungen am Schuss ergeben sich nach dem überprüfen der Einstellungen in Nextcloud.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--------------------&lt;br /&gt;
&lt;br /&gt;
Nextcloud 25 Installation auf Basis Ubuntu 22.04 LTS&lt;br /&gt;
-------------------&lt;br /&gt;
&lt;br /&gt;
*Betriebsystem auf aktuellen Stand bringen&lt;br /&gt;
 apt update &amp;amp;&amp;amp; apt upgrade -y&lt;br /&gt;
&lt;br /&gt;
*Installion apache&lt;br /&gt;
 apt install apache2&lt;br /&gt;
&lt;br /&gt;
*Installion PHP 8.1 &lt;br /&gt;
 apt install software-properties-common&lt;br /&gt;
 add-apt-repository ppa:ondrej/php&lt;br /&gt;
 apt update&lt;br /&gt;
&lt;br /&gt;
*Installion PHP 8.1 &amp;amp; Module&lt;br /&gt;
 apt install php8.1 libapache2-mod-php8.1 php8.1-zip php-dompdf php8.1-xml php8.1-mbstring php8.1-gd php8.1-curl php8.1-imagick libmagickcore-6.q16-6-extra php8.1-intl php8.1-bcmath php8.1-gmp php8.1-cli php8.1-mysql php8.1-zip php8.1-gd  php8.1-mbstring php8.1-curl php8.1-xml php-pear unzip nano php8.1-apcu redis-server ufw php8.1-redis&lt;br /&gt;
&lt;br /&gt;
*anpassen der PHP.ini Datei&lt;br /&gt;
 nano /etc/php/8.1/apache2/php.ini&lt;br /&gt;
&lt;br /&gt;
 memory_limit = 1024M&lt;br /&gt;
 upload_max_filesize = 16G&lt;br /&gt;
 post_max_size = 16G&lt;br /&gt;
 date.timezone = Europe/Berlin&lt;br /&gt;
 output_buffering = Off&lt;br /&gt;
&lt;br /&gt;
*Installation Datenbank Server&lt;br /&gt;
 apt install mariadb-server&lt;br /&gt;
&lt;br /&gt;
*Maria DB Server Konfiguration&lt;br /&gt;
 mysql_secure_installation&lt;br /&gt;
&lt;br /&gt;
*öffnen SQL Dialog&lt;br /&gt;
 mysql&lt;br /&gt;
&lt;br /&gt;
*create database calles nextcloud&lt;br /&gt;
 CREATE DATABASE nextcloud; &lt;br /&gt;
&lt;br /&gt;
*create database user with password&lt;br /&gt;
 CREATE USER 'nextclouduser'@'localhost' IDENTIFIED BY 'password_here';&lt;br /&gt;
&lt;br /&gt;
*grant accesss to databse&lt;br /&gt;
 GRANT ALL PRIVILEGES ON nextcloud.* TO 'nextclouduser'@'localhost';&lt;br /&gt;
&lt;br /&gt;
*save changes and exit&lt;br /&gt;
 FLUSH PRIVILEGES;&lt;br /&gt;
 EXIT;&lt;br /&gt;
&lt;br /&gt;
# Download lastest nextcloud version&lt;br /&gt;
cd /tmp &amp;amp;&amp;amp; wget https://download.nextcloud.com/server/releases/latest.zip&lt;br /&gt;
unzip latest.zip&lt;br /&gt;
mv nextcloud /var/www/&lt;br /&gt;
&lt;br /&gt;
#create new conf&lt;br /&gt;
nano /etc/apache2/sites-available/nextcloud.conf&lt;br /&gt;
&amp;lt;VirtualHost *:80&amp;gt;&lt;br /&gt;
	 ServerAdmin master@domain.com&lt;br /&gt;
	 DocumentRoot /var/www/nextcloud/&lt;br /&gt;
	 ServerName demo.domain.com&lt;br /&gt;
	 ServerAlias www.demo.domain.com&lt;br /&gt;
  &lt;br /&gt;
	 Alias /nextcloud &amp;quot;/var/www/nextcloud/&amp;quot;&lt;br /&gt;
	 &amp;lt;Directory /var/www/nextcloud/&amp;gt;&lt;br /&gt;
		Options +FollowSymlinks&lt;br /&gt;
		AllowOverride All&lt;br /&gt;
		Require all granted&lt;br /&gt;
		  &amp;lt;IfModule mod_dav.c&amp;gt;&lt;br /&gt;
			Dav off&lt;br /&gt;
		  &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
		SetEnv HOME /var/www/nextcloud&lt;br /&gt;
		SetEnv HTTP_HOME /var/www/nextcloud&lt;br /&gt;
	 &amp;lt;/Directory&amp;gt;&lt;br /&gt;
	 ErrorLog ${APACHE_LOG_DIR}/error.log&lt;br /&gt;
	 CustomLog ${APACHE_LOG_DIR}/access.log combined&lt;br /&gt;
&amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Enable the NextCloud and Rewrite Module&lt;br /&gt;
&lt;br /&gt;
a2ensite nextcloud.conf&lt;br /&gt;
a2enmod rewrite&lt;br /&gt;
a2enmod headers&lt;br /&gt;
a2enmod env&lt;br /&gt;
a2enmod dir&lt;br /&gt;
a2enmod mime&lt;br /&gt;
&lt;br /&gt;
# restart apache&lt;br /&gt;
service apache2 restart&lt;br /&gt;
&lt;br /&gt;
# prepare data folder&lt;br /&gt;
mkdir /home/data/&lt;br /&gt;
chown -R www-data:www-data /home/data/&lt;br /&gt;
&lt;br /&gt;
chown -R www-data:www-data /var/www/nextcloud/&lt;br /&gt;
chmod -R 755 /var/www/nextcloud/&lt;br /&gt;
&lt;br /&gt;
## create Let's Encrypt SSL-Certificate&lt;br /&gt;
&lt;br /&gt;
#install certbot&lt;br /&gt;
apt install certbot python3-certbot-apache&lt;br /&gt;
&lt;br /&gt;
certbot --apache -m master@domain.com -d cloud.domain.com&lt;br /&gt;
#--&amp;gt; only lasts 90 days&lt;br /&gt;
&lt;br /&gt;
# gegebenenfall das Paket cron installieren&lt;br /&gt;
#install crontab&lt;br /&gt;
crontab -e&lt;br /&gt;
40 3 * * 0 letsencrypt renew &amp;gt;&amp;gt; /var/log/letsencrypt-renew.log &amp;amp;&amp;amp; service apache2 reload &amp;gt; /dev/null 2&amp;gt;&amp;amp;1&lt;br /&gt;
&lt;br /&gt;
--&amp;gt; Domain ansurfen und Einrichtung abschließen&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--------------------&lt;br /&gt;
&lt;br /&gt;
Abschliessende Änderungen:&lt;br /&gt;
&lt;br /&gt;
1. Erweitern der Datei : /etc/apache2/sites-available/nextcloud-le-ssl.conf um folgenden Eintrag&lt;br /&gt;
&lt;br /&gt;
# Strict-Transport-Security:&lt;br /&gt;
  &amp;lt;VirtualHost *:443&amp;gt;&lt;br /&gt;
  ServerName cloud.nextcloud.com&lt;br /&gt;
	&amp;lt;IfModule mod_headers.c&amp;gt;&lt;br /&gt;
	  Header always set Strict-Transport-Security &amp;quot;max-age=15552000; includeSubDomains&amp;quot;&lt;br /&gt;
	&amp;lt;/IfModule&amp;gt;&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2. Erweitern der Einstellungen in der Datein  /var/www/nextcloud/config/config.php um folgenden Eintrag&lt;br /&gt;
	'default_phone_region' =&amp;gt; 'DE',&lt;br /&gt;
	&lt;br /&gt;
	(bei einer Snap Installation unter Ubuntu 20.04 liegt die Datei unter /var/snap/nextcloud/current/config/config.php)&lt;/div&gt;</summary>
		<author><name>Guenter</name></author>
	</entry>
	<entry>
		<id>https://wiki.stoehr-hermaringen.de/index.php?title=Installation_Nextcloud_unter_Ubuntu_22.04_LTS&amp;diff=85</id>
		<title>Installation Nextcloud unter Ubuntu 22.04 LTS</title>
		<link rel="alternate" type="text/html" href="https://wiki.stoehr-hermaringen.de/index.php?title=Installation_Nextcloud_unter_Ubuntu_22.04_LTS&amp;diff=85"/>
		<updated>2023-05-10T05:42:56Z</updated>

		<summary type="html">&lt;p&gt;Guenter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Diese Anleistung basiert auf folgender Anleitung:  &lt;br /&gt;
&lt;br /&gt;
[https://apfelcast.com/nextcloud-25-auf-linux-server-ubuntu-22-04-installieren-einfache-anleitung/]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Die beiden zusätzlichen Änderungen am Schuss ergeben sich nach dem überprüfen der Einstellungen in Nextcloud.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--------------------&lt;br /&gt;
&lt;br /&gt;
Nextcloud 25 Installation auf Basis Ubuntu 22.04 LTS&lt;br /&gt;
-------------------&lt;br /&gt;
&lt;br /&gt;
*Betriebsystem auf aktuellen Stand bringen&lt;br /&gt;
 apt update &amp;amp;&amp;amp; apt upgrade -y&lt;br /&gt;
&lt;br /&gt;
*Installion apache&lt;br /&gt;
 apt install apache2&lt;br /&gt;
&lt;br /&gt;
*Installion PHP 8.1 &lt;br /&gt;
 apt install software-properties-common&lt;br /&gt;
 add-apt-repository ppa:ondrej/php&lt;br /&gt;
 apt update&lt;br /&gt;
&lt;br /&gt;
*Installion PHP 8.1 &amp;amp; Module&lt;br /&gt;
 apt install php8.1 libapache2-mod-php8.1 php8.1-zip php-dompdf php8.1-xml php8.1-mbstring php8.1-gd php8.1-curl php8.1-imagick libmagickcore-6.q16-6-extra php8.1-intl php8.1-bcmath php8.1-gmp php8.1-cli php8.1-mysql php8.1-zip php8.1-gd  php8.1-mbstring php8.1-curl php8.1-xml php-pear unzip nano php8.1-apcu redis-server ufw php8.1-redis&lt;br /&gt;
&lt;br /&gt;
*anpassen der PHP.ini Datei&lt;br /&gt;
 nano /etc/php/8.1/apache2/php.ini&lt;br /&gt;
&lt;br /&gt;
 memory_limit = 1024M&lt;br /&gt;
 upload_max_filesize = 16G&lt;br /&gt;
 post_max_size = 16G&lt;br /&gt;
 date.timezone = Europe/Berlin&lt;br /&gt;
 output_buffering = Off&lt;br /&gt;
&lt;br /&gt;
# Install Databse Server&lt;br /&gt;
apt install mariadb-server&lt;br /&gt;
&lt;br /&gt;
# Maria DB Server Konfiguration&lt;br /&gt;
mysql_secure_installation&lt;br /&gt;
&lt;br /&gt;
# open SQL dialoge&lt;br /&gt;
mysql&lt;br /&gt;
&lt;br /&gt;
# create database calles nextcloud&lt;br /&gt;
CREATE DATABASE nextcloud; &lt;br /&gt;
&lt;br /&gt;
# create database user with password&lt;br /&gt;
CREATE USER 'nextclouduser'@'localhost' IDENTIFIED BY 'password_here';&lt;br /&gt;
&lt;br /&gt;
#grant accesss to databse&lt;br /&gt;
GRANT ALL PRIVILEGES ON nextcloud.* TO 'nextclouduser'@'localhost';&lt;br /&gt;
&lt;br /&gt;
#save changes and exit&lt;br /&gt;
FLUSH PRIVILEGES;&lt;br /&gt;
EXIT;&lt;br /&gt;
&lt;br /&gt;
# Download lastest nextcloud version&lt;br /&gt;
cd /tmp &amp;amp;&amp;amp; wget https://download.nextcloud.com/server/releases/latest.zip&lt;br /&gt;
unzip latest.zip&lt;br /&gt;
mv nextcloud /var/www/&lt;br /&gt;
&lt;br /&gt;
#create new conf&lt;br /&gt;
nano /etc/apache2/sites-available/nextcloud.conf&lt;br /&gt;
&amp;lt;VirtualHost *:80&amp;gt;&lt;br /&gt;
	 ServerAdmin master@domain.com&lt;br /&gt;
	 DocumentRoot /var/www/nextcloud/&lt;br /&gt;
	 ServerName demo.domain.com&lt;br /&gt;
	 ServerAlias www.demo.domain.com&lt;br /&gt;
  &lt;br /&gt;
	 Alias /nextcloud &amp;quot;/var/www/nextcloud/&amp;quot;&lt;br /&gt;
	 &amp;lt;Directory /var/www/nextcloud/&amp;gt;&lt;br /&gt;
		Options +FollowSymlinks&lt;br /&gt;
		AllowOverride All&lt;br /&gt;
		Require all granted&lt;br /&gt;
		  &amp;lt;IfModule mod_dav.c&amp;gt;&lt;br /&gt;
			Dav off&lt;br /&gt;
		  &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
		SetEnv HOME /var/www/nextcloud&lt;br /&gt;
		SetEnv HTTP_HOME /var/www/nextcloud&lt;br /&gt;
	 &amp;lt;/Directory&amp;gt;&lt;br /&gt;
	 ErrorLog ${APACHE_LOG_DIR}/error.log&lt;br /&gt;
	 CustomLog ${APACHE_LOG_DIR}/access.log combined&lt;br /&gt;
&amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Enable the NextCloud and Rewrite Module&lt;br /&gt;
&lt;br /&gt;
a2ensite nextcloud.conf&lt;br /&gt;
a2enmod rewrite&lt;br /&gt;
a2enmod headers&lt;br /&gt;
a2enmod env&lt;br /&gt;
a2enmod dir&lt;br /&gt;
a2enmod mime&lt;br /&gt;
&lt;br /&gt;
# restart apache&lt;br /&gt;
service apache2 restart&lt;br /&gt;
&lt;br /&gt;
# prepare data folder&lt;br /&gt;
mkdir /home/data/&lt;br /&gt;
chown -R www-data:www-data /home/data/&lt;br /&gt;
&lt;br /&gt;
chown -R www-data:www-data /var/www/nextcloud/&lt;br /&gt;
chmod -R 755 /var/www/nextcloud/&lt;br /&gt;
&lt;br /&gt;
## create Let's Encrypt SSL-Certificate&lt;br /&gt;
&lt;br /&gt;
#install certbot&lt;br /&gt;
apt install certbot python3-certbot-apache&lt;br /&gt;
&lt;br /&gt;
certbot --apache -m master@domain.com -d cloud.domain.com&lt;br /&gt;
#--&amp;gt; only lasts 90 days&lt;br /&gt;
&lt;br /&gt;
# gegebenenfall das Paket cron installieren&lt;br /&gt;
#install crontab&lt;br /&gt;
crontab -e&lt;br /&gt;
40 3 * * 0 letsencrypt renew &amp;gt;&amp;gt; /var/log/letsencrypt-renew.log &amp;amp;&amp;amp; service apache2 reload &amp;gt; /dev/null 2&amp;gt;&amp;amp;1&lt;br /&gt;
&lt;br /&gt;
--&amp;gt; Domain ansurfen und Einrichtung abschließen&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--------------------&lt;br /&gt;
&lt;br /&gt;
Abschliessende Änderungen:&lt;br /&gt;
&lt;br /&gt;
1. Erweitern der Datei : /etc/apache2/sites-available/nextcloud-le-ssl.conf um folgenden Eintrag&lt;br /&gt;
&lt;br /&gt;
# Strict-Transport-Security:&lt;br /&gt;
  &amp;lt;VirtualHost *:443&amp;gt;&lt;br /&gt;
  ServerName cloud.nextcloud.com&lt;br /&gt;
	&amp;lt;IfModule mod_headers.c&amp;gt;&lt;br /&gt;
	  Header always set Strict-Transport-Security &amp;quot;max-age=15552000; includeSubDomains&amp;quot;&lt;br /&gt;
	&amp;lt;/IfModule&amp;gt;&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2. Erweitern der Einstellungen in der Datein  /var/www/nextcloud/config/config.php um folgenden Eintrag&lt;br /&gt;
	'default_phone_region' =&amp;gt; 'DE',&lt;br /&gt;
	&lt;br /&gt;
	(bei einer Snap Installation unter Ubuntu 20.04 liegt die Datei unter /var/snap/nextcloud/current/config/config.php)&lt;/div&gt;</summary>
		<author><name>Guenter</name></author>
	</entry>
	<entry>
		<id>https://wiki.stoehr-hermaringen.de/index.php?title=Installation_Nextcloud_unter_Ubuntu_22.04_LTS&amp;diff=84</id>
		<title>Installation Nextcloud unter Ubuntu 22.04 LTS</title>
		<link rel="alternate" type="text/html" href="https://wiki.stoehr-hermaringen.de/index.php?title=Installation_Nextcloud_unter_Ubuntu_22.04_LTS&amp;diff=84"/>
		<updated>2023-05-10T05:42:14Z</updated>

		<summary type="html">&lt;p&gt;Guenter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Diese Anleistung basiert auf folgender Anleitung:  &lt;br /&gt;
&lt;br /&gt;
[https://apfelcast.com/nextcloud-25-auf-linux-server-ubuntu-22-04-installieren-einfache-anleitung/]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Die beiden zusätzlichen Änderungen am Schuss ergeben sich nach dem überprüfen der Einstellungen in Nextcloud.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--------------------&lt;br /&gt;
&lt;br /&gt;
Nextcloud 25 Installation auf Basis Ubuntu 22.04 LTS&lt;br /&gt;
-------------------&lt;br /&gt;
&lt;br /&gt;
*Betriebsystem auf aktuellen Stand bringen&lt;br /&gt;
 apt update &amp;amp;&amp;amp; apt upgrade -y&lt;br /&gt;
&lt;br /&gt;
*Installion apache&lt;br /&gt;
 apt install apache2&lt;br /&gt;
&lt;br /&gt;
*Installion PHP 8.1 &lt;br /&gt;
 apt install software-properties-common&lt;br /&gt;
 add-apt-repository ppa:ondrej/php&lt;br /&gt;
 apt update&lt;br /&gt;
&lt;br /&gt;
*Installion PHP 8.1 &amp;amp; Module&lt;br /&gt;
 apt install php8.1 libapache2-mod-php8.1 php8.1-zip php-dompdf php8.1-xml php8.1-mbstring php8.1-gd php8.1-curl php8.1-imagick libmagickcore-6.q16-6-extra php8.1-intl php8.1-bcmath php8.1-gmp php8.1-cli php8.1-mysql php8.1-zip php8.1-gd  php8.1-mbstring php8.1-curl php8.1-xml php-pear unzip nano php8.1-apcu redis-server ufw php8.1-redis&lt;br /&gt;
&lt;br /&gt;
# adjust PHP.ini file&lt;br /&gt;
nano /etc/php/8.1/apache2/php.ini&lt;br /&gt;
&lt;br /&gt;
memory_limit = 1024M&lt;br /&gt;
upload_max_filesize = 16G&lt;br /&gt;
post_max_size = 16G&lt;br /&gt;
date.timezone = Europe/Berlin&lt;br /&gt;
output_buffering = Off&lt;br /&gt;
&lt;br /&gt;
# Install Databse Server&lt;br /&gt;
apt install mariadb-server&lt;br /&gt;
&lt;br /&gt;
# Maria DB Server Konfiguration&lt;br /&gt;
mysql_secure_installation&lt;br /&gt;
&lt;br /&gt;
# open SQL dialoge&lt;br /&gt;
mysql&lt;br /&gt;
&lt;br /&gt;
# create database calles nextcloud&lt;br /&gt;
CREATE DATABASE nextcloud; &lt;br /&gt;
&lt;br /&gt;
# create database user with password&lt;br /&gt;
CREATE USER 'nextclouduser'@'localhost' IDENTIFIED BY 'password_here';&lt;br /&gt;
&lt;br /&gt;
#grant accesss to databse&lt;br /&gt;
GRANT ALL PRIVILEGES ON nextcloud.* TO 'nextclouduser'@'localhost';&lt;br /&gt;
&lt;br /&gt;
#save changes and exit&lt;br /&gt;
FLUSH PRIVILEGES;&lt;br /&gt;
EXIT;&lt;br /&gt;
&lt;br /&gt;
# Download lastest nextcloud version&lt;br /&gt;
cd /tmp &amp;amp;&amp;amp; wget https://download.nextcloud.com/server/releases/latest.zip&lt;br /&gt;
unzip latest.zip&lt;br /&gt;
mv nextcloud /var/www/&lt;br /&gt;
&lt;br /&gt;
#create new conf&lt;br /&gt;
nano /etc/apache2/sites-available/nextcloud.conf&lt;br /&gt;
&amp;lt;VirtualHost *:80&amp;gt;&lt;br /&gt;
	 ServerAdmin master@domain.com&lt;br /&gt;
	 DocumentRoot /var/www/nextcloud/&lt;br /&gt;
	 ServerName demo.domain.com&lt;br /&gt;
	 ServerAlias www.demo.domain.com&lt;br /&gt;
  &lt;br /&gt;
	 Alias /nextcloud &amp;quot;/var/www/nextcloud/&amp;quot;&lt;br /&gt;
	 &amp;lt;Directory /var/www/nextcloud/&amp;gt;&lt;br /&gt;
		Options +FollowSymlinks&lt;br /&gt;
		AllowOverride All&lt;br /&gt;
		Require all granted&lt;br /&gt;
		  &amp;lt;IfModule mod_dav.c&amp;gt;&lt;br /&gt;
			Dav off&lt;br /&gt;
		  &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
		SetEnv HOME /var/www/nextcloud&lt;br /&gt;
		SetEnv HTTP_HOME /var/www/nextcloud&lt;br /&gt;
	 &amp;lt;/Directory&amp;gt;&lt;br /&gt;
	 ErrorLog ${APACHE_LOG_DIR}/error.log&lt;br /&gt;
	 CustomLog ${APACHE_LOG_DIR}/access.log combined&lt;br /&gt;
&amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Enable the NextCloud and Rewrite Module&lt;br /&gt;
&lt;br /&gt;
a2ensite nextcloud.conf&lt;br /&gt;
a2enmod rewrite&lt;br /&gt;
a2enmod headers&lt;br /&gt;
a2enmod env&lt;br /&gt;
a2enmod dir&lt;br /&gt;
a2enmod mime&lt;br /&gt;
&lt;br /&gt;
# restart apache&lt;br /&gt;
service apache2 restart&lt;br /&gt;
&lt;br /&gt;
# prepare data folder&lt;br /&gt;
mkdir /home/data/&lt;br /&gt;
chown -R www-data:www-data /home/data/&lt;br /&gt;
&lt;br /&gt;
chown -R www-data:www-data /var/www/nextcloud/&lt;br /&gt;
chmod -R 755 /var/www/nextcloud/&lt;br /&gt;
&lt;br /&gt;
## create Let's Encrypt SSL-Certificate&lt;br /&gt;
&lt;br /&gt;
#install certbot&lt;br /&gt;
apt install certbot python3-certbot-apache&lt;br /&gt;
&lt;br /&gt;
certbot --apache -m master@domain.com -d cloud.domain.com&lt;br /&gt;
#--&amp;gt; only lasts 90 days&lt;br /&gt;
&lt;br /&gt;
# gegebenenfall das Paket cron installieren&lt;br /&gt;
#install crontab&lt;br /&gt;
crontab -e&lt;br /&gt;
40 3 * * 0 letsencrypt renew &amp;gt;&amp;gt; /var/log/letsencrypt-renew.log &amp;amp;&amp;amp; service apache2 reload &amp;gt; /dev/null 2&amp;gt;&amp;amp;1&lt;br /&gt;
&lt;br /&gt;
--&amp;gt; Domain ansurfen und Einrichtung abschließen&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--------------------&lt;br /&gt;
&lt;br /&gt;
Abschliessende Änderungen:&lt;br /&gt;
&lt;br /&gt;
1. Erweitern der Datei : /etc/apache2/sites-available/nextcloud-le-ssl.conf um folgenden Eintrag&lt;br /&gt;
&lt;br /&gt;
# Strict-Transport-Security:&lt;br /&gt;
  &amp;lt;VirtualHost *:443&amp;gt;&lt;br /&gt;
  ServerName cloud.nextcloud.com&lt;br /&gt;
	&amp;lt;IfModule mod_headers.c&amp;gt;&lt;br /&gt;
	  Header always set Strict-Transport-Security &amp;quot;max-age=15552000; includeSubDomains&amp;quot;&lt;br /&gt;
	&amp;lt;/IfModule&amp;gt;&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2. Erweitern der Einstellungen in der Datein  /var/www/nextcloud/config/config.php um folgenden Eintrag&lt;br /&gt;
	'default_phone_region' =&amp;gt; 'DE',&lt;br /&gt;
	&lt;br /&gt;
	(bei einer Snap Installation unter Ubuntu 20.04 liegt die Datei unter /var/snap/nextcloud/current/config/config.php)&lt;/div&gt;</summary>
		<author><name>Guenter</name></author>
	</entry>
</feed>