{"id":3406,"date":"2020-01-31T09:55:55","date_gmt":"2020-01-31T08:55:55","guid":{"rendered":"https:\/\/www.j-lawyer.org\/?p=3406"},"modified":"2020-08-25T21:52:20","modified_gmt":"2020-08-25T19:52:20","slug":"j-lawyer-org-server-auf-synology-nas-betreiben","status":"publish","type":"post","link":"https:\/\/www.j-lawyer.org\/?p=3406","title":{"rendered":"j-lawyer.org Server auf Synology NAS betreiben"},"content":{"rendered":"\n<p>Seit geraumer Zeit gibt es den im Kanzleinetzwerk zentral betriebenen j-lawyer.org Serverdienst als Kombination aus Hard- und Software in Form eines <a href=\"https:\/\/www.j-lawyer.org\/?page_id=1855\">Kleinstservers namens j-lawyer.BOX<\/a>. Vorteile gegen\u00fcber einer eigenen Installation sind u.a. eine Verwaltungsoberfl\u00e4che f\u00fcr den Browser, \u00fcber welche Updates der Kanzleisoftware mit einem Klick installiert werden k\u00f6nnen. Au\u00dferdem ist die j-lawyer.BOX so konfiguriert, dass Sie in Kanzleinetzwerken mit Windows-, macOS- und Linuxger\u00e4ten ohne weitere Konfiguration als zentraler Dateispeicher genutzt werden kann.<\/p>\n\n\n\n<p>Wer die Vorteile einer j-lawyer.BOX nutzen, die Software aber auf eigener Hardware betreiben m\u00f6chte, kann eine virtualisierte Variante nutzen: <a href=\"https:\/\/www.j-lawyer.org\/?page_id=2333\">j-lawyer.BOX als Virtualbox-VM<\/a>. Die VM kann man bspw. auch auf einem NAS betreiben und so bspw. von automatischer Datenspiegelung profitieren.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Welches NAS ist empfehlenswert?<\/h2>\n\n\n\n<p>Grunds\u00e4tzlich wird f\u00fcr Virtualisierung mehr Leistung als f\u00fcr das reine Abspeichern von Daten ben\u00f6tigt. Als Anhaltspunkt kann man folgende Anforderungen nutzen:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>min. 4, besser 6 GB RAM<\/li><li>64Bit Quadcore-CPU<\/li><li>min. 512GB nutzbare Festplattenkapazit\u00e4t<\/li><\/ul>\n\n\n\n<p>Es gibt mehrere Hersteller, die NAS-Systeme mit vergleichbaren Spezifikationen anbieten. Als konkrete Modelle seien hier die Synology <a rel=\"noreferrer noopener\" aria-label=\"DS718+ (\u00f6ffnet in neuem Tab)\" href=\"https:\/\/www.synology.com\/de-de\/products\/DS718+\" target=\"_blank\">DS718+<\/a> und die <a rel=\"noreferrer noopener\" aria-label=\"DS918+ (\u00f6ffnet in neuem Tab)\" href=\"https:\/\/www.synology.com\/de-de\/products\/DS918+\" target=\"_blank\">DS918+<\/a> genannt.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Installation<\/h2>\n\n\n\n<p><strong>Herunterladen der VM<\/strong><\/p>\n\n\n\n<p>Die virtuelle Maschine wird als .ova &#8211; Datei zum Download zur Verf\u00fcgung gestellt. Dabei sind verschiedene Konfigurationen bzgl. der Kapazit\u00e4t der virtuellen Festplatte m\u00f6glich. Der Download selbst ist davon nicht betroffen, bspw. hat eine mit 256GB Kapazit\u00e4t konfigurierte VM eine Rohgr\u00f6\u00dfe von ca. 6GB.<\/p>\n\n\n\n<p><strong>Erstellen der VM<\/strong><\/p>\n\n\n\n<p>Zun\u00e4chst wird in der Oberfl\u00e4che des NAS-Systems der &#8222;Virtual Machine Manager gestartet&#8220;.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"351\" src=\"https:\/\/www.j-lawyer.org\/wp-content\/uploads\/grafik-6-1024x351.png\" alt=\"\" class=\"wp-image-3408\" srcset=\"https:\/\/www.j-lawyer.org\/wp-content\/uploads\/grafik-6-1024x351.png 1024w, https:\/\/www.j-lawyer.org\/wp-content\/uploads\/grafik-6-300x103.png 300w, https:\/\/www.j-lawyer.org\/wp-content\/uploads\/grafik-6-768x263.png 768w, https:\/\/www.j-lawyer.org\/wp-content\/uploads\/grafik-6.png 1067w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"907\" height=\"424\" src=\"https:\/\/www.j-lawyer.org\/wp-content\/uploads\/grafik-7.png\" alt=\"\" class=\"wp-image-3409\" srcset=\"https:\/\/www.j-lawyer.org\/wp-content\/uploads\/grafik-7.png 907w, https:\/\/www.j-lawyer.org\/wp-content\/uploads\/grafik-7-300x140.png 300w, https:\/\/www.j-lawyer.org\/wp-content\/uploads\/grafik-7-768x359.png 768w\" sizes=\"auto, (max-width: 907px) 100vw, 907px\" \/><\/figure><\/div>\n\n\n\n<p>Im Men\u00fc links w\u00e4hlt man nun &#8222;Virtuelle Maschine&#8220; und anschlie\u00dfend &#8222;Importieren&#8220;:<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"907\" height=\"424\" src=\"https:\/\/www.j-lawyer.org\/wp-content\/uploads\/grafik-8.png\" alt=\"\" class=\"wp-image-3410\" srcset=\"https:\/\/www.j-lawyer.org\/wp-content\/uploads\/grafik-8.png 907w, https:\/\/www.j-lawyer.org\/wp-content\/uploads\/grafik-8-300x140.png 300w, https:\/\/www.j-lawyer.org\/wp-content\/uploads\/grafik-8-768x359.png 768w\" sizes=\"auto, (max-width: 907px) 100vw, 907px\" \/><\/figure><\/div>\n\n\n\n<p>Anschlie\u00dfend w\u00e4hlt man die Option, die Datei vom PC hochzuladen, w\u00e4hlt die .ova-Datei aus und beginnt den Import.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"697\" src=\"https:\/\/www.j-lawyer.org\/wp-content\/uploads\/grafik-10-1024x697.png\" alt=\"\" class=\"wp-image-3412\" srcset=\"https:\/\/www.j-lawyer.org\/wp-content\/uploads\/grafik-10-1024x697.png 1024w, https:\/\/www.j-lawyer.org\/wp-content\/uploads\/grafik-10-300x204.png 300w, https:\/\/www.j-lawyer.org\/wp-content\/uploads\/grafik-10-768x523.png 768w, https:\/\/www.j-lawyer.org\/wp-content\/uploads\/grafik-10.png 1135w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"612\" height=\"436\" src=\"https:\/\/www.j-lawyer.org\/wp-content\/uploads\/grafik-11.png\" alt=\"\" class=\"wp-image-3413\" srcset=\"https:\/\/www.j-lawyer.org\/wp-content\/uploads\/grafik-11.png 612w, https:\/\/www.j-lawyer.org\/wp-content\/uploads\/grafik-11-300x214.png 300w\" sizes=\"auto, (max-width: 612px) 100vw, 612px\" \/><\/figure><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"612\" height=\"436\" src=\"https:\/\/www.j-lawyer.org\/wp-content\/uploads\/grafik-12.png\" alt=\"\" class=\"wp-image-3414\" srcset=\"https:\/\/www.j-lawyer.org\/wp-content\/uploads\/grafik-12.png 612w, https:\/\/www.j-lawyer.org\/wp-content\/uploads\/grafik-12-300x214.png 300w\" sizes=\"auto, (max-width: 612px) 100vw, 612px\" \/><\/figure><\/div>\n\n\n\n<p>Ist der Upload abgeschlossen, so w\u00e4hlt man den Speicher des NAS auf, auf welchem die VM abgelegt \/ betrieben werden soll:<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"612\" height=\"436\" src=\"https:\/\/www.j-lawyer.org\/wp-content\/uploads\/grafik-13.png\" alt=\"\" class=\"wp-image-3415\" srcset=\"https:\/\/www.j-lawyer.org\/wp-content\/uploads\/grafik-13.png 612w, https:\/\/www.j-lawyer.org\/wp-content\/uploads\/grafik-13-300x214.png 300w\" sizes=\"auto, (max-width: 612px) 100vw, 612px\" \/><\/figure><\/div>\n\n\n\n<p><strong>Einstellungen der VM<\/strong><\/p>\n\n\n\n<p>Im Folgenden werden die Einstellungen der virtuellen Maschine best\u00e4tigt oder ggf. angepasst.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"612\" height=\"436\" src=\"https:\/\/www.j-lawyer.org\/wp-content\/uploads\/grafik-14.png\" alt=\"\" class=\"wp-image-3416\" srcset=\"https:\/\/www.j-lawyer.org\/wp-content\/uploads\/grafik-14.png 612w, https:\/\/www.j-lawyer.org\/wp-content\/uploads\/grafik-14-300x214.png 300w\" sizes=\"auto, (max-width: 612px) 100vw, 612px\" \/><\/figure><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"612\" height=\"436\" src=\"https:\/\/www.j-lawyer.org\/wp-content\/uploads\/grafik-15.png\" alt=\"\" class=\"wp-image-3417\" srcset=\"https:\/\/www.j-lawyer.org\/wp-content\/uploads\/grafik-15.png 612w, https:\/\/www.j-lawyer.org\/wp-content\/uploads\/grafik-15-300x214.png 300w\" sizes=\"auto, (max-width: 612px) 100vw, 612px\" \/><\/figure><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"612\" height=\"436\" src=\"https:\/\/www.j-lawyer.org\/wp-content\/uploads\/grafik-16.png\" alt=\"\" class=\"wp-image-3418\" srcset=\"https:\/\/www.j-lawyer.org\/wp-content\/uploads\/grafik-16.png 612w, https:\/\/www.j-lawyer.org\/wp-content\/uploads\/grafik-16-300x214.png 300w\" sizes=\"auto, (max-width: 612px) 100vw, 612px\" \/><\/figure><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"612\" height=\"436\" src=\"https:\/\/www.j-lawyer.org\/wp-content\/uploads\/grafik-17.png\" alt=\"\" class=\"wp-image-3419\" srcset=\"https:\/\/www.j-lawyer.org\/wp-content\/uploads\/grafik-17.png 612w, https:\/\/www.j-lawyer.org\/wp-content\/uploads\/grafik-17-300x214.png 300w\" sizes=\"auto, (max-width: 612px) 100vw, 612px\" \/><\/figure><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"612\" height=\"436\" src=\"https:\/\/www.j-lawyer.org\/wp-content\/uploads\/grafik-18.png\" alt=\"\" class=\"wp-image-3420\" srcset=\"https:\/\/www.j-lawyer.org\/wp-content\/uploads\/grafik-18.png 612w, https:\/\/www.j-lawyer.org\/wp-content\/uploads\/grafik-18-300x214.png 300w\" sizes=\"auto, (max-width: 612px) 100vw, 612px\" \/><\/figure><\/div>\n\n\n\n<p><strong>Import abschlie\u00dfen<\/strong><\/p>\n\n\n\n<p>Nach der Best\u00e4tigung der Einstellungen wird die VM importiert und gestartet.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"612\" height=\"436\" src=\"https:\/\/www.j-lawyer.org\/wp-content\/uploads\/grafik-19.png\" alt=\"\" class=\"wp-image-3421\" srcset=\"https:\/\/www.j-lawyer.org\/wp-content\/uploads\/grafik-19.png 612w, https:\/\/www.j-lawyer.org\/wp-content\/uploads\/grafik-19-300x214.png 300w\" sizes=\"auto, (max-width: 612px) 100vw, 612px\" \/><\/figure><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"907\" height=\"425\" src=\"https:\/\/www.j-lawyer.org\/wp-content\/uploads\/grafik-20.png\" alt=\"\" class=\"wp-image-3422\" srcset=\"https:\/\/www.j-lawyer.org\/wp-content\/uploads\/grafik-20.png 907w, https:\/\/www.j-lawyer.org\/wp-content\/uploads\/grafik-20-300x141.png 300w, https:\/\/www.j-lawyer.org\/wp-content\/uploads\/grafik-20-768x360.png 768w\" sizes=\"auto, (max-width: 907px) 100vw, 907px\" \/><\/figure><\/div>\n\n\n\n<p>Nach Abschluss wird die VM automatisch gestartet:<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"907\" height=\"553\" src=\"https:\/\/www.j-lawyer.org\/wp-content\/uploads\/grafik-21.png\" alt=\"\" class=\"wp-image-3423\" srcset=\"https:\/\/www.j-lawyer.org\/wp-content\/uploads\/grafik-21.png 907w, https:\/\/www.j-lawyer.org\/wp-content\/uploads\/grafik-21-300x183.png 300w, https:\/\/www.j-lawyer.org\/wp-content\/uploads\/grafik-21-768x468.png 768w\" sizes=\"auto, (max-width: 907px) 100vw, 907px\" \/><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">M\u00f6gliche Fallstricke<\/h2>\n\n\n\n<p><strong>Netzwerk nicht verf\u00fcgbar<\/strong><\/p>\n\n\n\n<p>Es kann vorkommen dass durch den Import der VM die Netzwerkeinstellungen verloren gehen. Tritt dieses Problem auf, kann man sich nicht von &#8222;au\u00dfen&#8220; zu der VM verbinden, bspw. liefert der Aufruf<\/p>\n\n\n\n<p><a href=\"http:\/\/j-lawyer-box:8080\/j-lawyer.box\/index.xhtml\">http:\/\/j-lawyer-box:8080\/j-lawyer.box\/index.xhtml<\/a><\/p>\n\n\n\n<p>keine Seite aus.<\/p>\n\n\n\n<p>In diesem Fall sollte zuerst die Konsole der VM (\u00fcber die Oberfl\u00e4che des NAS) ge\u00f6ffnet werden. Mit &#8222;ip addr&#8220; bekommt man alle IP-Adresse der VM angezeigt. Wird hier keine IP aus dem Bereich des lokalen Netzwerkes angezeigt, so pr\u00fcft man ob \u00fcberhaupt Netzwerkger\u00e4te verf\u00fcgbar sind, mit &#8222;ip link show&#8220;. Eine Ausgabe k\u00f6nnte wie folgt aussehen:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">1: lo:  mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1\n\n    link\/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00\n\n2: enp3s0f1:  mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000\n\n    link\/ether 80:fa:5b:17:c5:a7 brd ff:ff:ff:ff:ff:ff<\/pre>\n\n\n\n<p> &#8222;lo&#8220; und &#8222;enp3s0f1&#8220; sind die Namen der Netzwerkger\u00e4te. &#8222;lo&#8220; ist hier nicht relevant (das sogenannte Loopback-Device), d.h. das verf\u00fcgbare Netzwerkger\u00e4t heisst &#8222;enp3s0f1&#8220;. Nun pr\u00fcft man, ob dieses konfiguriert ist, via &#8222;cat \/etc\/network\/interfaces&#8220;:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">auto eth0\niface eth0 inet dhcp<\/pre>\n\n\n\n<p>In diesem Fall ist ein Netzwerkger\u00e4t konfiguriert, allerdings mit dem Namen &#8222;eth0&#8220;. Wir \u00e4ndern die Datei also wie folgt:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">auto enp3s0f1\niface enp3s0f1 inet dhcp<\/pre>\n\n\n\n<p>Die Namen der Netzwerkschnittstellen m\u00fcssen ebenfalls in der Datei \/etc\/netplan\/config.yaml ersetzt werden. Anschlie\u00dfend werden die \u00c4nderungen per<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo netplan apply<\/pre>\n\n\n\n<p>aktiviert. Das Netzwerk ist somit funktionsf\u00e4hig.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Seit geraumer Zeit gibt es den im Kanzleinetzwerk zentral betriebenen j-lawyer.org Serverdienst als Kombination aus Hard- und Software in Form eines Kleinstservers namens j-lawyer.BOX. Vorteile gegen\u00fcber einer eigenen Installation sind u.a. eine Verwaltungsoberfl\u00e4che f\u00fcr den Browser, \u00fcber welche Updates der Kanzleisoftware mit einem Klick installiert werden k\u00f6nnen. Au\u00dferdem ist die j-lawyer.BOX so konfiguriert, dass Sie [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"categories":[341],"tags":[832,833,245,830,831,834,836,835],"class_list":{"0":"post-3406","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-tipps-und-tricks","7":"tag-ds718","8":"tag-ds918","9":"tag-j-lawyer-box","10":"tag-nas","11":"tag-synology","12":"tag-virtualbox","13":"tag-virtuelle-maschine","14":"tag-vm","15":"czr-hentry"},"_links":{"self":[{"href":"https:\/\/www.j-lawyer.org\/index.php?rest_route=\/wp\/v2\/posts\/3406","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.j-lawyer.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.j-lawyer.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.j-lawyer.org\/index.php?rest_route=\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.j-lawyer.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3406"}],"version-history":[{"count":3,"href":"https:\/\/www.j-lawyer.org\/index.php?rest_route=\/wp\/v2\/posts\/3406\/revisions"}],"predecessor-version":[{"id":3821,"href":"https:\/\/www.j-lawyer.org\/index.php?rest_route=\/wp\/v2\/posts\/3406\/revisions\/3821"}],"wp:attachment":[{"href":"https:\/\/www.j-lawyer.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3406"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.j-lawyer.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3406"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.j-lawyer.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3406"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}