{"id":9026,"date":"2023-09-23T20:47:03","date_gmt":"2023-09-23T18:47:03","guid":{"rendered":"https:\/\/linux-bibel.at\/?p=9026"},"modified":"2023-09-23T20:47:05","modified_gmt":"2023-09-23T18:47:05","slug":"lamp-server-zwei-moeglichkeiten-der-verwaltung-fuer-faule","status":"publish","type":"post","link":"https:\/\/linux-bibel.at\/index.php\/2023\/09\/23\/lamp-server-zwei-moeglichkeiten-der-verwaltung-fuer-faule\/","title":{"rendered":"LAMP-Server &#8211; Zwei M\u00f6glichkeiten der Verwaltung f\u00fcr Faule"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Ein LAMP-Server (<strong>L<\/strong>inux-<strong>A<\/strong>oache-<strong>M<\/strong>ySQl-<strong>P<\/strong>HP) ist unter Linux eigentlich schnell aufgesetzt. Bleibt jedoch im Rohzustand m\u00fchsam in der Handhabung und Pflege. Meistens installiert man sich dann noch das bekannte&nbsp;<a href=\"https:\/\/webmin.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">Webmin<\/a>&nbsp;hinzu. Doch es gibt auch noch Alternativen, die man vielleicht auch mal in Erw\u00e4gung ziehen k\u00f6nnte:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Zum einen\u00a0<strong>TinyCP<\/strong>\u00a0(Lightweight Linux Control Panel) was eine sehr schlanke und resourcenschonende M\u00f6glichkeit darstellt, und zum anderen\u00a0<strong>DockerLAMP<\/strong>\u00a0(karye\/lampw), ein regelm\u00e4ssig gepflegter Docker-Container, der ebenfalls mit ein paar Mausklicks eine vollwertige LAMP-Umgebung bereitstellt. In meinem Test konnte TinyCP \u00fcberzeugen. Es fehlen einige Features gegen\u00fcber Webmin, jedoch ist es weniger aufgeblasen und f\u00fchrt schneller zum Ergebnis.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"398\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/tinycp-1024x398.png\" alt=\"\" class=\"wp-image-9027\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/tinycp-1024x398.png 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/tinycp-300x116.png 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/tinycp-150x58.png 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/tinycp-768x298.png 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/tinycp.png 1280w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">TinyCP ist zwar nicht Opensource, wird aber derzeit per Spendenbasis finanziert. Installiert wird TinyCP unter Debian mit ein paar Zeilen Code:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt install apt-transport-https dirmngr gnupg ca-certificates\nsudo apt-key adv --fetch-keys http:\/\/repos.tinycp.com\/debian\/conf\/gpg.key\nsudo echo \"deb http:\/\/repos.tinycp.com\/debian all main\" | sudo tee \/etc\/apt\/sources.list.d\/tinycp.list\nsudo apt-get update\nsudo apt-get install tinycp <\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">TinyCP erstellt mit ein paar Mausklicks auch ein kostenloses Let&#8217;s Encrypt-Zertifikat, so dass (Port-Weiterleitung im Router und DynDNS-URL vorausgesetzt) auch von unterwegs per SSL darauf zugegriffen werden kann.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Zu\u00a0<strong>Docker-LAMP<\/strong>\u00a0muss nicht viel gesagt werden. Hier erh\u00e4lt man Apache, MariaDB, PHP, phpMyAdmin, Webmin und nodejs in einem komfortablen Container:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>docker run --restart unless-stopped -d -p 80:80 -p 443:443 -p 3000:3000 -p 10000:10000 \\\n-v \/var\/www:\/var\/www -v mysql-data:\/var\/lib\/mysql -e AREA=Europe -e CITY=Vienna --name lamp registry.gitlab.com\/karye\/docker-lampw<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Empfehlenwert ist hierzu ein vorinstalliertes&nbsp;<a href=\"https:\/\/www.portainer.io\/\" target=\"_blank\" rel=\"noreferrer noopener\">Portainer<\/a>, da das Passwort f\u00fcr den Admin per Zufallsgenerator erstellt wird und dann im Logviewer bequem ausgelesen werden kann.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">F\u00fcr die Zukunft kann man sich auch noch&nbsp;<a href=\"https:\/\/www.nethserver.org\/nethserver-8\/\" target=\"_blank\" rel=\"noreferrer noopener\">Nethserver 8<\/a>&nbsp;anmerken. Momentan noch in der Betaphase, wird dieses Controlpanel auch Debian als Unterbau akzeptieren und sicherlich die eine oder andere pers\u00f6nliche Webapplication, basierend auf LAMP beherbergen k\u00f6nnen.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">TinyCP:\u00a0<a rel=\"noreferrer noopener\" href=\"https:\/\/tinycp.com\/\" target=\"_blank\">https:\/\/tinycp.com<\/a><br>DockerLAMP:\u00a0<a rel=\"noreferrer noopener\" href=\"https:\/\/hub.docker.com\/r\/karye\/lampw\" target=\"_blank\">https:\/\/hub.docker.com\/r\/karye\/lampw<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Verfasst von bluestar<\/p>\n<div class=\"pld-like-dislike-wrap pld-custom\">\r\n    <div class=\"pld-like-wrap  pld-common-wrap\">\r\n    <a href=\"javascript:void(0)\" class=\"pld-like-trigger pld-like-dislike-trigger  \" title=\"Gef\u00e4llt mir\" data-post-id=\"9026\" data-trigger-type=\"like\" data-restriction=\"cookie\" data-already-liked=\"0\">\r\n                            <img src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/12\/Daumen-Hoch.png\" alt=\"Gef\u00e4llt mir\" \/>\r\n            <\/a>\r\n    <span class=\"pld-like-count-wrap pld-count-wrap\">    <\/span>\r\n<\/div><div class=\"pld-dislike-wrap  pld-common-wrap\">\r\n    <a href=\"javascript:void(0)\" class=\"pld-dislike-trigger pld-like-dislike-trigger  \" title=\"Gef\u00e4llt mir nicht\" data-post-id=\"9026\" data-trigger-type=\"dislike\" data-restriction=\"cookie\" data-already-liked=\"0\">\r\n                            <img src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/12\/Daumen-Runter.png\" alt=\"Gef\u00e4llt mir nicht\" \/>\r\n            <\/a>\r\n    <span class=\"pld-dislike-count-wrap pld-count-wrap\"><\/span>\r\n<\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Ein LAMP-Server (Linux-Aoache-MySQl-PHP) ist unter Linux eigentlich schnell aufgesetzt. Bleibt jedoch im Rohzustand m\u00fchsam in der Handhabung und Pflege. Meistens installiert man sich dann noch das bekannte&nbsp;Webmin&nbsp;hinzu. Doch es gibt auch noch Alternativen, die man vielleicht auch mal in Erw\u00e4gung ziehen k\u00f6nnte: Zum einen\u00a0TinyCP\u00a0(Lightweight Linux Control Panel) was eine sehr schlanke und resourcenschonende M\u00f6glichkeit darstellt, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":9027,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[47,38],"tags":[46,39],"class_list":["post-9026","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-internet","category-netzwerk","tag-internet","tag-netzwerk"],"_links":{"self":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/9026","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/comments?post=9026"}],"version-history":[{"count":1,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/9026\/revisions"}],"predecessor-version":[{"id":9028,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/9026\/revisions\/9028"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/media\/9027"}],"wp:attachment":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/media?parent=9026"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/categories?post=9026"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/tags?post=9026"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}