{"id":912,"date":"2023-09-03T19:07:58","date_gmt":"2023-09-03T17:07:58","guid":{"rendered":"https:\/\/linux-bibel.at\/?p=912"},"modified":"2023-09-03T19:07:59","modified_gmt":"2023-09-03T17:07:59","slug":"den-hostnamen-unter-linux-aendern-ganz-einfach","status":"publish","type":"post","link":"https:\/\/linux-bibel.at\/index.php\/2023\/09\/03\/den-hostnamen-unter-linux-aendern-ganz-einfach\/","title":{"rendered":"Den Hostnamen unter Linux \u00e4ndern ganz einfach"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Unter Linux mit\u00a0<a href=\"https:\/\/linux-bibel.at\/index.php\/2023\/09\/03\/systemd-die-steuerzentrale-von-linux\/\" data-type=\"post\" data-id=\"783\" target=\"_blank\" rel=\"noreferrer noopener\">Systemd<\/a>\u00a0\u00e4ndern Sie den Hostnamen \/ Rechnernamen ganz einfach als\u00a0Administrator\u00a0am\u00a0Terminal.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Mit dem Befehl:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>hostnamectl<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">lassen Sie sich Informationen rund um den Rechner anzeigen &#8211; in meinem Beispiel:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/hostnamectl-1024x576.jpg\" alt=\"\" class=\"wp-image-913\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/hostnamectl-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/hostnamectl-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/hostnamectl-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/hostnamectl-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/hostnamectl.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Um den Hostnamen zu \u00e4ndern, nutzen Sie die Option &#8222;<strong>set-hostname<\/strong>&#8220; in Kombination mit der neuen Bezeichnung &#8211; diese hat wie \u00fcblich keine Gro\u00dfbuchstaben zu enthalten. Etwa:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>hostnamectl set-hostname neuer_name<\/code><\/pre>\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=\"912\" 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=\"912\" 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>Unter Linux mit\u00a0Systemd\u00a0\u00e4ndern Sie den Hostnamen \/ Rechnernamen ganz einfach als\u00a0Administrator\u00a0am\u00a0Terminal. Mit dem Befehl: lassen Sie sich Informationen rund um den Rechner anzeigen &#8211; in meinem Beispiel: Um den Hostnamen zu \u00e4ndern, nutzen Sie die Option &#8222;set-hostname&#8220; in Kombination mit der neuen Bezeichnung &#8211; diese hat wie \u00fcblich keine Gro\u00dfbuchstaben zu enthalten. Etwa:<\/p>\n","protected":false},"author":1,"featured_media":913,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[15],"class_list":["post-912","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-system","tag-system"],"_links":{"self":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/912","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=912"}],"version-history":[{"count":1,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/912\/revisions"}],"predecessor-version":[{"id":914,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/912\/revisions\/914"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/media\/913"}],"wp:attachment":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/media?parent=912"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/categories?post=912"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/tags?post=912"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}