{"url":"https://embedded.hatenadiary.org/entry/20081108/p2","categories":["ubuntu"],"title":"\u30db\u30b9\u30c8\u30cd\u30fc\u30e0\u306e\u5909\u66f4\u65b9\u6cd5","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fembedded.hatenadiary.org%2Fentry%2F20081108%2Fp2\" title=\"\u30db\u30b9\u30c8\u30cd\u30fc\u30e0\u306e\u5909\u66f4\u65b9\u6cd5 - \u7d44\u307f\u8fbc\u307f\u306e\u4eba\u3002\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"/etc/hostname \u3068 /etc/hosts \u306e2\u7b87\u6240\u3092\u65e7\u30db\u30b9\u30c8\u30cd\u30fc\u30e0\u304b\u3089\u65b0\u30db\u30b9\u30c8\u30cd\u30fc\u30e0\u306b\u7f6e\u63db\u3059\u308b\u3002 $ sudo bash # vi /etc/hostname # vi /etc/hosts # reboot \u6ce8\u610f!/etc/hostname \u3068 /etc/hosts\u304c\u98df\u3044\u9055\u3063\u3066\u3044\u308b\u72b6\u6cc1\u3067\u306fsudo\u30b3\u30de\u30f3\u30c9\u304c\u30a8\u30e9\u30fc\u306b\u306a\u3063\u3066\u3057\u307e\u3046\u3002 \u3064\u307e\u308a sudo vi /etc/hostname \u3067\u30db\u30b9\u30c8\u30cd\u30fc\u30e0\u3092\u5909\u66f4\u3057\u305f\u5f8c\u306b sudo vi /etc/hosts \u3092\u3057\u3088\u3046\u3068\u3057\u3066\u3082sudo\u304c\u30a8\u30e9\u30fc\u3092\u8d77\u3053\u3057\u3066\u5b9f\u884c\u3067\u304d\u306a\u304f\u306a\u3063\u3066\u3057\u307e\u3046\u3002\u4e07\u304c\u4e00\u3053\u308c\u3092\u3084\u3063\u3066\u3057\u307e\u3063\u3066sudo\u304c\u52b9\u304b\u306a\u304f\u306a\u3063\u3066\u3057\u307e\u3063\u305f\u5834\u5408\u306b\u306f\u2026","author_url":"https://blog.hatena.ne.jp/embedded/","author_name":"embedded","published":"2008-11-08 00:00:01","blog_url":"https://embedded.hatenadiary.org/","provider_url":"https://hatena.blog","image_url":null,"type":"rich","version":"1.0","width":"100%","blog_title":"\u7d44\u307f\u8fbc\u307f\u306e\u4eba\u3002","provider_name":"Hatena Blog","height":"190"}