https://wiki.stura.htw-dresden.de/index.php?title=Server/DNS&feed=atom&action=history
Server/DNS - Versionsgeschichte
2024-03-28T14:52:32Z
Versionsgeschichte dieser Seite in Wiki StuRa HTW Dresden
MediaWiki 1.40.2
https://wiki.stura.htw-dresden.de/index.php?title=Server/DNS&diff=37096&oldid=prev
Matthias Jakobi: /* Server starten */
2016-08-08T11:05:16Z
<p><span dir="auto"><span class="autocomment">Server starten</span></span></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="de">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Nächstältere Version</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Version vom 8. August 2016, 12:05 Uhr</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l87">Zeile 87:</td>
<td colspan="2" class="diff-lineno">Zeile 87:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Server starten ==</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Server starten ==</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> systemctl start <del style="font-weight: bold; text-decoration: none;">bind</del>.service</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> systemctl start <ins style="font-weight: bold; text-decoration: none;">bind9.service</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> </div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">; Autostart</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> </div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> systemctl enable bind9</ins>.service</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Kategorie:Gaming]]</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Kategorie:Gaming]]</div></td></tr>
</table>
Matthias Jakobi
https://wiki.stura.htw-dresden.de/index.php?title=Server/DNS&diff=37088&oldid=prev
Matthias Jakobi: Die Seite wurde neu angelegt: „== Installation == Mit grafischer Oberfläche: apt-get install gadmin-bind kann aber auch über Konfigurationsdatei eingestellt werden. <!-- template == Kon…“
2016-08-08T10:17:57Z
<p>Die Seite wurde neu angelegt: „== Installation == Mit grafischer Oberfläche: apt-get install gadmin-bind kann aber auch über Konfigurationsdatei eingestellt werden. <!-- template == Kon…“</p>
<p><b>Neue Seite</b></p><div>== Installation ==<br />
<br />
Mit grafischer Oberfläche:<br />
apt-get install gadmin-bind<br />
kann aber auch über Konfigurationsdatei eingestellt werden.<br />
<br />
<!-- template<br />
== Konfiguration ==<br />
<br />
$ vim /etc/proftpd/conf.d/custom.conf<br />
<br />
# Ftp user doesn't need a valid shell<br />
<Global><br />
RequireValidShell off<br />
</Global><br />
# If desired turn off IPv6<br />
UseIPv6 off<br />
# Default directory is ftpusers home<br />
DefaultRoot ~ ftpuser<br />
# Limit login to the ftpuser group<br />
<Limit LOGIN><br />
DenyGroup !ftpuser<br />
</Limit><br />
<br />
== Nutzer anlegen ==<br />
Für den FTP Zugriff wird ein eigener Benutzer erstellt, ohne gültiger Login Shell und mit dem Homeverzeichnis /var/www/upload:<br />
<br />
$ adduser ftpuser --shell /bin/false --home /var/www/upload<br />
Adding user `ftpuser' ...<br />
Adding new group `ftpuser' (1001) ...<br />
Adding new user `ftpuser' (1001) with group `ftpuser' ...<br />
Creating home directory `/var/www/upload' ...<br />
Copying files from `/etc/skel' ...<br />
Enter new UNIX password: <br />
Retype new UNIX password: <br />
passwd: password updated successfully<br />
[...]<br />
<br />
=== Anonymous Account ===<br />
<br />
Um einen anonymen Lesezugriff zu erlauben wird folgende Datei erstellt:<br />
<br />
$ vim /etc/proftpd/conf.d/anon.conf<br />
<Anonymous ~ftpuser><br />
User ftp<br />
Group ftp<br />
# Users can also login with ftp<br />
UserAlias anonymous ftp<br />
# All files belong to ftp<br />
DirFakeUser on ftp<br />
DirFakeGroup on ftp<br />
RequireValidShell off<br />
MaxClients 10<br />
<Directory *><br />
<Limit WRITE><br />
DenyAll<br />
</Limit><br />
</Directory><br />
</Anonymous><br />
<br />
<br />
Damit der Benutzer ftp auf den anonymen FTP-Bereich zugreifen darf, muss er der Gruppe ftpuser hinzugefügt werden:<br />
<br />
$ adduser ftp ftpuser<br />
Adding user `ftp' to group `ftpuser' ...<br />
Adding user ftp to group ftpuser<br />
Done.<br />
<br />
<br />
<br />
==== Schreibzugriff ====<br />
Um den Anonymous Account auch Schreibzugriff zu geben muss folgendes in der Datei anon.conf geändert werden:<br />
<Anonymous ~ftpuser><br />
[...]<br />
<Directory *><br />
<Limit WRITE><br />
AllowAll<br />
</Limit><br />
</Directory><br />
</Anonymous><br />
<br />
Ausserdem muss das Schreibzugriff für die Gruppe auf das Verzeichnes gesetzt werden:<br />
chmod -R 775 upload/<br />
<br />
--><br />
<br />
== Server starten ==<br />
<br />
systemctl start bind.service<br />
<br />
[[Kategorie:Gaming]]<br />
[[Kategorie:Linux]]<br />
[[Kategorie:Server]]<br />
[[Kategorie:Software]]</div>
Matthias Jakobi