<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://www.thomas-zenger.de/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Crimson</id>
	<title>Reboot ITS Wiki - Benutzerbeiträge [de]</title>
	<link rel="self" type="application/atom+xml" href="https://www.thomas-zenger.de/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Crimson"/>
	<link rel="alternate" type="text/html" href="https://www.thomas-zenger.de/wiki/index.php?title=Spezial:Beitr%C3%A4ge/Crimson"/>
	<updated>2026-12-02T04:20:10Z</updated>
	<subtitle>Benutzerbeiträge</subtitle>
	<generator>MediaWiki 1.31.1</generator>
	<entry>
		<id>https://www.thomas-zenger.de/wiki/index.php?title=Hauptseite&amp;diff=59</id>
		<title>Hauptseite</title>
		<link rel="alternate" type="text/html" href="https://www.thomas-zenger.de/wiki/index.php?title=Hauptseite&amp;diff=59"/>
		<updated>2018-11-14T02:19:45Z</updated>

		<summary type="html">&lt;p&gt;Crimson: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;strong&amp;gt;Willkommen auf Reboot ITS Wiki&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Dieses Wiki dient als Notizbuch und Gedächtnisstütze. Alle Vorgehensweisen wurden auf Funktion getestet. Auf eine Erklärung wird weitestgehend verzichtet.&lt;br /&gt;
&lt;br /&gt;
Eine Auflistung aller Artikel ist [https://www.thomas-zenger.de/wiki/index.php?title=Spezial:Alle_Seiten hier] zu finden&lt;/div&gt;</summary>
		<author><name>Crimson</name></author>
		
	</entry>
	<entry>
		<id>https://www.thomas-zenger.de/wiki/index.php?title=Hauptseite&amp;diff=58</id>
		<title>Hauptseite</title>
		<link rel="alternate" type="text/html" href="https://www.thomas-zenger.de/wiki/index.php?title=Hauptseite&amp;diff=58"/>
		<updated>2018-11-14T02:17:03Z</updated>

		<summary type="html">&lt;p&gt;Crimson: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;strong&amp;gt;Willkommen auf Reboot ITS Wiki&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Dieses Wiki dient als Notizbuch und Gedächtnisstütze.&lt;/div&gt;</summary>
		<author><name>Crimson</name></author>
		
	</entry>
	<entry>
		<id>https://www.thomas-zenger.de/wiki/index.php?title=Server_1st_Steps&amp;diff=57</id>
		<title>Server 1st Steps</title>
		<link rel="alternate" type="text/html" href="https://www.thomas-zenger.de/wiki/index.php?title=Server_1st_Steps&amp;diff=57"/>
		<updated>2018-11-13T18:46:35Z</updated>

		<summary type="html">&lt;p&gt;Crimson: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Server]][[Category:Software]][[Category:Scripts]]&lt;br /&gt;
&lt;br /&gt;
Auf dieser Seite werden Tools, Scripts und Konfigurationseinstellungen aufgelistet, welche den Server absichern.&lt;br /&gt;
&lt;br /&gt;
==Apticron==&lt;br /&gt;
&lt;br /&gt;
Apticron benachrichtigt den Administrator über verfügbare Updates per eMail. Hierzu wird Postfix verwendet.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt-get install postfix libsasl2-modules bsd-mailx &lt;br /&gt;
&lt;br /&gt;
sudo apt-get install apticron&lt;br /&gt;
&lt;br /&gt;
#Konfiguration&lt;br /&gt;
sudo dpkg-reconfigure apticron &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Benachrichtigung bei SSH Login==&lt;br /&gt;
&lt;br /&gt;
Mit Hilfe von S-Nail und einem Script wird der Admin bei jedem Anmeldeversuch per SSH per eMail benachrichtigt.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt install s-nail&lt;br /&gt;
&lt;br /&gt;
sudo nano /opt/shell-login.sh&lt;br /&gt;
&lt;br /&gt;
    #!/bin/bash&lt;br /&gt;
    echo &amp;quot;Login auf $(hostname) am $(date +%Y-%m-%d) um $(date +%H:%M)&amp;quot;&lt;br /&gt;
    echo &amp;quot;Benutzer: $USER&amp;quot;&lt;br /&gt;
    echo&lt;br /&gt;
    pinky&lt;br /&gt;
&lt;br /&gt;
sudo nano /etc/profile&lt;br /&gt;
    #Zeile anhängen&lt;br /&gt;
    /opt/shell-login.sh | mailx -s &amp;quot;Betreff&amp;quot; mail@adress.com&lt;br /&gt;
&lt;br /&gt;
sudo chmod 755 /opt/shell-login.sh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Fail2Ban ==&lt;br /&gt;
Mit Fail2Ban kann der SSH Zugang zusätzlich abgesichert werden.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt install fail2ban&lt;br /&gt;
&lt;br /&gt;
sudo cp /etc/fail2ban/jail.conf /etc/fail2ban/jail.local&lt;br /&gt;
&lt;br /&gt;
sudo nano /etc/fail2ban/jail.local&lt;br /&gt;
&lt;br /&gt;
[...]&lt;br /&gt;
[DEFAULT]&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# MISCELLANEOUS OPTIONS&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
# &amp;quot;ignoreip&amp;quot; can be an IP address, a CIDR mask or a DNS host. Fail2ban will not&lt;br /&gt;
# ban a host which matches an address in this list. Several addresses can be&lt;br /&gt;
# defined using space (and/or comma) separator.&lt;br /&gt;
ignoreip = 192.168.0.0/24&lt;br /&gt;
&lt;br /&gt;
# External command that will take an tagged arguments to ignore, e.g. &amp;lt;ip&amp;gt;,&lt;br /&gt;
# and return true if the IP is to be ignored. False otherwise.&lt;br /&gt;
#&lt;br /&gt;
# ignorecommand = /path/to/command &amp;lt;ip&amp;gt;&lt;br /&gt;
ignorecommand =&lt;br /&gt;
&lt;br /&gt;
# &amp;quot;bantime&amp;quot; is the number of seconds that a host is banned.&lt;br /&gt;
bantime  = 1h&lt;br /&gt;
&lt;br /&gt;
# A host is banned if it has generated &amp;quot;maxretry&amp;quot; during the last &amp;quot;findtime&amp;quot;&lt;br /&gt;
# seconds.&lt;br /&gt;
findtime  = 10min&lt;br /&gt;
&lt;br /&gt;
# &amp;quot;maxretry&amp;quot; is the number of failures before a host get banned.&lt;br /&gt;
maxretry = 5&lt;br /&gt;
&lt;br /&gt;
[...]&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# SSH servers&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
[sshd]&lt;br /&gt;
&lt;br /&gt;
enabled	= true&lt;br /&gt;
port    = ssh&lt;br /&gt;
filter	= sshd&lt;br /&gt;
logpath	= /var/log/auth.log&lt;br /&gt;
maxretry = 4&lt;br /&gt;
&lt;br /&gt;
[...]&lt;br /&gt;
&lt;br /&gt;
sudo systemctl restart fail2ban.service &lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Laufwerke überwachen==&lt;br /&gt;
Mit Hilfe von smartmontools werden die Laufwerke überwacht und der Admin per eMail über Fehler informiert.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt install smartmontools&lt;br /&gt;
&lt;br /&gt;
sudo nano /etc/default/smartmontools&lt;br /&gt;
     start_smartd=yes&lt;br /&gt;
&lt;br /&gt;
sudo nano /etc/smartd.conf&lt;br /&gt;
    /dev/sda -d ata -n standby -a -I 194 -W 6,50,55 -R 5 -M daily -M test -m servernews@mail.de&lt;br /&gt;
    /dev/sdb -d ata -n standby -a -I 194 -W 6,50,55 -R 5 -M daily -M test -m servernews@mail.de&lt;br /&gt;
    /dev/sdc -d ata -n standby -a -I 194 -W 6,50,55 -R 5 -M daily -M test -m servernews@mail.de&lt;br /&gt;
    /dev/sdd -d ata -n standby -a -I 194 -W 6,50,55 -R 5 -M daily -M test -m servernews@mail.de&lt;br /&gt;
    /dev/sde -d ata -n standby -a -I 194 -W 6,50,55 -R 5 -M daily -M test -m servernews@mail.de&lt;br /&gt;
&lt;br /&gt;
sudo smartd -q onecheck&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==IP Tables==&lt;br /&gt;
Mit Hilfe von iptables wird der IP-Paketfilter des Linuxkernels konfiguriert. Mit Hilfe von iptables-persitent werden die erstellten Regeln automatisch gespeichert.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt-get install iptables&lt;br /&gt;
sudo apt-get install iptables-persistent&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Zunächst wird mit folgendem Befehl verhindert, dass die aktuellen SSH-Sessions geschlossen werden.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo iptables -A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Im Nachfolgenden werden die Filteregeln erstellt und den sogenannten Chains hinzugefügt.&lt;br /&gt;
Der erste Befehl erlaubt den Zugriff von der lokalen IP Adresse 192.168.0.50 aus. Der zweite Befehl erlaubt die IP-Adressen von 192.168.0.1 bis 192.168.0.254.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo iptables -A INPUT -s 192.168.0.50 -p tcp --dport 28100 -j ACCEPT&lt;br /&gt;
sudo iptables -A INPUT -s 192.168.0.0/24 -p tcp --dport 28100 -j ACCEPT&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Mit Hilfe des Befehls &amp;quot;iptables -L&amp;quot; werden alle Chains und die dazugehörigen Filterregeln aufgelistet. Diese werden anschließen gespeichert, damit sie beim nächsten Reboot nicht erneut geladen werden müssen.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo iptables -L&lt;br /&gt;
&lt;br /&gt;
sudo bash -c &amp;quot;iptables-save &amp;gt; /etc/iptables/rules.v4&amp;quot;&lt;br /&gt;
sudo bash -c &amp;quot;iptables-save &amp;gt; /etc/iptables/rules.v6&amp;quot;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==RK Hunter==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt install rkhunter&lt;br /&gt;
&lt;br /&gt;
sudo nano /etc/rkhunter.conf&lt;br /&gt;
&lt;br /&gt;
MAIL-ON-WARNING=&amp;quot;servernews@mail.de&amp;quot;&lt;br /&gt;
&lt;br /&gt;
sudo rkhunter --check&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Gegebenenfalls erhält man beim ersten Durchlauf Warnungen. Diese sogenannten false-positive können mithilfe einer Whitelist beseitigt werden.&lt;br /&gt;
&lt;br /&gt;
== Weblink ==&lt;br /&gt;
&lt;br /&gt;
* [https://www.thomas-krenn.com/de/wiki/Absicherung_eines_Debian_Servers Thomas Krenn - Absicherung eines Debian Servers]&lt;br /&gt;
* [https://wiki.ubuntuusers.de/Postfix/#Authentifizierung-am-Smarthost Wiki ubuntuusers.de - Postfix]&lt;br /&gt;
* [https://wiki.ubuntuusers.de/apticron/ Wiki ubuntuusersers.de - apticron]&lt;br /&gt;
* [https://wiki.ubuntuusers.de/iptables2/#Einsatz-von-iptables Wiki ubuntuusers.de - iptables2]&lt;br /&gt;
* [https://www.thomas-krenn.com/de/wiki/Iptables_Firewall_Regeln_dauerhaft_speichern Thomas Krenn - Iptables Firewall Regeln dauerhaft speichern]&lt;/div&gt;</summary>
		<author><name>Crimson</name></author>
		
	</entry>
	<entry>
		<id>https://www.thomas-zenger.de/wiki/index.php?title=Server_1st_Steps&amp;diff=56</id>
		<title>Server 1st Steps</title>
		<link rel="alternate" type="text/html" href="https://www.thomas-zenger.de/wiki/index.php?title=Server_1st_Steps&amp;diff=56"/>
		<updated>2018-11-13T18:36:41Z</updated>

		<summary type="html">&lt;p&gt;Crimson: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Server]][[Category:Software]][[Category:Scripts]]&lt;br /&gt;
&lt;br /&gt;
Auf dieser Seite werden Tools, Scripts und Konfigurationseinstellungen aufgelistet, welche den Server absichern.&lt;br /&gt;
&lt;br /&gt;
==Apticron==&lt;br /&gt;
&lt;br /&gt;
Apticron benachrichtigt den Administrator über verfügbare Updates per eMail. Hierzu wird Postfix verwendet.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt-get install postfix libsasl2-modules bsd-mailx &lt;br /&gt;
&lt;br /&gt;
sudo apt-get install apticron&lt;br /&gt;
&lt;br /&gt;
#Konfiguration&lt;br /&gt;
sudo dpkg-reconfigure apticron &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Benachrichtigung bei SSH Login==&lt;br /&gt;
&lt;br /&gt;
Mit Hilfe von S-Nail und einem Script wird der Admin bei jedem Anmeldeversuch per SSH per eMail benachrichtigt.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt install s-nail&lt;br /&gt;
&lt;br /&gt;
sudo nano /opt/shell-login.sh&lt;br /&gt;
&lt;br /&gt;
    #!/bin/bash&lt;br /&gt;
    echo &amp;quot;Login auf $(hostname) am $(date +%Y-%m-%d) um $(date +%H:%M)&amp;quot;&lt;br /&gt;
    echo &amp;quot;Benutzer: $USER&amp;quot;&lt;br /&gt;
    echo&lt;br /&gt;
    pinky&lt;br /&gt;
&lt;br /&gt;
sudo nano /etc/profile&lt;br /&gt;
    #Zeile anhängen&lt;br /&gt;
    /opt/shell-login.sh | mailx -s &amp;quot;Betreff&amp;quot; mail@adress.com&lt;br /&gt;
&lt;br /&gt;
sudo chmod 755 /opt/shell-login.sh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Fail2Ban ==&lt;br /&gt;
Mit Fail2Ban kann der SSH Zugang zusätzlich abgesichert werden.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt install fail2ban&lt;br /&gt;
&lt;br /&gt;
sudo cp /etc/fail2ban/jail.conf /etc/fail2ban/jail.local&lt;br /&gt;
&lt;br /&gt;
sudo nano /etc/fail2ban/jail.local&lt;br /&gt;
&lt;br /&gt;
[...]&lt;br /&gt;
[DEFAULT]&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# MISCELLANEOUS OPTIONS&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
# &amp;quot;ignoreip&amp;quot; can be an IP address, a CIDR mask or a DNS host. Fail2ban will not&lt;br /&gt;
# ban a host which matches an address in this list. Several addresses can be&lt;br /&gt;
# defined using space (and/or comma) separator.&lt;br /&gt;
ignoreip = 192.168.0.0/24&lt;br /&gt;
&lt;br /&gt;
# External command that will take an tagged arguments to ignore, e.g. &amp;lt;ip&amp;gt;,&lt;br /&gt;
# and return true if the IP is to be ignored. False otherwise.&lt;br /&gt;
#&lt;br /&gt;
# ignorecommand = /path/to/command &amp;lt;ip&amp;gt;&lt;br /&gt;
ignorecommand =&lt;br /&gt;
&lt;br /&gt;
# &amp;quot;bantime&amp;quot; is the number of seconds that a host is banned.&lt;br /&gt;
bantime  = 1h&lt;br /&gt;
&lt;br /&gt;
# A host is banned if it has generated &amp;quot;maxretry&amp;quot; during the last &amp;quot;findtime&amp;quot;&lt;br /&gt;
# seconds.&lt;br /&gt;
findtime  = 10min&lt;br /&gt;
&lt;br /&gt;
# &amp;quot;maxretry&amp;quot; is the number of failures before a host get banned.&lt;br /&gt;
maxretry = 5&lt;br /&gt;
&lt;br /&gt;
[...]&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# SSH servers&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
[sshd]&lt;br /&gt;
&lt;br /&gt;
enabled	= true&lt;br /&gt;
port    = ssh&lt;br /&gt;
filter	= sshd&lt;br /&gt;
logpath	= /var/log/auth.log&lt;br /&gt;
maxretry = 4&lt;br /&gt;
&lt;br /&gt;
[...]&lt;br /&gt;
&lt;br /&gt;
sudo systemctl restart fail2ban.service &lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Laufwerke überwachen==&lt;br /&gt;
Mit Hilfe von smartmontools werden die Laufwerke überwacht und der Admin per eMail über Fehler informiert.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt install smartmontools&lt;br /&gt;
&lt;br /&gt;
sudo nano /etc/default/smartmontools&lt;br /&gt;
     start_smartd=yes&lt;br /&gt;
&lt;br /&gt;
sudo nano /etc/smartd.conf&lt;br /&gt;
    /dev/sda -d ata -n standby -a -I 194 -W 6,50,55 -R 5 -M daily -M test -m servernews@mail.de&lt;br /&gt;
    /dev/sdb -d ata -n standby -a -I 194 -W 6,50,55 -R 5 -M daily -M test -m servernews@mail.de&lt;br /&gt;
    /dev/sdc -d ata -n standby -a -I 194 -W 6,50,55 -R 5 -M daily -M test -m servernews@mail.de&lt;br /&gt;
    /dev/sdd -d ata -n standby -a -I 194 -W 6,50,55 -R 5 -M daily -M test -m servernews@mail.de&lt;br /&gt;
    /dev/sde -d ata -n standby -a -I 194 -W 6,50,55 -R 5 -M daily -M test -m servernews@mail.de&lt;br /&gt;
&lt;br /&gt;
sudo smartd -q onecheck&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==IP Tables==&lt;br /&gt;
Mit Hilfe von iptables wird der IP-Paketfilter des Linuxkernels konfiguriert. Mit Hilfe von iptables-persitent werden die erstellten Regeln automatisch gespeichert.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt-get install iptables&lt;br /&gt;
sudo apt-get install iptables-persistent&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Zunächst wird mit folgendem Befehl verhindert, dass die aktuellen SSH-Sessions geschlossen werden.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo iptables -A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Im Nachfolgenden werden die Filteregeln erstellt und den sogenannten Chains hinzugefügt.&lt;br /&gt;
Der erste Befehl erlaubt den Zugriff von der lokalen IP Adresse 192.168.0.50 aus. Der zweite Befehl erlaubt die IP-Adressen von 192.168.0.1 bis 192.168.0.254.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo iptables -A INPUT -s 192.168.0.50 -p tcp --dport 28100 -j ACCEPT&lt;br /&gt;
sudo iptables -A INPUT -s 192.168.0.0/24 -p tcp --dport 28100 -j ACCEPT&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Mit Hilfe des Befehls &amp;quot;iptables -L&amp;quot; werden alle Chains und die dazugehörigen Filterregeln aufgelistet. Diese werden anschließen gespeichert, damit sie beim nächsten Reboot nicht erneut geladen werden müssen.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo iptables -L&lt;br /&gt;
&lt;br /&gt;
sudo bash -c &amp;quot;iptables-save &amp;gt; /etc/iptables/rules.v4&amp;quot;&lt;br /&gt;
sudo bash -c &amp;quot;iptables-save &amp;gt; /etc/iptables/rules.v6&amp;quot;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Weblink ==&lt;br /&gt;
&lt;br /&gt;
* [https://www.thomas-krenn.com/de/wiki/Absicherung_eines_Debian_Servers Thomas Krenn - Absicherung eines Debian Servers]&lt;br /&gt;
* [https://wiki.ubuntuusers.de/Postfix/#Authentifizierung-am-Smarthost Wiki ubuntuusers.de - Postfix]&lt;br /&gt;
* [https://wiki.ubuntuusers.de/apticron/ Wiki ubuntuusersers.de - apticron]&lt;br /&gt;
* [https://wiki.ubuntuusers.de/iptables2/#Einsatz-von-iptables Wiki ubuntuusers.de - iptables2]&lt;br /&gt;
* [https://www.thomas-krenn.com/de/wiki/Iptables_Firewall_Regeln_dauerhaft_speichern Thomas Krenn - Iptables Firewall Regeln dauerhaft speichern]&lt;/div&gt;</summary>
		<author><name>Crimson</name></author>
		
	</entry>
	<entry>
		<id>https://www.thomas-zenger.de/wiki/index.php?title=Server_1st_Steps&amp;diff=55</id>
		<title>Server 1st Steps</title>
		<link rel="alternate" type="text/html" href="https://www.thomas-zenger.de/wiki/index.php?title=Server_1st_Steps&amp;diff=55"/>
		<updated>2018-11-13T18:19:02Z</updated>

		<summary type="html">&lt;p&gt;Crimson: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Server]][[Category:Software]][[Category:Scripts]]&lt;br /&gt;
&lt;br /&gt;
Auf dieser Seite werden Tools, Scripts und Konfigurationseinstellungen aufgelistet, welche den Server absichern.&lt;br /&gt;
&lt;br /&gt;
==Apticron==&lt;br /&gt;
&lt;br /&gt;
Apticron benachrichtigt den Administrator über verfügbare Updates per eMail. Hierzu wird Postfix verwendet.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt-get install postfix libsasl2-modules bsd-mailx &lt;br /&gt;
&lt;br /&gt;
sudo apt-get install apticron&lt;br /&gt;
&lt;br /&gt;
#Konfiguration&lt;br /&gt;
sudo dpkg-reconfigure apticron &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Benachrichtigung bei SSH Login==&lt;br /&gt;
&lt;br /&gt;
Mit Hilfe von S-Nail und einem Script wird der Admin bei jedem Anmeldeversuch per SSH per eMail benachrichtigt.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt install s-nail&lt;br /&gt;
&lt;br /&gt;
sudo nano /opt/shell-login.sh&lt;br /&gt;
&lt;br /&gt;
    #!/bin/bash&lt;br /&gt;
    echo &amp;quot;Login auf $(hostname) am $(date +%Y-%m-%d) um $(date +%H:%M)&amp;quot;&lt;br /&gt;
    echo &amp;quot;Benutzer: $USER&amp;quot;&lt;br /&gt;
    echo&lt;br /&gt;
    pinky&lt;br /&gt;
&lt;br /&gt;
sudo nano /etc/profile&lt;br /&gt;
    #Zeile anhängen&lt;br /&gt;
    /opt/shell-login.sh | mailx -s &amp;quot;Betreff&amp;quot; mail@adress.com&lt;br /&gt;
&lt;br /&gt;
sudo chmod 755 /opt/shell-login.sh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Laufwerke überwachen==&lt;br /&gt;
Mit Hilfe von smartmontools werden die Laufwerke überwacht und der Admin per eMail über Fehler informiert.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt install smartmontools&lt;br /&gt;
&lt;br /&gt;
sudo nano /etc/default/smartmontools&lt;br /&gt;
     start_smartd=yes&lt;br /&gt;
&lt;br /&gt;
sudo nano /etc/smartd.conf&lt;br /&gt;
    /dev/sda -d ata -n standby -a -I 194 -W 6,50,55 -R 5 -M daily -M test -m servernews@mail.de&lt;br /&gt;
    /dev/sdb -d ata -n standby -a -I 194 -W 6,50,55 -R 5 -M daily -M test -m servernews@mail.de&lt;br /&gt;
    /dev/sdc -d ata -n standby -a -I 194 -W 6,50,55 -R 5 -M daily -M test -m servernews@mail.de&lt;br /&gt;
    /dev/sdd -d ata -n standby -a -I 194 -W 6,50,55 -R 5 -M daily -M test -m servernews@mail.de&lt;br /&gt;
    /dev/sde -d ata -n standby -a -I 194 -W 6,50,55 -R 5 -M daily -M test -m servernews@mail.de&lt;br /&gt;
&lt;br /&gt;
sudo smartd -q onecheck&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==IP Tables==&lt;br /&gt;
Mit Hilfe von iptables wird der IP-Paketfilter des Linuxkernels konfiguriert. Mit Hilfe von iptables-persitent werden die erstellten Regeln automatisch gespeichert.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt-get install iptables&lt;br /&gt;
sudo apt-get install iptables-persistent&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Zunächst wird mit folgendem Befehl verhindert, dass die aktuellen SSH-Sessions geschlossen werden.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo iptables -A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Im Nachfolgenden werden die Filteregeln erstellt und den sogenannten Chains hinzugefügt.&lt;br /&gt;
Der erste Befehl erlaubt den Zugriff von der lokalen IP Adresse 192.168.0.50 aus. Der zweite Befehl erlaubt die IP-Adressen von 192.168.0.1 bis 192.168.0.254.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo iptables -A INPUT -s 192.168.0.50 -p tcp --dport 28100 -j ACCEPT&lt;br /&gt;
sudo iptables -A INPUT -s 192.168.0.0/24 -p tcp --dport 28100 -j ACCEPT&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Mit Hilfe des Befehls &amp;quot;iptables -L&amp;quot; werden alle Chains und die dazugehörigen Filterregeln aufgelistet. Diese werden anschließen gespeichert, damit sie beim nächsten Reboot nicht erneut geladen werden müssen.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo iptables -L&lt;br /&gt;
&lt;br /&gt;
sudo bash -c &amp;quot;iptables-save &amp;gt; /etc/iptables/rules.v4&amp;quot;&lt;br /&gt;
sudo bash -c &amp;quot;iptables-save &amp;gt; /etc/iptables/rules.v6&amp;quot;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Weblink ==&lt;br /&gt;
&lt;br /&gt;
* [https://www.thomas-krenn.com/de/wiki/Absicherung_eines_Debian_Servers Thomas Krenn - Absicherung eines Debian Servers]&lt;br /&gt;
* [https://wiki.ubuntuusers.de/Postfix/#Authentifizierung-am-Smarthost Wiki ubuntuusers.de - Postfix]&lt;br /&gt;
* [https://wiki.ubuntuusers.de/apticron/ Wiki ubuntuusersers.de - apticron]&lt;br /&gt;
* [https://wiki.ubuntuusers.de/iptables2/#Einsatz-von-iptables Wiki ubuntuusers.de - iptables2]&lt;br /&gt;
* [https://www.thomas-krenn.com/de/wiki/Iptables_Firewall_Regeln_dauerhaft_speichern Thomas Krenn - Iptables Firewall Regeln dauerhaft speichern]&lt;/div&gt;</summary>
		<author><name>Crimson</name></author>
		
	</entry>
	<entry>
		<id>https://www.thomas-zenger.de/wiki/index.php?title=Server_1st_Steps&amp;diff=54</id>
		<title>Server 1st Steps</title>
		<link rel="alternate" type="text/html" href="https://www.thomas-zenger.de/wiki/index.php?title=Server_1st_Steps&amp;diff=54"/>
		<updated>2018-11-07T16:26:22Z</updated>

		<summary type="html">&lt;p&gt;Crimson: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Server]][[Category:Software]][[Category:Scripts]]&lt;br /&gt;
&lt;br /&gt;
Auf dieser Seite werden Tools, Scripts und Konfigurationseinstellungen aufgelistet, welche den Server absichern.&lt;br /&gt;
&lt;br /&gt;
==Apticron==&lt;br /&gt;
&lt;br /&gt;
Apticron benachrichtigt den Administrator über verfügbare Updates per eMail. Hierzu wird Postfix verwendet.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt-get install postfix libsasl2-modules bsd-mailx &lt;br /&gt;
&lt;br /&gt;
sudo apt-get install apticron&lt;br /&gt;
&lt;br /&gt;
#Konfiguration&lt;br /&gt;
sudo dpkg-reconfigure apticron &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Benachrichtigung bei SSH Login==&lt;br /&gt;
&lt;br /&gt;
Mit Hilfe von S-Nail und einem Script wird der Admin bei jedem Anmeldeversuch per SSH per eMail benachrichtigt.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt install s-nail&lt;br /&gt;
&lt;br /&gt;
sudo nano /opt/shell-login.sh&lt;br /&gt;
&lt;br /&gt;
    #!/bin/bash&lt;br /&gt;
    echo &amp;quot;Login auf $(hostname) am $(date +%Y-%m-%d) um $(date +%H:%M)&amp;quot;&lt;br /&gt;
    echo &amp;quot;Benutzer: $USER&amp;quot;&lt;br /&gt;
    echo&lt;br /&gt;
    pinky&lt;br /&gt;
&lt;br /&gt;
sudo nano /etc/profile&lt;br /&gt;
    #Zeile anhängen&lt;br /&gt;
    /opt/shell-login.sh | mailx -s &amp;quot;Betreff&amp;quot; mail@adress.com&lt;br /&gt;
&lt;br /&gt;
sudo chmod 755 /opt/shell-login.sh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Laufwerke überwachen==&lt;br /&gt;
Mit Hilfe von smartmontools werden die Laufwerke überwacht und der Admin per eMail über Fehler informiert.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt install smartmontools&lt;br /&gt;
&lt;br /&gt;
sudo nano /etc/default/smartmontools&lt;br /&gt;
     start_smartd=yes&lt;br /&gt;
&lt;br /&gt;
sudo nano /etc/smartd.conf&lt;br /&gt;
    /dev/sda -d ata -n standby -a -I 194 -W 6,50,55 -R 5 -M daily -M test -m servernews@mail.de&lt;br /&gt;
    /dev/sdb -d ata -n standby -a -I 194 -W 6,50,55 -R 5 -M daily -M test -m servernews@mail.de&lt;br /&gt;
    /dev/sdc -d ata -n standby -a -I 194 -W 6,50,55 -R 5 -M daily -M test -m servernews@mail.de&lt;br /&gt;
    /dev/sdd -d ata -n standby -a -I 194 -W 6,50,55 -R 5 -M daily -M test -m servernews@mail.de&lt;br /&gt;
    /dev/sde -d ata -n standby -a -I 194 -W 6,50,55 -R 5 -M daily -M test -m servernews@mail.de&lt;br /&gt;
&lt;br /&gt;
sudo smartd -q onecheck&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Weblink ==&lt;br /&gt;
&lt;br /&gt;
* [https://www.thomas-krenn.com/de/wiki/Absicherung_eines_Debian_Servers Thomas Krenn - Absicherung eines Debian Servers]&lt;br /&gt;
* [https://wiki.ubuntuusers.de/Postfix/#Authentifizierung-am-Smarthost Wiki ubuntuusers.de - Postfix]&lt;br /&gt;
* [https://wiki.ubuntuusers.de/apticron/ Wiki ubuntuusersers.de - apticron]&lt;/div&gt;</summary>
		<author><name>Crimson</name></author>
		
	</entry>
	<entry>
		<id>https://www.thomas-zenger.de/wiki/index.php?title=Server_1st_Steps&amp;diff=53</id>
		<title>Server 1st Steps</title>
		<link rel="alternate" type="text/html" href="https://www.thomas-zenger.de/wiki/index.php?title=Server_1st_Steps&amp;diff=53"/>
		<updated>2018-11-07T16:11:38Z</updated>

		<summary type="html">&lt;p&gt;Crimson: Die Seite wurde neu angelegt: „Category:ServerCategory:SoftwareCategory:Scripts  Auf dieser Seite werden Tools, Scripts und Konfigurationseinstellungen aufgelistet, welche den Se…“&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Server]][[Category:Software]][[Category:Scripts]]&lt;br /&gt;
&lt;br /&gt;
Auf dieser Seite werden Tools, Scripts und Konfigurationseinstellungen aufgelistet, welche den Server absichern.&lt;br /&gt;
&lt;br /&gt;
==Apticron==&lt;br /&gt;
&lt;br /&gt;
Apticron benachrichtigt den Administrator über verfügbare Updates per eMail. Hierzu wird Postfix verwendet.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt-get install postfix libsasl2-modules bsd-mailx &lt;br /&gt;
&lt;br /&gt;
sudo apt-get install apticron&lt;br /&gt;
&lt;br /&gt;
#Konfiguration&lt;br /&gt;
sudo dpkg-reconfigure apticron &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Benachrichtigung bei SSH Login==&lt;br /&gt;
&lt;br /&gt;
Mit Hilfe von S-Nail und einem Script wird der Admin bei jedem Anmeldeversuch per SSH per eMail benachrichtigt.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt install s-nail&lt;br /&gt;
&lt;br /&gt;
sudo nano /opt/shell-login.sh&lt;br /&gt;
&lt;br /&gt;
    #!/bin/bash&lt;br /&gt;
    echo &amp;quot;Login auf $(hostname) am $(date +%Y-%m-%d) um $(date +%H:%M)&amp;quot;&lt;br /&gt;
    echo &amp;quot;Benutzer: $USER&amp;quot;&lt;br /&gt;
    echo&lt;br /&gt;
    pinky&lt;br /&gt;
&lt;br /&gt;
sudo nano /etc/profile&lt;br /&gt;
    #Zeile anhängen&lt;br /&gt;
    /opt/shell-login.sh | mailx -s &amp;quot;Betreff&amp;quot; mail@adress.com&lt;br /&gt;
&lt;br /&gt;
sudo chmod 755 /opt/shell-login.sh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Weblink ==&lt;br /&gt;
&lt;br /&gt;
* [https://www.thomas-krenn.com/de/wiki/Absicherung_eines_Debian_Servers Thomas Krenn - Absicherung eines Debian Servers]&lt;br /&gt;
* [https://wiki.ubuntuusers.de/Postfix/#Authentifizierung-am-Smarthost Wiki ubuntuusers.de - Postfix]&lt;br /&gt;
* [https://wiki.ubuntuusers.de/apticron/ Wiki ubuntuusersers.de - apticron]&lt;/div&gt;</summary>
		<author><name>Crimson</name></author>
		
	</entry>
	<entry>
		<id>https://www.thomas-zenger.de/wiki/index.php?title=LVM&amp;diff=52</id>
		<title>LVM</title>
		<link rel="alternate" type="text/html" href="https://www.thomas-zenger.de/wiki/index.php?title=LVM&amp;diff=52"/>
		<updated>2018-11-07T14:37:05Z</updated>

		<summary type="html">&lt;p&gt;Crimson: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Server]]&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt-get install lvm2 &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Konfiguration==&lt;br /&gt;
&lt;br /&gt;
Die Physical Volumes (hier: HDDs) '''sdb''' und '''sdc''' werden zu einem logischen Volume zusammengefasst.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#Anzeigen der verfügbaren Disks&lt;br /&gt;
sudo lvmdiskscan&lt;br /&gt;
&lt;br /&gt;
#Storage Devices als LVM physical volumes markieren (Schreibt einen LVM Header)&lt;br /&gt;
sudo pvcreate /dev/sdb /dev/sdc&lt;br /&gt;
&lt;br /&gt;
#Volume Group odin_storage erstellen&lt;br /&gt;
sudo vgcreate odin_data /dev/sdb /dev/sdc&lt;br /&gt;
&lt;br /&gt;
#Logical Volume storage erstellen (ganze Speicherkapazität)&lt;br /&gt;
sudo lvcreate -l 100%FREE -n data odin_data&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Umzug==&lt;br /&gt;
&lt;br /&gt;
Um eine Volume Group auf ein anderes System zu migrieren sind folgende Schritte notwendig.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo umount /mnt/data&lt;br /&gt;
sudo cryptsetup luksClose data&lt;br /&gt;
&lt;br /&gt;
sudo vgchange -an data&lt;br /&gt;
&lt;br /&gt;
sudo vgexport data&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Mit diesen Befehlen wurde die Volume Group aus dem aktuellen System exportiert. Nun muss die VG ins neue System eingebunden werden.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#listet exportierte VG&lt;br /&gt;
sudo pvscan&lt;br /&gt;
&lt;br /&gt;
#LVM2&lt;br /&gt;
sudo vgimport data&lt;br /&gt;
&lt;br /&gt;
sudo vgchange -ay data&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Weblink ==&lt;br /&gt;
&lt;br /&gt;
* [https://www.digitalocean.com/community/tutorials/how-to-use-lvm-to-manage-storage-devices-on-ubuntu-16-04 Digital Ocean - How To Use LVM To Manage Storage ]&lt;br /&gt;
* [http://www.linuxhaven.de/dlhp/HOWTO/DE-LVM-HOWTO-3.html Linuxhaven - LVM HowTo]&lt;br /&gt;
* [https://wiki.ubuntuusers.de/Logical_Volume_Manager Wiki ubuntuusers.de - LVM]&lt;br /&gt;
* [https://www.tldp.org/HOWTO/LVM-HOWTO/recipemovevgtonewsys.html The Linux Documentation Project - LVM HOWTO]&lt;/div&gt;</summary>
		<author><name>Crimson</name></author>
		
	</entry>
	<entry>
		<id>https://www.thomas-zenger.de/wiki/index.php?title=LVM&amp;diff=51</id>
		<title>LVM</title>
		<link rel="alternate" type="text/html" href="https://www.thomas-zenger.de/wiki/index.php?title=LVM&amp;diff=51"/>
		<updated>2018-11-07T14:35:52Z</updated>

		<summary type="html">&lt;p&gt;Crimson: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Server]]&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt-get install lvm2 &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Konfiguration==&lt;br /&gt;
&lt;br /&gt;
Die Physical Volumes (hier: HDDs) '''sdb''' und '''sdc''' werden zu einem logischen Volume zusammengefasst.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#Anzeigen der verfügbaren Disks&lt;br /&gt;
sudo lvmdiskscan&lt;br /&gt;
&lt;br /&gt;
#Storage Devices als LVM physical volumes markieren (Schreibt einen LVM Header)&lt;br /&gt;
sudo pvcreate /dev/sdb /dev/sdc&lt;br /&gt;
&lt;br /&gt;
#Volume Group odin_storage erstellen&lt;br /&gt;
sudo vgcreate odin_data /dev/sdb /dev/sdc&lt;br /&gt;
&lt;br /&gt;
#Logical Volume storage erstellen (ganze Speicherkapazität)&lt;br /&gt;
sudo lvcreate -l 100%FREE -n data odin_data&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Umzug==&lt;br /&gt;
&lt;br /&gt;
Um eine Volume Group auf ein anderes System zu migrieren sind folgende Schritte notwendig.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo umount /mnt/data&lt;br /&gt;
sudo cryptsetup luksClose data&lt;br /&gt;
&lt;br /&gt;
sudo vgchange -an data&lt;br /&gt;
&lt;br /&gt;
sudo vgexport data&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Mit diesen Befehlen wurde die Volume Group aus dem aktuellen System exportiert. Nun muss die VG ins neue System eingebunden werden.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#listet exportierte VG&lt;br /&gt;
sudo pvscan&lt;br /&gt;
&lt;br /&gt;
#LVM2&lt;br /&gt;
sudo vgimport data&lt;br /&gt;
&lt;br /&gt;
sudo vgchange -ay data&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Weblink ==&lt;br /&gt;
&lt;br /&gt;
* [https://www.digitalocean.com/community/tutorials/how-to-use-lvm-to-manage-storage-devices-on-ubuntu-16-04 Digital Ocean - How To Use LVM To Manage Storage ]&lt;br /&gt;
* [http://www.linuxhaven.de/dlhp/HOWTO/DE-LVM-HOWTO-3.html Linuxhaven - LVM HowTo]&lt;br /&gt;
* [https://wiki.ubuntuusers.de/Logical_Volume_Manager Wiki ubuntuusers.de - LVM]&lt;/div&gt;</summary>
		<author><name>Crimson</name></author>
		
	</entry>
	<entry>
		<id>https://www.thomas-zenger.de/wiki/index.php?title=LVM&amp;diff=50</id>
		<title>LVM</title>
		<link rel="alternate" type="text/html" href="https://www.thomas-zenger.de/wiki/index.php?title=LVM&amp;diff=50"/>
		<updated>2018-11-07T14:22:54Z</updated>

		<summary type="html">&lt;p&gt;Crimson: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Server]]&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt-get install lvm2 &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Konfiguration==&lt;br /&gt;
&lt;br /&gt;
Die Physical Volumes (hier: HDDs) '''sdb''' und '''sdc''' werden zu einem logischen Volume zusammengefasst.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#Anzeigen der verfügbaren Disks&lt;br /&gt;
sudo lvmdiskscan&lt;br /&gt;
&lt;br /&gt;
#Storage Devices als LVM physical volumes markieren (Schreibt einen LVM Header)&lt;br /&gt;
sudo pvcreate /dev/sdb /dev/sdc&lt;br /&gt;
&lt;br /&gt;
#Volume Group odin_storage erstellen&lt;br /&gt;
sudo vgcreate odin_data /dev/sdb /dev/sdc&lt;br /&gt;
&lt;br /&gt;
#Logical Volume storage erstellen (ganze Speicherkapazität)&lt;br /&gt;
sudo lvcreate -l 100%FREE -n data odin_data&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Weblink ==&lt;br /&gt;
&lt;br /&gt;
* [https://www.digitalocean.com/community/tutorials/how-to-use-lvm-to-manage-storage-devices-on-ubuntu-16-04 Digital Ocean - How To Use LVM To Manage Storage ]&lt;br /&gt;
* [http://www.linuxhaven.de/dlhp/HOWTO/DE-LVM-HOWTO-3.html Linuxhaven - LVM HowTo]&lt;br /&gt;
* [https://wiki.ubuntuusers.de/Logical_Volume_Manager Wiki ubuntuusers.de - LVM]&lt;/div&gt;</summary>
		<author><name>Crimson</name></author>
		
	</entry>
	<entry>
		<id>https://www.thomas-zenger.de/wiki/index.php?title=LUKS&amp;diff=49</id>
		<title>LUKS</title>
		<link rel="alternate" type="text/html" href="https://www.thomas-zenger.de/wiki/index.php?title=LUKS&amp;diff=49"/>
		<updated>2018-11-07T14:21:45Z</updated>

		<summary type="html">&lt;p&gt;Crimson: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Server]]&lt;br /&gt;
&lt;br /&gt;
==Vorbereitung==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#Paket cryptsetup installieren und Kernelmodul laden&lt;br /&gt;
sudo apt-get install cryptsetup &lt;br /&gt;
sudo modprobe dm-crypt &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Erstellen einer verschlüsselten Partition==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#Zu verschlüssende Partition mit Zufallsbytes überschreiben&lt;br /&gt;
sudo dd if=/dev/urandom bs=1M count=8 of=/dev/odin_data/data&lt;br /&gt;
&lt;br /&gt;
#Partition verschlüsseln&lt;br /&gt;
#-c Alghorithmus&lt;br /&gt;
#-y Passwort zweimal abfragen&lt;br /&gt;
#-s Länge des Schlüssels&lt;br /&gt;
sudo cryptsetup luksFormat -c aes-xts-plain64 -s 512 -h sha512 -y /dev/odin_data/data&lt;br /&gt;
&lt;br /&gt;
#Verschlüsselte Partition einem virtuellen Gerät zuweisen&lt;br /&gt;
#Erreichbar unter /dev/mapper/data&lt;br /&gt;
sudo cryptsetup luksOpen /dev/mapper/odin_data-data data&lt;br /&gt;
&lt;br /&gt;
#Dateisystem erstellen und Label zuweisen&lt;br /&gt;
sudo mkfs.ext4 /dev/mapper/data&lt;br /&gt;
sudo tune2fs -L storage /dev/mapper/data&lt;br /&gt;
&lt;br /&gt;
#Manuelles Einhängen&lt;br /&gt;
sudo mount /dev/mapper/data /mnt/data&lt;br /&gt;
&lt;br /&gt;
#Aushängen und Freigabe&lt;br /&gt;
sudo umount /mnt/data&lt;br /&gt;
sudo cryptsetup luksClose data&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Weblink ==&lt;br /&gt;
&lt;br /&gt;
* [https://wiki.ubuntuusers.de/LUKS/ Wiki ubuntuusers.de - LUKS]&lt;br /&gt;
* [https://wiki.ubuntuusers.de/LUKS/Partitionen_verschl%C3%BCsseln/ Wiki ubuntuusers.de - LUKS Partition verschlüsseln]&lt;/div&gt;</summary>
		<author><name>Crimson</name></author>
		
	</entry>
	<entry>
		<id>https://www.thomas-zenger.de/wiki/index.php?title=Kategorie:MediaWiki&amp;diff=48</id>
		<title>Kategorie:MediaWiki</title>
		<link rel="alternate" type="text/html" href="https://www.thomas-zenger.de/wiki/index.php?title=Kategorie:MediaWiki&amp;diff=48"/>
		<updated>2018-11-07T02:36:52Z</updated>

		<summary type="html">&lt;p&gt;Crimson: Die Seite wurde neu angelegt: „Alphabetisch sortierte Liste aller Artikel bezüglich des Themas '''MediaWiki'''.“&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Alphabetisch sortierte Liste aller Artikel bezüglich des Themas '''MediaWiki'''.&lt;/div&gt;</summary>
		<author><name>Crimson</name></author>
		
	</entry>
	<entry>
		<id>https://www.thomas-zenger.de/wiki/index.php?title=MediaWiki_Backup&amp;diff=47</id>
		<title>MediaWiki Backup</title>
		<link rel="alternate" type="text/html" href="https://www.thomas-zenger.de/wiki/index.php?title=MediaWiki_Backup&amp;diff=47"/>
		<updated>2018-11-07T02:36:16Z</updated>

		<summary type="html">&lt;p&gt;Crimson: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:LAMP]][[Category:Software]][[Category:MediaWiki]]&lt;br /&gt;
==Sicherung==&lt;br /&gt;
&lt;br /&gt;
====Datenbank sichern====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
mysqldump -h localhost -u Crimson -p --default-character-set=whatever wiki &amp;gt; backup.sql&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Dateisystem sichern====&lt;br /&gt;
tar zcvhf wikidata.tgz /var/www/html/wiki&lt;br /&gt;
&lt;br /&gt;
==Wiederherstellung==&lt;br /&gt;
&lt;br /&gt;
====Datenbank wiederherstellen====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
mysql -u Crimson -p wiki &amp;lt; backup.sql&lt;br /&gt;
&lt;br /&gt;
php var/www/html/wiki/maintenance/update.php&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Dateisystem wiederherstellen====&lt;br /&gt;
Installation wie in [[MediaWiki#Installation#MediaWiki|hier]]. Anschließend werden die benötigten Dateien des Backups ins Installationsverzeichnis verschoben.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Weblink ==&lt;br /&gt;
&lt;br /&gt;
* [https://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki MediaWiki - Manual:Backing up a wiki]&lt;br /&gt;
* [https://www.mediawiki.org/wiki/Manual:Restoring_a_wiki_from_backup MediaWiki - Manual:Restoring a wiki from backup]&lt;/div&gt;</summary>
		<author><name>Crimson</name></author>
		
	</entry>
	<entry>
		<id>https://www.thomas-zenger.de/wiki/index.php?title=MediaWiki_Backup&amp;diff=46</id>
		<title>MediaWiki Backup</title>
		<link rel="alternate" type="text/html" href="https://www.thomas-zenger.de/wiki/index.php?title=MediaWiki_Backup&amp;diff=46"/>
		<updated>2018-11-07T02:34:53Z</updated>

		<summary type="html">&lt;p&gt;Crimson: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:LAMP]][[Category:Software]][[Category:MediaWiki]]&lt;br /&gt;
==Sicherung==&lt;br /&gt;
&lt;br /&gt;
====Datenbank sichern====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
mysqldump -h localhost -u Crimson -p --default-character-set=whatever wiki &amp;gt; backup.sql&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Dateisystem sichern====&lt;br /&gt;
tar zcvhf wikidata.tgz /var/www/html/wiki&lt;br /&gt;
&lt;br /&gt;
==Wiederherstellung==&lt;br /&gt;
&lt;br /&gt;
====Datenbank wiederherstellen====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
mysql -u Crimson -p wiki &amp;lt; backup.sql&lt;br /&gt;
&lt;br /&gt;
php var/www/html/wiki/maintenance/update.php&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Dateisystem wiederherstellen====&lt;br /&gt;
Installation wie in [[MediaWiki#Installation#MediaWiki]]&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Weblink ==&lt;br /&gt;
&lt;br /&gt;
* [https://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki MediaWiki - Manual:Backing up a wiki]&lt;br /&gt;
* [https://www.mediawiki.org/wiki/Manual:Restoring_a_wiki_from_backup MediaWiki - Manual:Restoring a wiki from backup]&lt;/div&gt;</summary>
		<author><name>Crimson</name></author>
		
	</entry>
	<entry>
		<id>https://www.thomas-zenger.de/wiki/index.php?title=MediaWiki_Backup&amp;diff=45</id>
		<title>MediaWiki Backup</title>
		<link rel="alternate" type="text/html" href="https://www.thomas-zenger.de/wiki/index.php?title=MediaWiki_Backup&amp;diff=45"/>
		<updated>2018-11-07T02:33:47Z</updated>

		<summary type="html">&lt;p&gt;Crimson: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:LAMP]][[Category:Software]][[Category:MediaWiki]]&lt;br /&gt;
==Sicherung==&lt;br /&gt;
&lt;br /&gt;
====Datenbank sichern====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
mysqldump -h localhost -u Crimson -p --default-character-set=whatever wiki &amp;gt; backup.sql&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Dateisystem sichern====&lt;br /&gt;
tar zcvhf wikidata.tgz /var/www/html/wiki&lt;br /&gt;
&lt;br /&gt;
==Wiederherstellung==&lt;br /&gt;
&lt;br /&gt;
====Datenbank wiederherstellen====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
mysql -u Crimson -p wiki &amp;lt; backup.sql&lt;br /&gt;
&lt;br /&gt;
php var/www/html/wiki/maintenance/update.php&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Dateisystem wiederherstellen====&lt;br /&gt;
Installation wie in [[MediaWiki:Installation:MediaWiki]]&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Weblink ==&lt;br /&gt;
&lt;br /&gt;
* [https://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki MediaWiki - Manual:Backing up a wiki]&lt;br /&gt;
* [https://www.mediawiki.org/wiki/Manual:Restoring_a_wiki_from_backup MediaWiki - Manual:Restoring a wiki from backup]&lt;/div&gt;</summary>
		<author><name>Crimson</name></author>
		
	</entry>
	<entry>
		<id>https://www.thomas-zenger.de/wiki/index.php?title=MediaWiki_Backup&amp;diff=44</id>
		<title>MediaWiki Backup</title>
		<link rel="alternate" type="text/html" href="https://www.thomas-zenger.de/wiki/index.php?title=MediaWiki_Backup&amp;diff=44"/>
		<updated>2018-11-07T02:33:17Z</updated>

		<summary type="html">&lt;p&gt;Crimson: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:LAMP]][[Category:Software]][[Category:MediaWiki]]&lt;br /&gt;
==Sicherung==&lt;br /&gt;
&lt;br /&gt;
====Datenbank sichern====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
mysqldump -h localhost -u Crimson -p --default-character-set=whatever wiki &amp;gt; backup.sql&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Dateisystem sichern====&lt;br /&gt;
tar zcvhf wikidata.tgz /var/www/html/wiki&lt;br /&gt;
&lt;br /&gt;
==Wiederherstellung==&lt;br /&gt;
&lt;br /&gt;
====Datenbank wiederherstellen====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
mysql -u Crimson -p wiki &amp;lt; backup.sql&lt;br /&gt;
&lt;br /&gt;
php var/www/html/wiki/maintenance/update.php&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Dateisystem wiederherstellen====&lt;br /&gt;
Installation wie in [[MediaWiki:MediaWiki]]&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Weblink ==&lt;br /&gt;
&lt;br /&gt;
* [https://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki MediaWiki - Manual:Backing up a wiki]&lt;br /&gt;
* [https://www.mediawiki.org/wiki/Manual:Restoring_a_wiki_from_backup MediaWiki - Manual:Restoring a wiki from backup]&lt;/div&gt;</summary>
		<author><name>Crimson</name></author>
		
	</entry>
	<entry>
		<id>https://www.thomas-zenger.de/wiki/index.php?title=MediaWiki_Backup&amp;diff=43</id>
		<title>MediaWiki Backup</title>
		<link rel="alternate" type="text/html" href="https://www.thomas-zenger.de/wiki/index.php?title=MediaWiki_Backup&amp;diff=43"/>
		<updated>2018-11-07T02:32:54Z</updated>

		<summary type="html">&lt;p&gt;Crimson: Die Seite wurde neu angelegt: „Category:LAMPCategory:SoftwareCategory:MediaWiki ==Sicherung==  ====Datenbank sichern====  &amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt; mysqldump -h localhost -u C…“&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:LAMP]][[Category:Software]][[Category:MediaWiki]]&lt;br /&gt;
==Sicherung==&lt;br /&gt;
&lt;br /&gt;
====Datenbank sichern====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
mysqldump -h localhost -u Crimson -p --default-character-set=whatever wiki &amp;gt; backup.sql&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Dateisystem sichern====&lt;br /&gt;
tar zcvhf wikidata.tgz /var/www/html/wiki&lt;br /&gt;
&lt;br /&gt;
==Wiederherstellung==&lt;br /&gt;
&lt;br /&gt;
====Datenbank wiederherstellen====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
mysql -u Crimson -p wiki &amp;lt; backup.sql&lt;br /&gt;
&lt;br /&gt;
php var/www/html/wiki/maintenance/update.php&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Dateisystem wiederherstellen====&lt;br /&gt;
Installation wie in [MediaWiki:MediaWiki]&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Weblink ==&lt;br /&gt;
&lt;br /&gt;
* [https://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki MediaWiki - Manual:Backing up a wiki]&lt;br /&gt;
* [https://www.mediawiki.org/wiki/Manual:Restoring_a_wiki_from_backup MediaWiki - Manual:Restoring a wiki from backup]&lt;/div&gt;</summary>
		<author><name>Crimson</name></author>
		
	</entry>
	<entry>
		<id>https://www.thomas-zenger.de/wiki/index.php?title=MediaWiki&amp;diff=42</id>
		<title>MediaWiki</title>
		<link rel="alternate" type="text/html" href="https://www.thomas-zenger.de/wiki/index.php?title=MediaWiki&amp;diff=42"/>
		<updated>2018-11-07T02:18:18Z</updated>

		<summary type="html">&lt;p&gt;Crimson: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:LAMP]][[Category:Software]][[Category:MediaWiki]]&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
====MediaWiki====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#Herunterladen&lt;br /&gt;
wget https://releases.wikimedia.org/mediawiki/1.31/mediawiki-1.31.1.tar.gz&lt;br /&gt;
&lt;br /&gt;
#Entpacken&lt;br /&gt;
tar xvzf mediawiki-*.tar.gz wiki/&lt;br /&gt;
&lt;br /&gt;
#Verschieben ins Verzeichnis des Webservers&lt;br /&gt;
sudo mv wiki/ /var/www/html/wiki/&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Datenbank anlegen====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
CREATE DATABASE wiki;&lt;br /&gt;
GRANT ALL PRIVILEGES ON wiki.* TO 'Crimson'@'localhost' IDENTIFIED BY 'password';&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Konfiguration==&lt;br /&gt;
&lt;br /&gt;
*Aufrufen der Startseite des Wikis und starten des Konfigurationsskripts (http://192.168.0.60/wiki).&lt;br /&gt;
*Eigenschaften des Wikis angeben&lt;br /&gt;
*Anlegen des Wikibenutzers&lt;br /&gt;
*Angeben der Datenbankverbindung (Benutzername und Passwort wie oben)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo mv LocalSettings.php /var/www/html/wiki/LocalSettings.php&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Weblink ==&lt;br /&gt;
&lt;br /&gt;
* [https://www.mediawiki.org/wiki/Manual:Installing_MediaWiki MediaWiki - Installation Guide]&lt;br /&gt;
* [https://www.mediawiki.org/wiki/Manual:Config_script MediaWiki - ConfigFile]&lt;/div&gt;</summary>
		<author><name>Crimson</name></author>
		
	</entry>
	<entry>
		<id>https://www.thomas-zenger.de/wiki/index.php?title=MediaWiki&amp;diff=41</id>
		<title>MediaWiki</title>
		<link rel="alternate" type="text/html" href="https://www.thomas-zenger.de/wiki/index.php?title=MediaWiki&amp;diff=41"/>
		<updated>2018-11-07T02:15:20Z</updated>

		<summary type="html">&lt;p&gt;Crimson: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:LAMP]][[Category:Software]]&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
====MediaWiki====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#Herunterladen&lt;br /&gt;
wget https://releases.wikimedia.org/mediawiki/1.31/mediawiki-1.31.1.tar.gz&lt;br /&gt;
&lt;br /&gt;
#Entpacken&lt;br /&gt;
tar xvzf mediawiki-*.tar.gz wiki/&lt;br /&gt;
&lt;br /&gt;
#Verschieben ins Verzeichnis des Webservers&lt;br /&gt;
sudo mv wiki/ /var/www/html/wiki/&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Datenbank anlegen====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
CREATE DATABASE wiki;&lt;br /&gt;
GRANT ALL PRIVILEGES ON wiki.* TO 'Crimson'@'localhost' IDENTIFIED BY 'password';&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Konfiguration==&lt;br /&gt;
&lt;br /&gt;
*Aufrufen der Startseite des Wikis und starten des Konfigurationsskripts (http://192.168.0.60/wiki).&lt;br /&gt;
*Eigenschaften des Wikis angeben&lt;br /&gt;
*Anlegen des Wikibenutzers&lt;br /&gt;
*Angeben der Datenbankverbindung (Benutzername und Passwort wie oben)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo mv LocalSettings.php /var/www/html/wiki/LocalSettings.php&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Weblink ==&lt;br /&gt;
&lt;br /&gt;
* [https://www.mediawiki.org/wiki/Manual:Installing_MediaWiki MediaWiki - Installation Guide]&lt;br /&gt;
* [https://www.mediawiki.org/wiki/Manual:Config_script MediaWiki - ConfigFile]&lt;/div&gt;</summary>
		<author><name>Crimson</name></author>
		
	</entry>
	<entry>
		<id>https://www.thomas-zenger.de/wiki/index.php?title=MediaWiki&amp;diff=40</id>
		<title>MediaWiki</title>
		<link rel="alternate" type="text/html" href="https://www.thomas-zenger.de/wiki/index.php?title=MediaWiki&amp;diff=40"/>
		<updated>2018-11-07T02:11:34Z</updated>

		<summary type="html">&lt;p&gt;Crimson: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:LAMP]][[Category:Software]]&lt;br /&gt;
==Installation==&lt;br /&gt;
====MediaWiki====&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#Herunterladen&lt;br /&gt;
wget https://releases.wikimedia.org/mediawiki/1.31/mediawiki-1.31.1.tar.gz&lt;br /&gt;
&lt;br /&gt;
#Entpacken&lt;br /&gt;
tar xvzf mediawiki-*.tar.gz wiki/&lt;br /&gt;
&lt;br /&gt;
#Verschieben ins Verzeichnis des Webservers&lt;br /&gt;
sudo mv &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Datenbank anlegen====&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
CREATE DATABASE wiki;&lt;br /&gt;
GRANT ALL PRIVILEGES ON wiki.* TO 'Crimson'@'localhost' IDENTIFIED BY 'password';&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Konfiguration==&lt;br /&gt;
&lt;br /&gt;
*Aufrufen der Startseite des Wikis und starten des Konfigurationsskripts (http://192.168.0.60/wiki).&lt;br /&gt;
*Anlegen des Wikibenutzers&lt;br /&gt;
*Angeben der Datenbankverbindung (Benutzername und Passwort wie oben)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo mv LocalSettings.php /var/www/html/wiki/LocalSettings.php&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
== Weblink ==&lt;br /&gt;
&lt;br /&gt;
* [https://wiki.ubuntuusers.de/Samba Wiki ubuntuusers.de - Samba]&lt;br /&gt;
* [https://wiki.ubuntuusers.de/Samba_Server Wiki ubuntuusers.de - Samba Server]&lt;br /&gt;
* [https://thierrys-blog.ch/index.php/2016/09/23/einfache-samba-freigabe-unter-ubuntu/ Thierrys Blog - Einfache Samba Freigabe unter Ubuntu]&lt;/div&gt;</summary>
		<author><name>Crimson</name></author>
		
	</entry>
	<entry>
		<id>https://www.thomas-zenger.de/wiki/index.php?title=MediaWiki&amp;diff=39</id>
		<title>MediaWiki</title>
		<link rel="alternate" type="text/html" href="https://www.thomas-zenger.de/wiki/index.php?title=MediaWiki&amp;diff=39"/>
		<updated>2018-11-07T02:07:23Z</updated>

		<summary type="html">&lt;p&gt;Crimson: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:LAMP]][[Category:Software]]&lt;br /&gt;
==Installation==&lt;br /&gt;
====MediaWiki====&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#Herunterladen&lt;br /&gt;
wget https://releases.wikimedia.org/mediawiki/1.31/mediawiki-1.31.1.tar.gz&lt;br /&gt;
&lt;br /&gt;
#Entpacken&lt;br /&gt;
tar xvzf mediawiki-*.tar.gz wiki/&lt;br /&gt;
&lt;br /&gt;
#Verschieben ins Verzeichnis des Webservers&lt;br /&gt;
sudo mv &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Datenbank anlegen====&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
CREATE DATABASE wiki;&lt;br /&gt;
GRANT ALL PRIVILEGES ON wiki.* TO 'Crimson'@'localhost' IDENTIFIED BY 'password';&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Konfiguration==&lt;br /&gt;
&lt;br /&gt;
Aufrufen der Startseite des Wikis und starten des Konfigurationsskripts ([http://192.168.0.60/wiki]).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#Standard Konfiguratinsdatei sichern&lt;br /&gt;
sudo mv /etc/samba/smb.conf /etc/samba/smb.bak&lt;br /&gt;
&lt;br /&gt;
#Config bearbeiten&lt;br /&gt;
sudo nano /etc/samba/smb.conf /var/www/html/wiki&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Änderungen in der Konfigurationsdatei:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
[global]&lt;br /&gt;
        #Arbeitsgruppe der Windows-Rechner&lt;br /&gt;
        workgroup       = WORKGROUP&lt;br /&gt;
        server string   = %h&lt;br /&gt;
        security        = user&lt;br /&gt;
        passdb backend  = tdbsam&lt;br /&gt;
        unix password sync = no&lt;br /&gt;
        invalid users   = root&lt;br /&gt;
        #bind interfaces only = yes&lt;br /&gt;
        #interfaces = 192.168.0.0/24 127.0.0.1&lt;br /&gt;
        #Alle Rechner des lokalen Netzwerkes erlauben&lt;br /&gt;
        hosts allow = 192.168.0.&lt;br /&gt;
        map to guest    = never&lt;br /&gt;
        logging = syslog@1 /var/log/samba/log.%m&lt;br /&gt;
        #minimale und maximale Version des Samba Protokolls (Windows-Probleme SMB1)&lt;br /&gt;
        client min protocol = SMB2&lt;br /&gt;
        client max protocol = SMB3&lt;br /&gt;
&lt;br /&gt;
[storage]&lt;br /&gt;
        valid users     = @asatru&lt;br /&gt;
        path            = /mnt/storage/&lt;br /&gt;
        browseable      = yes&lt;br /&gt;
        writeable       = yes&lt;br /&gt;
        force group     = +asatru&lt;br /&gt;
        guest ok        = no&lt;br /&gt;
        create mask     = 0666&lt;br /&gt;
        directory mask  = 0777&lt;br /&gt;
        printable = no&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Schreib- und Leserechte gewähren:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo chmod -R 0777 /mnt/storage/&lt;br /&gt;
&lt;br /&gt;
#Samba neustarten&lt;br /&gt;
sudo service smbd restart&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konfiguration testen:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo testparm&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Benutzerverwaltung==&lt;br /&gt;
&lt;br /&gt;
Die Benutzerverwaltung von Samba ist von der Benutzerverwaltung des Systems getrennt.&lt;br /&gt;
Im System angelegte Benutzer zu Samba hinzufügen:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo smbpasswd -a crimson&lt;br /&gt;
&lt;br /&gt;
#Crimson muss hier Mitglied der Gruppe asatru sein&lt;br /&gt;
sudo adduser crimson asatru&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Weblink ==&lt;br /&gt;
&lt;br /&gt;
* [https://wiki.ubuntuusers.de/Samba Wiki ubuntuusers.de - Samba]&lt;br /&gt;
* [https://wiki.ubuntuusers.de/Samba_Server Wiki ubuntuusers.de - Samba Server]&lt;br /&gt;
* [https://thierrys-blog.ch/index.php/2016/09/23/einfache-samba-freigabe-unter-ubuntu/ Thierrys Blog - Einfache Samba Freigabe unter Ubuntu]&lt;/div&gt;</summary>
		<author><name>Crimson</name></author>
		
	</entry>
	<entry>
		<id>https://www.thomas-zenger.de/wiki/index.php?title=MediaWiki&amp;diff=38</id>
		<title>MediaWiki</title>
		<link rel="alternate" type="text/html" href="https://www.thomas-zenger.de/wiki/index.php?title=MediaWiki&amp;diff=38"/>
		<updated>2018-11-07T02:05:56Z</updated>

		<summary type="html">&lt;p&gt;Crimson: Die Seite wurde neu angelegt: „Category:LAMPCategory:Software ==Installation== ====MediaWiki==== &amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt; #Herunterladen wget https://releases.wikimedia.org/medi…“&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:LAMP]][[Category:Software]]&lt;br /&gt;
==Installation==&lt;br /&gt;
====MediaWiki====&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#Herunterladen&lt;br /&gt;
wget https://releases.wikimedia.org/mediawiki/1.31/mediawiki-1.31.1.tar.gz&lt;br /&gt;
&lt;br /&gt;
#Entpacken&lt;br /&gt;
tar xvzf mediawiki-*.tar.gz wiki/&lt;br /&gt;
&lt;br /&gt;
#Verschieben ins Verzeichnis des Webservers&lt;br /&gt;
sudo mv &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Datenbank anlegen====&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
CREATE DATABASE wiki;&lt;br /&gt;
GRANT ALL PRIVILEGES ON wiki.* TO 'Crimson'@'localhost' IDENTIFIED BY 'password';&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Konfiguration==&lt;br /&gt;
&lt;br /&gt;
Aufrufen der Startseite des Wikis und starten des Konfigurationsskripts (* [192.168.0.60/wiki]).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#Standard Konfiguratinsdatei sichern&lt;br /&gt;
sudo mv /etc/samba/smb.conf /etc/samba/smb.bak&lt;br /&gt;
&lt;br /&gt;
#Config bearbeiten&lt;br /&gt;
sudo nano /etc/samba/smb.conf /var/www/html/wiki&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Änderungen in der Konfigurationsdatei:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
[global]&lt;br /&gt;
        #Arbeitsgruppe der Windows-Rechner&lt;br /&gt;
        workgroup       = WORKGROUP&lt;br /&gt;
        server string   = %h&lt;br /&gt;
        security        = user&lt;br /&gt;
        passdb backend  = tdbsam&lt;br /&gt;
        unix password sync = no&lt;br /&gt;
        invalid users   = root&lt;br /&gt;
        #bind interfaces only = yes&lt;br /&gt;
        #interfaces = 192.168.0.0/24 127.0.0.1&lt;br /&gt;
        #Alle Rechner des lokalen Netzwerkes erlauben&lt;br /&gt;
        hosts allow = 192.168.0.&lt;br /&gt;
        map to guest    = never&lt;br /&gt;
        logging = syslog@1 /var/log/samba/log.%m&lt;br /&gt;
        #minimale und maximale Version des Samba Protokolls (Windows-Probleme SMB1)&lt;br /&gt;
        client min protocol = SMB2&lt;br /&gt;
        client max protocol = SMB3&lt;br /&gt;
&lt;br /&gt;
[storage]&lt;br /&gt;
        valid users     = @asatru&lt;br /&gt;
        path            = /mnt/storage/&lt;br /&gt;
        browseable      = yes&lt;br /&gt;
        writeable       = yes&lt;br /&gt;
        force group     = +asatru&lt;br /&gt;
        guest ok        = no&lt;br /&gt;
        create mask     = 0666&lt;br /&gt;
        directory mask  = 0777&lt;br /&gt;
        printable = no&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Schreib- und Leserechte gewähren:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo chmod -R 0777 /mnt/storage/&lt;br /&gt;
&lt;br /&gt;
#Samba neustarten&lt;br /&gt;
sudo service smbd restart&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konfiguration testen:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo testparm&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Benutzerverwaltung==&lt;br /&gt;
&lt;br /&gt;
Die Benutzerverwaltung von Samba ist von der Benutzerverwaltung des Systems getrennt.&lt;br /&gt;
Im System angelegte Benutzer zu Samba hinzufügen:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo smbpasswd -a crimson&lt;br /&gt;
&lt;br /&gt;
#Crimson muss hier Mitglied der Gruppe asatru sein&lt;br /&gt;
sudo adduser crimson asatru&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Weblink ==&lt;br /&gt;
&lt;br /&gt;
* [https://wiki.ubuntuusers.de/Samba Wiki ubuntuusers.de - Samba]&lt;br /&gt;
* [https://wiki.ubuntuusers.de/Samba_Server Wiki ubuntuusers.de - Samba Server]&lt;br /&gt;
* [https://thierrys-blog.ch/index.php/2016/09/23/einfache-samba-freigabe-unter-ubuntu/ Thierrys Blog - Einfache Samba Freigabe unter Ubuntu]&lt;/div&gt;</summary>
		<author><name>Crimson</name></author>
		
	</entry>
	<entry>
		<id>https://www.thomas-zenger.de/wiki/index.php?title=LAMP&amp;diff=37</id>
		<title>LAMP</title>
		<link rel="alternate" type="text/html" href="https://www.thomas-zenger.de/wiki/index.php?title=LAMP&amp;diff=37"/>
		<updated>2018-11-07T01:50:13Z</updated>

		<summary type="html">&lt;p&gt;Crimson: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Server]][[Category:LAMP]]&lt;br /&gt;
&lt;br /&gt;
Das Akronym LAMP steht für den kombinierten Einsatz von Linux, Apache, MySQL und PHP.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt-get install apache2 libapache2-mod-php7.2 php7.2 php7.2-mysql mysql-server &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Bestandteile==&lt;br /&gt;
&lt;br /&gt;
*[[Apache]]&lt;br /&gt;
*[[MySQL]]&lt;br /&gt;
*[[PHP]]&lt;/div&gt;</summary>
		<author><name>Crimson</name></author>
		
	</entry>
	<entry>
		<id>https://www.thomas-zenger.de/wiki/index.php?title=Kategorie:LAMP&amp;diff=36</id>
		<title>Kategorie:LAMP</title>
		<link rel="alternate" type="text/html" href="https://www.thomas-zenger.de/wiki/index.php?title=Kategorie:LAMP&amp;diff=36"/>
		<updated>2018-11-07T01:47:44Z</updated>

		<summary type="html">&lt;p&gt;Crimson: Die Seite wurde neu angelegt: „Alphabetisch sortierte Liste aller Artikel bezüglich des Themas '''LAMP'''.“&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Alphabetisch sortierte Liste aller Artikel bezüglich des Themas '''LAMP'''.&lt;/div&gt;</summary>
		<author><name>Crimson</name></author>
		
	</entry>
	<entry>
		<id>https://www.thomas-zenger.de/wiki/index.php?title=LAMP&amp;diff=35</id>
		<title>LAMP</title>
		<link rel="alternate" type="text/html" href="https://www.thomas-zenger.de/wiki/index.php?title=LAMP&amp;diff=35"/>
		<updated>2018-11-07T01:47:29Z</updated>

		<summary type="html">&lt;p&gt;Crimson: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Server]][[Category:LAMP]]&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt-get install apache2 libapache2-mod-php7.2 php7.2 php7.2-mysql mysql-server &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Bestandteile==&lt;br /&gt;
&lt;br /&gt;
*[[Apache]]&lt;br /&gt;
*[[MySQL]]&lt;br /&gt;
*[[PHP]]&lt;/div&gt;</summary>
		<author><name>Crimson</name></author>
		
	</entry>
	<entry>
		<id>https://www.thomas-zenger.de/wiki/index.php?title=MySQL&amp;diff=34</id>
		<title>MySQL</title>
		<link rel="alternate" type="text/html" href="https://www.thomas-zenger.de/wiki/index.php?title=MySQL&amp;diff=34"/>
		<updated>2018-11-07T01:46:57Z</updated>

		<summary type="html">&lt;p&gt;Crimson: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Server]][[Category:LAMP]]&lt;br /&gt;
&lt;br /&gt;
Dieser Artikel beschreibt die Installation des mySQL Datenbankservers.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt-get install mysql-server php7.2-mysql&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Konfiguration==&lt;br /&gt;
&lt;br /&gt;
Nach dem Starten der Konfigurationsroutine wird zunächst das Passwort für den root-User der Datenbank gesetzt. Im Folgenden werden anonyme User und Testdatenbanken entfernt und Loginrechte gesetzt.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo mysql_secure_installation&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Weblink ==&lt;br /&gt;
&lt;br /&gt;
* [https://wiki.ubuntuusers.de/MySQL/ Wiki ubuntuusers.de - MySQL]&lt;br /&gt;
* [https://www.digitalocean.com/community/tutorials/how-to-install-mysql-on-ubuntu-16-04 DigitalOCean - How To Install MySQL on Ubuntu 16.04]&lt;/div&gt;</summary>
		<author><name>Crimson</name></author>
		
	</entry>
	<entry>
		<id>https://www.thomas-zenger.de/wiki/index.php?title=MySQL&amp;diff=33</id>
		<title>MySQL</title>
		<link rel="alternate" type="text/html" href="https://www.thomas-zenger.de/wiki/index.php?title=MySQL&amp;diff=33"/>
		<updated>2018-11-07T01:46:05Z</updated>

		<summary type="html">&lt;p&gt;Crimson: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Server LAMP]]&lt;br /&gt;
&lt;br /&gt;
Dieser Artikel beschreibt die Installation des mySQL Datenbankservers.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt-get install mysql-server php7.2-mysql&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Konfiguration==&lt;br /&gt;
&lt;br /&gt;
Nach dem Starten der Konfigurationsroutine wird zunächst das Passwort für den root-User der Datenbank gesetzt. Im Folgenden werden anonyme User und Testdatenbanken entfernt und Loginrechte gesetzt.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo mysql_secure_installation&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Weblink ==&lt;br /&gt;
&lt;br /&gt;
* [https://wiki.ubuntuusers.de/MySQL/ Wiki ubuntuusers.de - MySQL]&lt;br /&gt;
* [https://www.digitalocean.com/community/tutorials/how-to-install-mysql-on-ubuntu-16-04 DigitalOCean - How To Install MySQL on Ubuntu 16.04]&lt;/div&gt;</summary>
		<author><name>Crimson</name></author>
		
	</entry>
	<entry>
		<id>https://www.thomas-zenger.de/wiki/index.php?title=MySQL&amp;diff=32</id>
		<title>MySQL</title>
		<link rel="alternate" type="text/html" href="https://www.thomas-zenger.de/wiki/index.php?title=MySQL&amp;diff=32"/>
		<updated>2018-11-07T01:45:42Z</updated>

		<summary type="html">&lt;p&gt;Crimson: Die Seite wurde neu angelegt: „Category:Server, LAMP  Dieser Artikel beschreibt die Installation des mySQL Datenbankservers.  ==Installation==  &amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt; sudo apt-get…“&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Server, LAMP]]&lt;br /&gt;
&lt;br /&gt;
Dieser Artikel beschreibt die Installation des mySQL Datenbankservers.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt-get install mysql-server php7.2-mysql&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Konfiguration==&lt;br /&gt;
&lt;br /&gt;
Nach dem Starten der Konfigurationsroutine wird zunächst das Passwort für den root-User der Datenbank gesetzt. Im Folgenden werden anonyme User und Testdatenbanken entfernt und Loginrechte gesetzt.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo mysql_secure_installation&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Weblink ==&lt;br /&gt;
&lt;br /&gt;
* [https://wiki.ubuntuusers.de/MySQL/ Wiki ubuntuusers.de - MySQL]&lt;br /&gt;
* [https://www.digitalocean.com/community/tutorials/how-to-install-mysql-on-ubuntu-16-04 DigitalOCean - How To Install MySQL on Ubuntu 16.04]&lt;/div&gt;</summary>
		<author><name>Crimson</name></author>
		
	</entry>
	<entry>
		<id>https://www.thomas-zenger.de/wiki/index.php?title=LUKS&amp;diff=31</id>
		<title>LUKS</title>
		<link rel="alternate" type="text/html" href="https://www.thomas-zenger.de/wiki/index.php?title=LUKS&amp;diff=31"/>
		<updated>2018-09-30T18:25:05Z</updated>

		<summary type="html">&lt;p&gt;Crimson: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Server]]&lt;br /&gt;
&lt;br /&gt;
==Vorbereitung==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#Paket cryptsetup installieren und Kernelmodul laden&lt;br /&gt;
sudo apt-get install cryptsetup &lt;br /&gt;
sudo modprobe dm-crypt &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Erstellen einer verschlüsselten Partition==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#Zu verschlüssende Partition mit Zufallsbytes überschreiben&lt;br /&gt;
sudo dd if=/dev/urandom bs=1M count=8 of=/dev/odin_storage/storage&lt;br /&gt;
&lt;br /&gt;
#Partition verschlüsseln&lt;br /&gt;
#-c Alghorithmus&lt;br /&gt;
#-y Passwort zweimal abfragen&lt;br /&gt;
#-s Länge des Schlüssels&lt;br /&gt;
sudo cryptsetup luksFormat -c aes-xts-plain64 -s 512 -h sha512 -y /dev/odin_storage/storage &lt;br /&gt;
&lt;br /&gt;
#Verschlüsselte Partition einem virtuellen Gerät zuweisen&lt;br /&gt;
#Erreichbar unter /dev/mapper/storage&lt;br /&gt;
sudo cryptsetup luksOpen /dev/mapper/odin_storage-storage storage&lt;br /&gt;
&lt;br /&gt;
#Dateisystem erstellen und Label zuweisen&lt;br /&gt;
sudo mkfs.ext4 /dev/mapper/storage&lt;br /&gt;
sudo tune2fs -L storage /dev/mapper/storage&lt;br /&gt;
&lt;br /&gt;
#Manuelles Einhängen&lt;br /&gt;
sudo mount /dev/mapper/storage /mnt/storage&lt;br /&gt;
&lt;br /&gt;
#Aushängen und Freigabe&lt;br /&gt;
sudo umount /mnt/storage&lt;br /&gt;
sudo cryptsetup luksClose storage &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Weblink ==&lt;br /&gt;
&lt;br /&gt;
* [https://wiki.ubuntuusers.de/LUKS/ Wiki ubuntuusers.de - LUKS]&lt;br /&gt;
* [https://wiki.ubuntuusers.de/LUKS/Partitionen_verschl%C3%BCsseln/ Wiki ubuntuusers.de - LUKS Partition verschlüsseln]&lt;/div&gt;</summary>
		<author><name>Crimson</name></author>
		
	</entry>
	<entry>
		<id>https://www.thomas-zenger.de/wiki/index.php?title=LVM&amp;diff=30</id>
		<title>LVM</title>
		<link rel="alternate" type="text/html" href="https://www.thomas-zenger.de/wiki/index.php?title=LVM&amp;diff=30"/>
		<updated>2018-09-30T18:21:05Z</updated>

		<summary type="html">&lt;p&gt;Crimson: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Server]]&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt-get install lvm2 &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Konfiguration==&lt;br /&gt;
&lt;br /&gt;
Die Physical Volumes (hier: HDDs) '''sdb''' und '''sdc''' werden zu einem logischen Volume zusammengefasst.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#Anzeigen der verfügbaren Disks&lt;br /&gt;
sudo lvmdiskscan&lt;br /&gt;
&lt;br /&gt;
#Storage Devices als LVM physical volumes markieren (Schreibt einen LVM Header)&lt;br /&gt;
sudo pvcreate /dev/sdb /dev/sdc&lt;br /&gt;
&lt;br /&gt;
#Volume Group odin_storage erstellen&lt;br /&gt;
sudo vgcreate odin_storage /dev/sdb /dev/sdc&lt;br /&gt;
&lt;br /&gt;
#Logical Volume storage erstellen (ganze Speicherkapazität)&lt;br /&gt;
sudo lvcreate -l 100%FREE -n storage odin_storage&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Weblink ==&lt;br /&gt;
&lt;br /&gt;
* [https://www.digitalocean.com/community/tutorials/how-to-use-lvm-to-manage-storage-devices-on-ubuntu-16-04 Digital Ocean - How To Use LVM To Manage Storage ]&lt;br /&gt;
* [http://www.linuxhaven.de/dlhp/HOWTO/DE-LVM-HOWTO-3.html Linuxhaven - LVM HowTo]&lt;br /&gt;
* [https://wiki.ubuntuusers.de/Logical_Volume_Manager Wiki ubuntuusers.de - LVM]&lt;/div&gt;</summary>
		<author><name>Crimson</name></author>
		
	</entry>
	<entry>
		<id>https://www.thomas-zenger.de/wiki/index.php?title=SAMBA_Server&amp;diff=29</id>
		<title>SAMBA Server</title>
		<link rel="alternate" type="text/html" href="https://www.thomas-zenger.de/wiki/index.php?title=SAMBA_Server&amp;diff=29"/>
		<updated>2018-08-18T20:40:52Z</updated>

		<summary type="html">&lt;p&gt;Crimson: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Server]]&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt-get install samba-common samba&lt;br /&gt;
&lt;br /&gt;
#Hilfreiche Pakete&lt;br /&gt;
sudo apt-get install samba-doc tdb-tools&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Konfiguration==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#Standard Konfiguratinsdatei sichern&lt;br /&gt;
sudo mv /etc/samba/smb.conf /etc/samba/smb.bak&lt;br /&gt;
&lt;br /&gt;
#Config bearbeiten&lt;br /&gt;
sudo nano /etc/samba/smb.conf&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Änderungen in der Konfigurationsdatei:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
[global]&lt;br /&gt;
        #Arbeitsgruppe der Windows-Rechner&lt;br /&gt;
        workgroup       = WORKGROUP&lt;br /&gt;
        server string   = %h&lt;br /&gt;
        security        = user&lt;br /&gt;
        passdb backend  = tdbsam&lt;br /&gt;
        unix password sync = no&lt;br /&gt;
        invalid users   = root&lt;br /&gt;
        #bind interfaces only = yes&lt;br /&gt;
        #interfaces = 192.168.0.0/24 127.0.0.1&lt;br /&gt;
        #Alle Rechner des lokalen Netzwerkes erlauben&lt;br /&gt;
        hosts allow = 192.168.0.&lt;br /&gt;
        map to guest    = never&lt;br /&gt;
        logging = syslog@1 /var/log/samba/log.%m&lt;br /&gt;
        #minimale und maximale Version des Samba Protokolls (Windows-Probleme SMB1)&lt;br /&gt;
        client min protocol = SMB2&lt;br /&gt;
        client max protocol = SMB3&lt;br /&gt;
&lt;br /&gt;
[storage]&lt;br /&gt;
        valid users     = @asatru&lt;br /&gt;
        path            = /mnt/storage/&lt;br /&gt;
        browseable      = yes&lt;br /&gt;
        writeable       = yes&lt;br /&gt;
        force group     = +asatru&lt;br /&gt;
        guest ok        = no&lt;br /&gt;
        create mask     = 0666&lt;br /&gt;
        directory mask  = 0777&lt;br /&gt;
        printable = no&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Schreib- und Leserechte gewähren:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo chmod -R 0777 /mnt/storage/&lt;br /&gt;
&lt;br /&gt;
#Samba neustarten&lt;br /&gt;
sudo service smbd restart&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konfiguration testen:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo testparm&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Benutzerverwaltung==&lt;br /&gt;
&lt;br /&gt;
Die Benutzerverwaltung von Samba ist von der Benutzerverwaltung des Systems getrennt.&lt;br /&gt;
Im System angelegte Benutzer zu Samba hinzufügen:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo smbpasswd -a crimson&lt;br /&gt;
&lt;br /&gt;
#Crimson muss hier Mitglied der Gruppe asatru sein&lt;br /&gt;
sudo adduser crimson asatru&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Weblink ==&lt;br /&gt;
&lt;br /&gt;
* [https://wiki.ubuntuusers.de/Samba Wiki ubuntuusers.de - Samba]&lt;br /&gt;
* [https://wiki.ubuntuusers.de/Samba_Server Wiki ubuntuusers.de - Samba Server]&lt;br /&gt;
* [https://thierrys-blog.ch/index.php/2016/09/23/einfache-samba-freigabe-unter-ubuntu/ Thierrys Blog - Einfache Samba Freigabe unter Ubuntu]&lt;/div&gt;</summary>
		<author><name>Crimson</name></author>
		
	</entry>
	<entry>
		<id>https://www.thomas-zenger.de/wiki/index.php?title=Samba_Client&amp;diff=28</id>
		<title>Samba Client</title>
		<link rel="alternate" type="text/html" href="https://www.thomas-zenger.de/wiki/index.php?title=Samba_Client&amp;diff=28"/>
		<updated>2018-06-26T16:12:14Z</updated>

		<summary type="html">&lt;p&gt;Crimson: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Clients]]&lt;br /&gt;
&lt;br /&gt;
Der Artikel beschreibt das Einbinden einer Samba-Freigabe mithilfe des Dateisystems &amp;lt;tt&amp;gt;cifs-vfs&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt-get install cifs-utils&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Konfiguration==&lt;br /&gt;
&lt;br /&gt;
Setzen des SUID-Bit um Freigaben auch ohne Root Rechte einbinden zu können.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo chmod +s /sbin/mount.cifs &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Einbinden==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#Mountpoint erstellen&lt;br /&gt;
sudo mkdir /media/storage/&lt;br /&gt;
&lt;br /&gt;
#Eintrag in /etc/fstab&lt;br /&gt;
//192.168.0.60/storage/ /media/storage/ cifs auto,user=thor,uid=1000,gid=1000 0 0&lt;br /&gt;
&lt;br /&gt;
#nachträgliches Einbinden&lt;br /&gt;
sudo mount -a &lt;br /&gt;
&lt;br /&gt;
#temporäres Einbinden&lt;br /&gt;
sudo mount -t cifs -o user=thor,uid=1000,gid=1000 //192.168.0.60/storage/ /media/storage/&lt;br /&gt;
&lt;br /&gt;
#temporäres Einbinden mit fstab Eintrag&lt;br /&gt;
sudo mount /media/storage/&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Weblink ==&lt;br /&gt;
&lt;br /&gt;
* [https://wiki.ubuntuusers.de/Samba_Client_cifs/ Wiki ubuntuusers.de - Samba Client cifs]&lt;br /&gt;
* [https://www.elektronik-kompendium.de/sites/raspberry-pi/2102201.htm Elektronik Kompendium -Samba Freigabe mit fstab einhängen]&lt;/div&gt;</summary>
		<author><name>Crimson</name></author>
		
	</entry>
	<entry>
		<id>https://www.thomas-zenger.de/wiki/index.php?title=LUKS&amp;diff=27</id>
		<title>LUKS</title>
		<link rel="alternate" type="text/html" href="https://www.thomas-zenger.de/wiki/index.php?title=LUKS&amp;diff=27"/>
		<updated>2018-06-26T16:10:13Z</updated>

		<summary type="html">&lt;p&gt;Crimson: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Server]]&lt;br /&gt;
&lt;br /&gt;
==Vorbereitung==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#Paket cryptsetup installieren und Kernelmodul laden&lt;br /&gt;
sudo apt-get install cryptsetup &lt;br /&gt;
sudo modprobe dm-crypt &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Erstellen einer verschlüsselten Partition==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#Zu verschlüssende Partition mit Zufallsbytes überschreiben&lt;br /&gt;
sudo dd if=/dev/urandom bs=1M count=8 of=/dev/odin_data/storage&lt;br /&gt;
&lt;br /&gt;
#Partition verschlüsseln&lt;br /&gt;
#-c Alghorithmus&lt;br /&gt;
#-y Passwort zweimal abfragen&lt;br /&gt;
#-s Länge des Schlüssels&lt;br /&gt;
sudo cryptsetup luksFormat -c aes-xts-plain64 -s 512 -h sha512 -y /dev/odin_data/storage &lt;br /&gt;
&lt;br /&gt;
#Verschlüsselte Partition einem virtuellen Gerät zuweisen&lt;br /&gt;
#Erreichbar unter /dev/mapper/storage&lt;br /&gt;
sudo cryptsetup luksOpen /dev/mapper/odin_data-storage storage&lt;br /&gt;
&lt;br /&gt;
#Dateisystem erstellen und Label zuweisen&lt;br /&gt;
sudo mkfs.ext4 /dev/mapper/storage&lt;br /&gt;
sudo tune2fs -L storage /dev/mapper/storage&lt;br /&gt;
&lt;br /&gt;
#Manuelles Einhängen&lt;br /&gt;
sudo mount /dev/mapper/storage /mnt/storage&lt;br /&gt;
&lt;br /&gt;
#Aushängen und Freigabe&lt;br /&gt;
sudo umount /mnt/storage&lt;br /&gt;
sudo cryptsetup luksClose storage &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Weblink ==&lt;br /&gt;
&lt;br /&gt;
* [https://wiki.ubuntuusers.de/LUKS/ Wiki ubuntuusers.de - LUKS]&lt;br /&gt;
* [https://wiki.ubuntuusers.de/LUKS/Partitionen_verschl%C3%BCsseln/ Wiki ubuntuusers.de - LUKS Partition verschlüsseln]&lt;/div&gt;</summary>
		<author><name>Crimson</name></author>
		
	</entry>
	<entry>
		<id>https://www.thomas-zenger.de/wiki/index.php?title=Samba_Client&amp;diff=26</id>
		<title>Samba Client</title>
		<link rel="alternate" type="text/html" href="https://www.thomas-zenger.de/wiki/index.php?title=Samba_Client&amp;diff=26"/>
		<updated>2018-06-26T16:08:31Z</updated>

		<summary type="html">&lt;p&gt;Crimson: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Clients]]&lt;br /&gt;
&lt;br /&gt;
Der Artikel beschreibt das Einbinden einer Samba-Freigabe mithilfe des Dateisystems &amp;lt;tt&amp;gt;cifs-vfs&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt-get install cifs-utils&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Konfiguration==&lt;br /&gt;
&lt;br /&gt;
Setzen des SUID-Bit um Freigaben auch ohne Root Rechte einbinden zu können.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo chmod +s /sbin/mount.cifs &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Einbinden==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#Mountpoint erstellen&lt;br /&gt;
sudo mkdir /media/storage/&lt;br /&gt;
&lt;br /&gt;
#Eintrag in /etc/fstab&lt;br /&gt;
//192.168.0.60/storage/ /media/storage/ cifs auto,user=thor,uid=1000,gid=1000 0 0&lt;br /&gt;
&lt;br /&gt;
#nachträgliches Einbinden&lt;br /&gt;
sudo mount -a &lt;br /&gt;
&lt;br /&gt;
#temporäres Einbinden&lt;br /&gt;
sudo mount -t cifs -o user=thor,uid=1000,gid=1000 //192.168.0.60/storage/ /media/storage/&lt;br /&gt;
&lt;br /&gt;
#temporäres Einbinden mit fstab Eintrag&lt;br /&gt;
sudo mount /media/storage/&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Weblink ==&lt;br /&gt;
&lt;br /&gt;
* [https://wiki.ubuntuusers.de/Samba_Client_cifs/ Wiki ubuntuusers.de - Samba Client cifs]&lt;/div&gt;</summary>
		<author><name>Crimson</name></author>
		
	</entry>
	<entry>
		<id>https://www.thomas-zenger.de/wiki/index.php?title=Samba_Client&amp;diff=25</id>
		<title>Samba Client</title>
		<link rel="alternate" type="text/html" href="https://www.thomas-zenger.de/wiki/index.php?title=Samba_Client&amp;diff=25"/>
		<updated>2018-06-26T16:06:29Z</updated>

		<summary type="html">&lt;p&gt;Crimson: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Clients]]&lt;br /&gt;
&lt;br /&gt;
Der Artikel beschreibt das Einbinden einer Samba-Freigabe mithilfe des Dateisystems &amp;lt;tt&amp;gt;cifs-vfs&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt-get install cifs-utils&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Konfiguration==&lt;br /&gt;
&lt;br /&gt;
Setzen des SUID-Bit um Freigaben auch ohne Root Rechte einbinden zu können.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo chmod +s /sbin/mount.cifs &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Einbinden==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#Mountpoint erstellen&lt;br /&gt;
sudo mkdir /media/storage/&lt;br /&gt;
&lt;br /&gt;
#Eintrag in /etc/fstab&lt;br /&gt;
//192.168.0.60/storage/ /media/storage/ cifs auto,user=thor,uid=1000,gid=1000 0 0&lt;br /&gt;
&lt;br /&gt;
#nachträgliches Einbinden&lt;br /&gt;
sudo mount -a &lt;br /&gt;
&lt;br /&gt;
#temporäres Einbinden&lt;br /&gt;
sudo mount -t cifs -o user=thor,uid=1000,gid=1000 //192.168.0.60/storage/ /media/storage/&lt;br /&gt;
&lt;br /&gt;
#temporäres Einbinden mit fstab Eintrag&lt;br /&gt;
sudo mount /media/storage/&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Crimson</name></author>
		
	</entry>
	<entry>
		<id>https://www.thomas-zenger.de/wiki/index.php?title=Samba_Client&amp;diff=24</id>
		<title>Samba Client</title>
		<link rel="alternate" type="text/html" href="https://www.thomas-zenger.de/wiki/index.php?title=Samba_Client&amp;diff=24"/>
		<updated>2018-06-26T16:04:54Z</updated>

		<summary type="html">&lt;p&gt;Crimson: Die Seite wurde neu angelegt: „Category:Clients  Der Artikel beschreibt das Einbinden einer Samba-Freigabe mithilfe des Dateisystems &amp;lt;tt&amp;gt;cifs-vfs&amp;lt;/tt&amp;gt;.  ==Installation==  &amp;lt;syntaxhighligh…“&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Clients]]&lt;br /&gt;
&lt;br /&gt;
Der Artikel beschreibt das Einbinden einer Samba-Freigabe mithilfe des Dateisystems &amp;lt;tt&amp;gt;cifs-vfs&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt-get install cifs-utils&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Konfiguration==&lt;br /&gt;
&lt;br /&gt;
Setzen des SUID-Bit um Freigaben auch ohne Root Rechte einbinden zu können.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo chmod +s /sbin/mount.cifs &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Einbinden==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#Mountpoint erstellen&lt;br /&gt;
sudo mkdir /media/storage/&lt;br /&gt;
&lt;br /&gt;
#Eintrag in /etc/fstab&lt;br /&gt;
//192.168.0.60/storage/ /media/storage/ cifs auto,user=thor,uid=1000,gid=1000 0 0&lt;br /&gt;
&lt;br /&gt;
#temporäres Einbinden&lt;br /&gt;
sudo mount -t cifs -o user=thor,uid=1000,gid=1000 //192.168.0.60/storage/ /media/storage/&lt;br /&gt;
&lt;br /&gt;
#temporäres Einbinden mit fstab Eintrag&lt;br /&gt;
sudo mount /media/storage/&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Crimson</name></author>
		
	</entry>
	<entry>
		<id>https://www.thomas-zenger.de/wiki/index.php?title=Clients_f%C3%BCr_Serverdienste&amp;diff=23</id>
		<title>Clients für Serverdienste</title>
		<link rel="alternate" type="text/html" href="https://www.thomas-zenger.de/wiki/index.php?title=Clients_f%C3%BCr_Serverdienste&amp;diff=23"/>
		<updated>2018-06-26T15:47:40Z</updated>

		<summary type="html">&lt;p&gt;Crimson: Die Seite wurde neu angelegt: „Category:Server ==Aufstellung==  * Samba Client“&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Server]]&lt;br /&gt;
==Aufstellung==&lt;br /&gt;
&lt;br /&gt;
* [[Samba Client]]&lt;/div&gt;</summary>
		<author><name>Crimson</name></author>
		
	</entry>
	<entry>
		<id>https://www.thomas-zenger.de/wiki/index.php?title=Home_Server&amp;diff=22</id>
		<title>Home Server</title>
		<link rel="alternate" type="text/html" href="https://www.thomas-zenger.de/wiki/index.php?title=Home_Server&amp;diff=22"/>
		<updated>2018-06-26T15:45:57Z</updated>

		<summary type="html">&lt;p&gt;Crimson: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Server]] [[Category:Home Server]]&lt;br /&gt;
&lt;br /&gt;
==Daten==&lt;br /&gt;
*CPU: Intel Pentium G4560 2x 3.50GHz HT&lt;br /&gt;
*RAM: 8 GB DDR4-2400&lt;br /&gt;
*Storage:7 TB LVM encrypted&lt;br /&gt;
*OS:Ubuntu Server 18.04 LTS&lt;br /&gt;
&lt;br /&gt;
==Dienste==&lt;br /&gt;
&lt;br /&gt;
* [[SSH]]&lt;br /&gt;
* [[FTP]]&lt;br /&gt;
* [[LAMP]]&lt;br /&gt;
* [[SAMBA Server]]&lt;/div&gt;</summary>
		<author><name>Crimson</name></author>
		
	</entry>
	<entry>
		<id>https://www.thomas-zenger.de/wiki/index.php?title=SAMBA_Server&amp;diff=21</id>
		<title>SAMBA Server</title>
		<link rel="alternate" type="text/html" href="https://www.thomas-zenger.de/wiki/index.php?title=SAMBA_Server&amp;diff=21"/>
		<updated>2018-06-26T15:45:31Z</updated>

		<summary type="html">&lt;p&gt;Crimson: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Server]]&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt-get install samba-common samba&lt;br /&gt;
&lt;br /&gt;
#Hilfreiche Pakete&lt;br /&gt;
sudo apt-get install samba-doc tdb-tools&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Konfiguration==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#Standard Konfiguratinsdatei sichern&lt;br /&gt;
sudo mv /etc/samba/smb.conf /etc/samba/smb.bak&lt;br /&gt;
&lt;br /&gt;
#Config bearbeiten&lt;br /&gt;
sudo nano /etc/samba/smb.conf&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Änderungen in der Konfigurationsdatei:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
[global]&lt;br /&gt;
        workgroup       = home&lt;br /&gt;
        server string   = %h&lt;br /&gt;
        security        = user&lt;br /&gt;
        passdb backend  = tdbsam&lt;br /&gt;
        unix password sync = no&lt;br /&gt;
        invalid users   = root&lt;br /&gt;
        #bind interfaces only = yes&lt;br /&gt;
        #interfaces = 192.168.0.0/24 127.0.0.1&lt;br /&gt;
        hosts allow = 192.168.0.70&lt;br /&gt;
        map to guest    = never&lt;br /&gt;
        logging = syslog@1 /var/log/samba/log.%m&lt;br /&gt;
&lt;br /&gt;
[storage]&lt;br /&gt;
        valid users     = @asatru&lt;br /&gt;
        path            = /mnt/storage/&lt;br /&gt;
        browseable      = yes&lt;br /&gt;
        writeable       = yes&lt;br /&gt;
        force group     = +asatru&lt;br /&gt;
        guest ok        = no&lt;br /&gt;
        create mask     = 0666&lt;br /&gt;
        directory mask  = 0777&lt;br /&gt;
        printable = no&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Schreib- und Leserechte gewähren:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo chmod -R 0777 /mnt/storage/&lt;br /&gt;
&lt;br /&gt;
#Samba neustarten&lt;br /&gt;
sudo service smbd restart&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konfiguration testen:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo testparm&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Benutzerverwaltung==&lt;br /&gt;
&lt;br /&gt;
Die Benutzerverwaltung von Samba ist von der Benutzerverwaltung des Systems getrennt.&lt;br /&gt;
Im System angelegte Benutzer zu Samba hinzufügen:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo smbpasswd -a crimson&lt;br /&gt;
&lt;br /&gt;
#Crimson muss hier Mitglied der Gruppe asatru sein&lt;br /&gt;
sudo adduser crimson asatru&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Weblink ==&lt;br /&gt;
&lt;br /&gt;
* [https://wiki.ubuntuusers.de/Samba Wiki ubuntuusers.de - Samba]&lt;br /&gt;
* [https://wiki.ubuntuusers.de/Samba_Server Wiki ubuntuusers.de - Samba Server]&lt;br /&gt;
* [https://thierrys-blog.ch/index.php/2016/09/23/einfache-samba-freigabe-unter-ubuntu/ Thierrys Blog - Einfache Samba Freigabe unter Ubuntu]&lt;/div&gt;</summary>
		<author><name>Crimson</name></author>
		
	</entry>
	<entry>
		<id>https://www.thomas-zenger.de/wiki/index.php?title=SAMBA_Server&amp;diff=19</id>
		<title>SAMBA Server</title>
		<link rel="alternate" type="text/html" href="https://www.thomas-zenger.de/wiki/index.php?title=SAMBA_Server&amp;diff=19"/>
		<updated>2018-06-26T15:44:59Z</updated>

		<summary type="html">&lt;p&gt;Crimson: Crimson verschob die Seite SAMBA nach SAMBA Server&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Installation==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt-get install samba-common samba&lt;br /&gt;
&lt;br /&gt;
#Hilfreiche Pakete&lt;br /&gt;
sudo apt-get install samba-doc tdb-tools&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Konfiguration==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#Standard Konfiguratinsdatei sichern&lt;br /&gt;
sudo mv /etc/samba/smb.conf /etc/samba/smb.bak&lt;br /&gt;
&lt;br /&gt;
#Config bearbeiten&lt;br /&gt;
sudo nano /etc/samba/smb.conf&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Änderungen in der Konfigurationsdatei:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
[global]&lt;br /&gt;
        workgroup       = home&lt;br /&gt;
        server string   = %h&lt;br /&gt;
        security        = user&lt;br /&gt;
        passdb backend  = tdbsam&lt;br /&gt;
        unix password sync = no&lt;br /&gt;
        invalid users   = root&lt;br /&gt;
        #bind interfaces only = yes&lt;br /&gt;
        #interfaces = 192.168.0.0/24 127.0.0.1&lt;br /&gt;
        hosts allow = 192.168.0.70&lt;br /&gt;
        map to guest    = never&lt;br /&gt;
        logging = syslog@1 /var/log/samba/log.%m&lt;br /&gt;
&lt;br /&gt;
[storage]&lt;br /&gt;
        valid users     = @asatru&lt;br /&gt;
        path            = /mnt/storage/&lt;br /&gt;
        browseable      = yes&lt;br /&gt;
        writeable       = yes&lt;br /&gt;
        force group     = +asatru&lt;br /&gt;
        guest ok        = no&lt;br /&gt;
        create mask     = 0666&lt;br /&gt;
        directory mask  = 0777&lt;br /&gt;
        printable = no&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Schreib- und Leserechte gewähren:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo chmod -R 0777 /mnt/storage/&lt;br /&gt;
&lt;br /&gt;
#Samba neustarten&lt;br /&gt;
sudo service smbd restart&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konfiguration testen:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo testparm&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Benutzerverwaltung==&lt;br /&gt;
&lt;br /&gt;
Die Benutzerverwaltung von Samba ist von der Benutzerverwaltung des Systems getrennt.&lt;br /&gt;
Im System angelegte Benutzer zu Samba hinzufügen:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo smbpasswd -a crimson&lt;br /&gt;
&lt;br /&gt;
#Crimson muss hier Mitglied der Gruppe asatru sein&lt;br /&gt;
sudo adduser crimson asatru&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Weblink ==&lt;br /&gt;
&lt;br /&gt;
* [https://wiki.ubuntuusers.de/Samba Wiki ubuntuusers.de - Samba]&lt;br /&gt;
* [https://wiki.ubuntuusers.de/Samba_Server Wiki ubuntuusers.de - Samba Server]&lt;br /&gt;
* [https://thierrys-blog.ch/index.php/2016/09/23/einfache-samba-freigabe-unter-ubuntu/ Thierrys Blog - Einfache Samba Freigabe unter Ubuntu]&lt;/div&gt;</summary>
		<author><name>Crimson</name></author>
		
	</entry>
	<entry>
		<id>https://www.thomas-zenger.de/wiki/index.php?title=SAMBA&amp;diff=20</id>
		<title>SAMBA</title>
		<link rel="alternate" type="text/html" href="https://www.thomas-zenger.de/wiki/index.php?title=SAMBA&amp;diff=20"/>
		<updated>2018-06-26T15:44:59Z</updated>

		<summary type="html">&lt;p&gt;Crimson: Crimson verschob die Seite SAMBA nach SAMBA Server&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#WEITERLEITUNG [[SAMBA Server]]&lt;/div&gt;</summary>
		<author><name>Crimson</name></author>
		
	</entry>
	<entry>
		<id>https://www.thomas-zenger.de/wiki/index.php?title=SAMBA_Server&amp;diff=18</id>
		<title>SAMBA Server</title>
		<link rel="alternate" type="text/html" href="https://www.thomas-zenger.de/wiki/index.php?title=SAMBA_Server&amp;diff=18"/>
		<updated>2018-06-26T15:44:10Z</updated>

		<summary type="html">&lt;p&gt;Crimson: Die Seite wurde neu angelegt: „==Installation==  &amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt; sudo apt-get install samba-common samba  #Hilfreiche Pakete sudo apt-get install samba-doc tdb-tools &amp;lt;/syntaxhi…“&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Installation==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt-get install samba-common samba&lt;br /&gt;
&lt;br /&gt;
#Hilfreiche Pakete&lt;br /&gt;
sudo apt-get install samba-doc tdb-tools&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Konfiguration==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#Standard Konfiguratinsdatei sichern&lt;br /&gt;
sudo mv /etc/samba/smb.conf /etc/samba/smb.bak&lt;br /&gt;
&lt;br /&gt;
#Config bearbeiten&lt;br /&gt;
sudo nano /etc/samba/smb.conf&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Änderungen in der Konfigurationsdatei:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
[global]&lt;br /&gt;
        workgroup       = home&lt;br /&gt;
        server string   = %h&lt;br /&gt;
        security        = user&lt;br /&gt;
        passdb backend  = tdbsam&lt;br /&gt;
        unix password sync = no&lt;br /&gt;
        invalid users   = root&lt;br /&gt;
        #bind interfaces only = yes&lt;br /&gt;
        #interfaces = 192.168.0.0/24 127.0.0.1&lt;br /&gt;
        hosts allow = 192.168.0.70&lt;br /&gt;
        map to guest    = never&lt;br /&gt;
        logging = syslog@1 /var/log/samba/log.%m&lt;br /&gt;
&lt;br /&gt;
[storage]&lt;br /&gt;
        valid users     = @asatru&lt;br /&gt;
        path            = /mnt/storage/&lt;br /&gt;
        browseable      = yes&lt;br /&gt;
        writeable       = yes&lt;br /&gt;
        force group     = +asatru&lt;br /&gt;
        guest ok        = no&lt;br /&gt;
        create mask     = 0666&lt;br /&gt;
        directory mask  = 0777&lt;br /&gt;
        printable = no&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Schreib- und Leserechte gewähren:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo chmod -R 0777 /mnt/storage/&lt;br /&gt;
&lt;br /&gt;
#Samba neustarten&lt;br /&gt;
sudo service smbd restart&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konfiguration testen:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo testparm&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Benutzerverwaltung==&lt;br /&gt;
&lt;br /&gt;
Die Benutzerverwaltung von Samba ist von der Benutzerverwaltung des Systems getrennt.&lt;br /&gt;
Im System angelegte Benutzer zu Samba hinzufügen:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo smbpasswd -a crimson&lt;br /&gt;
&lt;br /&gt;
#Crimson muss hier Mitglied der Gruppe asatru sein&lt;br /&gt;
sudo adduser crimson asatru&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Weblink ==&lt;br /&gt;
&lt;br /&gt;
* [https://wiki.ubuntuusers.de/Samba Wiki ubuntuusers.de - Samba]&lt;br /&gt;
* [https://wiki.ubuntuusers.de/Samba_Server Wiki ubuntuusers.de - Samba Server]&lt;br /&gt;
* [https://thierrys-blog.ch/index.php/2016/09/23/einfache-samba-freigabe-unter-ubuntu/ Thierrys Blog - Einfache Samba Freigabe unter Ubuntu]&lt;/div&gt;</summary>
		<author><name>Crimson</name></author>
		
	</entry>
	<entry>
		<id>https://www.thomas-zenger.de/wiki/index.php?title=LUKS&amp;diff=17</id>
		<title>LUKS</title>
		<link rel="alternate" type="text/html" href="https://www.thomas-zenger.de/wiki/index.php?title=LUKS&amp;diff=17"/>
		<updated>2018-06-26T14:53:03Z</updated>

		<summary type="html">&lt;p&gt;Crimson: Die Seite wurde neu angelegt: „Category:Server  ==Vorbereitung==  &amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt; #Paket cryptsetup installieren und Kernelmodul laden sudo apt-get install cryptsetup  sudo…“&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Server]]&lt;br /&gt;
&lt;br /&gt;
==Vorbereitung==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#Paket cryptsetup installieren und Kernelmodul laden&lt;br /&gt;
sudo apt-get install cryptsetup &lt;br /&gt;
sudo modprobe dm-crypt &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Erstellen einer verschlüsselten Partition==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#Zu verschlüssende Partition mit Zufallsbytes überschreiben&lt;br /&gt;
sudo dd if=/dev/urandom bs=1M count=8 of=/dev/odin_data/storage&lt;br /&gt;
&lt;br /&gt;
#Partition verschlüsseln&lt;br /&gt;
#-c Alghorithmus&lt;br /&gt;
#-y Passwort zweimal abfragen&lt;br /&gt;
#-s Länge des Schlüssels&lt;br /&gt;
sudo cryptsetup luksFormat -c aes-xts-plain64 -s 512 -h sha512 -y /dev/odin_data/storage &lt;br /&gt;
&lt;br /&gt;
#Verschlüsselte Partition einem virtuellen Gerät zuweisen&lt;br /&gt;
#Erreichbar unter /dev/mapper/storage&lt;br /&gt;
sudo cryptsetup luksOpen /dev/mapper/odin_data-storage storage&lt;br /&gt;
&lt;br /&gt;
#Dateisystem erstellen und Label zuweisen&lt;br /&gt;
sudo mkfs.ext4 /dev/mapper/storage&lt;br /&gt;
sudo tune2fs -L storage /dev/mapper/storage&lt;br /&gt;
&lt;br /&gt;
#Manuelles Einhängen&lt;br /&gt;
sudo mount /dev/mapper/storage /mnt/storage&lt;br /&gt;
&lt;br /&gt;
#Aushängen und Freigabe&lt;br /&gt;
sudo umount /mnt/storage&lt;br /&gt;
sudo cryptsetup luksClose storage &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Crimson</name></author>
		
	</entry>
	<entry>
		<id>https://www.thomas-zenger.de/wiki/index.php?title=LVM&amp;diff=16</id>
		<title>LVM</title>
		<link rel="alternate" type="text/html" href="https://www.thomas-zenger.de/wiki/index.php?title=LVM&amp;diff=16"/>
		<updated>2018-06-25T12:17:24Z</updated>

		<summary type="html">&lt;p&gt;Crimson: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Server]]&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt-get install lvm2 &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Konfiguration==&lt;br /&gt;
&lt;br /&gt;
Die Physical Volumes (hier: HDDs) '''sdb''' und '''sdc''' werden zu einem logischen Volume zusammengefasst.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#Anzeigen der verfügbaren Disks&lt;br /&gt;
sudo lvmdiskscan&lt;br /&gt;
&lt;br /&gt;
#Storage Devices als LVM physical volumes markieren (Schreibt einen LVM Header)&lt;br /&gt;
sudo pvcreate /dev/sdb /dev/sdc&lt;br /&gt;
&lt;br /&gt;
#Volume Group &amp;lt;tt&amp;gt;odin_data&amp;lt;/tt&amp;gt; erstellen&lt;br /&gt;
sudo vgcreate odin_data /dev/sdb /dev/sdc&lt;br /&gt;
&lt;br /&gt;
#Logical Volume &amp;lt;tt&amp;gt;storage&amp;lt;/tt&amp;gt; erstellen (ganze Speicherkapazität)&lt;br /&gt;
sudo lvcreate -l 100%FREE -n storage odin_data&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Weblink ==&lt;br /&gt;
&lt;br /&gt;
* [https://www.digitalocean.com/community/tutorials/how-to-use-lvm-to-manage-storage-devices-on-ubuntu-16-04 Digital Ocean - How To Use LVM To Manage Storage ]&lt;br /&gt;
* [http://www.linuxhaven.de/dlhp/HOWTO/DE-LVM-HOWTO-3.html Linuxhaven - LVM HowTo]&lt;br /&gt;
* [https://wiki.ubuntuusers.de/Logical_Volume_Manager Wiki ubuntuusers.de - LVM]&lt;/div&gt;</summary>
		<author><name>Crimson</name></author>
		
	</entry>
	<entry>
		<id>https://www.thomas-zenger.de/wiki/index.php?title=LVM&amp;diff=15</id>
		<title>LVM</title>
		<link rel="alternate" type="text/html" href="https://www.thomas-zenger.de/wiki/index.php?title=LVM&amp;diff=15"/>
		<updated>2018-06-25T12:15:30Z</updated>

		<summary type="html">&lt;p&gt;Crimson: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Server]]&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt-get install lvm2 &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Konfiguration==&lt;br /&gt;
&lt;br /&gt;
Die Physical Volumes (hier: HDDs) '''sdb''' und '''sdc''' werden zu einem logischen Volume zusammengefasst.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#Anzeigen der verfügbaren Disks&lt;br /&gt;
sudo lvmdiskscan&lt;br /&gt;
&lt;br /&gt;
#Storage Devices als LVM physical volumes markieren (Schreibt einen LVM Header)&lt;br /&gt;
sudo pvcreate /dev/sdb /dev/sdc&lt;br /&gt;
&lt;br /&gt;
#Volume Group &amp;lt;tt&amp;gt;odin_data&amp;lt;/tt&amp;gt; erstellen&lt;br /&gt;
sudo vgcreate odin_data /dev/sdb /dev/sdc&lt;br /&gt;
&lt;br /&gt;
#Logical Volume &amp;lt;tt&amp;gt;storage&amp;lt;/tt&amp;gt; erstellen (ganze Speicherkapazität)&lt;br /&gt;
sudo lvcreate -l 100%FREE -n storage odin_data&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Notizen==&lt;br /&gt;
&lt;br /&gt;
Sollten einzelne Devices nicht erkannt werden&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Weblink ==&lt;br /&gt;
&lt;br /&gt;
* [https://www.digitalocean.com/community/tutorials/how-to-use-lvm-to-manage-storage-devices-on-ubuntu-16-04 Digital Ocean - How To Use LVM To Manage Storage ]&lt;br /&gt;
* [http://www.linuxhaven.de/dlhp/HOWTO/DE-LVM-HOWTO-3.html Linuxhaven - LVM HowTo]&lt;br /&gt;
* [https://wiki.ubuntuusers.de/Logical_Volume_Manager Wiki ubuntuusers.de - LVM]&lt;/div&gt;</summary>
		<author><name>Crimson</name></author>
		
	</entry>
	<entry>
		<id>https://www.thomas-zenger.de/wiki/index.php?title=LVM&amp;diff=14</id>
		<title>LVM</title>
		<link rel="alternate" type="text/html" href="https://www.thomas-zenger.de/wiki/index.php?title=LVM&amp;diff=14"/>
		<updated>2018-06-25T11:54:20Z</updated>

		<summary type="html">&lt;p&gt;Crimson: Die Seite wurde neu angelegt: „Category:Server  ==Installation==  &amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt; sudo apt-get install lvm2  &amp;lt;/syntaxhighlight&amp;gt;  ==Konfiguration==  Die Physical Volumes (hi…“&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Server]]&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt-get install lvm2 &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Konfiguration==&lt;br /&gt;
&lt;br /&gt;
Die Physical Volumes (hier: HDDs) '''sdb''' und '''sdc''' werden zu einem logischen Volume zusammengefasst.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#Anzeigen der verfügbaren Disks&lt;br /&gt;
sudo lvmdiskscan&lt;br /&gt;
&lt;br /&gt;
#Storage Devices als LVM physical volumes markieren (Schreibt einen LVM Header)&lt;br /&gt;
sudo pvcreate /dev/sdb /dev/sdc&lt;br /&gt;
&lt;br /&gt;
#Volume Group &amp;lt;tt&amp;gt;odin_data&amp;lt;/tt&amp;gt; erstellen&lt;br /&gt;
sudo vgcreate odin_data /dev/sdb /dev/sdc&lt;br /&gt;
&lt;br /&gt;
#Logical Volume &amp;lt;tt&amp;gt;storage&amp;lt;/tt&amp;gt; erstellen (ganze Speicherkapazität)&lt;br /&gt;
sudo lvcreate -l 100%FREE -n storage odin_data&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Weblink ==&lt;br /&gt;
&lt;br /&gt;
* [https://www.digitalocean.com/community/tutorials/how-to-use-lvm-to-manage-storage-devices-on-ubuntu-16-04 Digital Ocean - How To Use LVM To Manage Storage ]&lt;br /&gt;
* [http://www.linuxhaven.de/dlhp/HOWTO/DE-LVM-HOWTO-3.html Linuxhaven - LVM HowTo]&lt;br /&gt;
* [https://wiki.ubuntuusers.de/Logical_Volume_Manager Wiki ubuntuusers.de - LVM]&lt;/div&gt;</summary>
		<author><name>Crimson</name></author>
		
	</entry>
	<entry>
		<id>https://www.thomas-zenger.de/wiki/index.php?title=Home_Server&amp;diff=13</id>
		<title>Home Server</title>
		<link rel="alternate" type="text/html" href="https://www.thomas-zenger.de/wiki/index.php?title=Home_Server&amp;diff=13"/>
		<updated>2018-06-25T11:21:15Z</updated>

		<summary type="html">&lt;p&gt;Crimson: /* Daten */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Server]] [[Category:Home Server]]&lt;br /&gt;
&lt;br /&gt;
==Daten==&lt;br /&gt;
*CPU: Intel Pentium G4560 2x 3.50GHz HT&lt;br /&gt;
*RAM: 8 GB DDR4-2400&lt;br /&gt;
*Storage:7 TB LVM encrypted&lt;br /&gt;
*OS:Ubuntu Server 18.04 LTS&lt;br /&gt;
&lt;br /&gt;
==Dienste==&lt;br /&gt;
&lt;br /&gt;
* [[SSH]]&lt;br /&gt;
* [[FTP]]&lt;br /&gt;
* [[LAMP]]&lt;br /&gt;
* [[SAMBA]]&lt;/div&gt;</summary>
		<author><name>Crimson</name></author>
		
	</entry>
	<entry>
		<id>https://www.thomas-zenger.de/wiki/index.php?title=Home_Server&amp;diff=12</id>
		<title>Home Server</title>
		<link rel="alternate" type="text/html" href="https://www.thomas-zenger.de/wiki/index.php?title=Home_Server&amp;diff=12"/>
		<updated>2018-06-25T11:20:38Z</updated>

		<summary type="html">&lt;p&gt;Crimson: /* Folgende Dienste laufen aktuell auf meinem Home Server: */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Server]] [[Category:Home Server]]&lt;br /&gt;
&lt;br /&gt;
==Daten==&lt;br /&gt;
*CPU: Intel Pentium G4560 2x 3.50GHz HT&lt;br /&gt;
*RAM: 8 GB DDR4-2400&lt;br /&gt;
*Storage:7 TB LVM crypted&lt;br /&gt;
*OS:Ubuntu Server 18.04 LTS&lt;br /&gt;
&lt;br /&gt;
==Dienste==&lt;br /&gt;
&lt;br /&gt;
* [[SSH]]&lt;br /&gt;
* [[FTP]]&lt;br /&gt;
* [[LAMP]]&lt;br /&gt;
* [[SAMBA]]&lt;/div&gt;</summary>
		<author><name>Crimson</name></author>
		
	</entry>
	<entry>
		<id>https://www.thomas-zenger.de/wiki/index.php?title=LAMP&amp;diff=11</id>
		<title>LAMP</title>
		<link rel="alternate" type="text/html" href="https://www.thomas-zenger.de/wiki/index.php?title=LAMP&amp;diff=11"/>
		<updated>2018-06-25T11:16:23Z</updated>

		<summary type="html">&lt;p&gt;Crimson: Die Seite wurde neu angelegt: „Category:Server  ==Installation==  &amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt; sudo apt-get install apache2 libapache2-mod-php7.2 php7.2 php7.2-mysql mysql-server  &amp;lt;/syn…“&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Server]]&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt-get install apache2 libapache2-mod-php7.2 php7.2 php7.2-mysql mysql-server &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Bestandteile==&lt;br /&gt;
&lt;br /&gt;
*[[Apache]]&lt;br /&gt;
*[[MySQL]]&lt;br /&gt;
*[[PHP]]&lt;/div&gt;</summary>
		<author><name>Crimson</name></author>
		
	</entry>
	<entry>
		<id>https://www.thomas-zenger.de/wiki/index.php?title=FTP&amp;diff=10</id>
		<title>FTP</title>
		<link rel="alternate" type="text/html" href="https://www.thomas-zenger.de/wiki/index.php?title=FTP&amp;diff=10"/>
		<updated>2018-06-25T11:10:42Z</updated>

		<summary type="html">&lt;p&gt;Crimson: /* Konfiguration */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Server]]&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt-get install vsftpd&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Konfiguration==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo nano /etc/vsftpd.conf&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Folgende Zeilen wurden angepasst:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#Startet als Daemon&lt;br /&gt;
listen=YES&lt;br /&gt;
&lt;br /&gt;
#IPv6 deaktivieren (lokales Netzwerk)&lt;br /&gt;
listen_ipv6=NO&lt;br /&gt;
&lt;br /&gt;
#Anonymes FTP verbieten&lt;br /&gt;
anonymous_enable=NO&lt;br /&gt;
&lt;br /&gt;
#Lokale Benutzer mit Schreibrechten erlauben&lt;br /&gt;
local_enable=YES&lt;br /&gt;
write_enable=YES&lt;br /&gt;
&lt;br /&gt;
#Lokale Benutzer auf Home-Verzeichnis beschränken und Schreibrechte gewähren&lt;br /&gt;
chroot_local_user=YES&lt;br /&gt;
allow_writeable_chroot=YES&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Steuerung==&lt;br /&gt;
&lt;br /&gt;
Nach einer Änderung in der Config Datei muss der Service neu gestartet werden.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo service vsftpd restart &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Crimson</name></author>
		
	</entry>
</feed>