{"id":1183,"date":"2024-07-05T06:39:54","date_gmt":"2024-07-05T06:39:54","guid":{"rendered":"https:\/\/zalvis.com\/docs\/?p=1183"},"modified":"2024-07-05T06:39:54","modified_gmt":"2024-07-05T06:39:54","slug":"change-computer-name-so-that-it-shows-correctly-on-server","status":"publish","type":"post","link":"https:\/\/zalvis.com\/docs\/change-computer-name-so-that-it-shows-correctly-on-server.html","title":{"rendered":"Change computer name so that it shows correctly on server"},"content":{"rendered":"<p>This is configured with the \u2018hostname\u2019 option in \/etc\/sysconfig\/network. Update that file and either reboot or run<br \/>\n<code>hostname &lt;mynewhostname&gt;<\/code><br \/>\nYour current shell will not change but the next time you create a new shell it will be visibile in your shell. If you run the \u2018hostname\u2019 command the effect is immediate.<\/p>\n<div class=\"wtluu69e7b9ea3d549\" >If you enjoyed this article, then you\u2019ll love Zalvis's Cloud Hosting platform. Turbocharge your website and get 24\/7 support from our veteran team. Our world-class hosting infrastructure focuses on auto-scaling, performance, and security. Let us show you the Zalvis difference! <a href=\"https:\/\/zalvis.com\/\">Check out our services.<\/a><\/div><style type=\"text\/css\">\r\n@media screen and (min-width: 1201px) {\r\n.wtluu69e7b9ea3d549 {\r\ndisplay: block;\r\n}\r\n}\r\n@media screen and (min-width: 993px) and (max-width: 1200px) {\r\n.wtluu69e7b9ea3d549 {\r\ndisplay: block;\r\n}\r\n}\r\n@media screen and (min-width: 769px) and (max-width: 992px) {\r\n.wtluu69e7b9ea3d549 {\r\ndisplay: block;\r\n}\r\n}\r\n@media screen and (min-width: 768px) and (max-width: 768px) {\r\n.wtluu69e7b9ea3d549 {\r\ndisplay: block;\r\n}\r\n}\r\n@media screen and (max-width: 767px) {\r\n.wtluu69e7b9ea3d549 {\r\ndisplay: block;\r\n}\r\n}\r\n<\/style>\r\n","protected":false},"excerpt":{"rendered":"<p>This is configured with the \u2018hostname\u2019 option in \/etc\/sysconfig\/network. Update that file and either reboot or run hostname &lt;mynewhostname&gt; Your current shell will not change but the next time you create a new shell it will be visibile in your shell. If you run the \u2018hostname\u2019 command the effect is immediate. If you enjoyed this [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-1183","post","type-post","status-publish","format-standard","hentry","category-server-setup"],"_links":{"self":[{"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/posts\/1183","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/comments?post=1183"}],"version-history":[{"count":2,"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/posts\/1183\/revisions"}],"predecessor-version":[{"id":1185,"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/posts\/1183\/revisions\/1185"}],"wp:attachment":[{"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/media?parent=1183"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/categories?post=1183"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/tags?post=1183"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}