{"id":316,"date":"2019-02-14T22:38:05","date_gmt":"2019-02-14T22:38:05","guid":{"rendered":"https:\/\/zerosyntax.de\/?p=316"},"modified":"2019-04-30T16:48:56","modified_gmt":"2019-04-30T16:48:56","slug":"linux-container-lxc","status":"publish","type":"post","link":"https:\/\/zerosyntax.de\/index.php\/2019\/02\/14\/linux-container-lxc\/","title":{"rendered":"Linux Container (LXC)"},"content":{"rendered":"\n<figure class=\"wp-block-image is-resized\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/zerosyntax.de\/wp-content\/uploads\/2019\/02\/lxc_container_01-576x1024.png\" alt=\"\" class=\"wp-image-317\" width=\"576\" height=\"1024\" srcset=\"https:\/\/zerosyntax.de\/wp-content\/uploads\/2019\/02\/lxc_container_01-576x1024.png 576w, https:\/\/zerosyntax.de\/wp-content\/uploads\/2019\/02\/lxc_container_01-169x300.png 169w, https:\/\/zerosyntax.de\/wp-content\/uploads\/2019\/02\/lxc_container_01.png 768w, https:\/\/zerosyntax.de\/wp-content\/uploads\/2019\/02\/lxc_container_01-624x1110.png 624w\" sizes=\"(max-width: 576px) 100vw, 576px\" \/><figcaption>Linux Container mit Raspberry Pi<\/figcaption><\/figure>\n\n\n\n<p style=\"background-color:#f7f7f7\" class=\"has-background has-medium-font-size\">sudo apt-get install openssh-server<br>sudo apt-get install lxc<br>sudo lxc-create -t debian -n <em>name_was_man_m\u00f6chtest<\/em><\/p>\n\n\n\n<p>Das erstes mal dauerte etwa 10-15 Minuten. Raspberry Pi 2 hat daf\u00fcr 30 Minuten gebraucht. <\/p>\n\n\n\n<p> Ubuntu system installieren kann Fehlermeldung bekommen. Installieren &#8218;lxc-templates&#8216; und &#8218;debootstrap&#8216;. Wenn die dann installiert sind und alles fertig ist kann mann das \u00fcberpr\u00fcfen mit<\/p>\n\n\n\n<p style=\"background-color:#f7f7f7\" class=\"has-background has-medium-font-size\">sudo lxc-ls &#8211;fancy<br>sudo lxc-start -d -n <em>name_was_man_benutzt_hat<\/em><br>sudo lxc-attach -n <em>name_was_man_benutzt_hat<\/em><\/p>\n\n\n\n<p>Dieses Programm dann zu stoppen tippt man <strong>poweroff<\/strong> und dann ist LXC gestoppt.<br><\/p>\n\n\n\n<p><br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>sudo apt-get install openssh-serversudo apt-get install lxcsudo lxc-create -t debian -n name_was_man_m\u00f6chtest Das erstes mal dauerte etwa 10-15 Minuten. Raspberry Pi 2 hat daf\u00fcr 30 Minuten gebraucht. Ubuntu&#8230;<\/p>\n","protected":false},"author":1,"featured_media":317,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/zerosyntax.de\/index.php\/wp-json\/wp\/v2\/posts\/316"}],"collection":[{"href":"https:\/\/zerosyntax.de\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zerosyntax.de\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zerosyntax.de\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zerosyntax.de\/index.php\/wp-json\/wp\/v2\/comments?post=316"}],"version-history":[{"count":6,"href":"https:\/\/zerosyntax.de\/index.php\/wp-json\/wp\/v2\/posts\/316\/revisions"}],"predecessor-version":[{"id":896,"href":"https:\/\/zerosyntax.de\/index.php\/wp-json\/wp\/v2\/posts\/316\/revisions\/896"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/zerosyntax.de\/index.php\/wp-json\/wp\/v2\/media\/317"}],"wp:attachment":[{"href":"https:\/\/zerosyntax.de\/index.php\/wp-json\/wp\/v2\/media?parent=316"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zerosyntax.de\/index.php\/wp-json\/wp\/v2\/categories?post=316"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zerosyntax.de\/index.php\/wp-json\/wp\/v2\/tags?post=316"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}