{"id":341,"date":"2021-05-11T23:55:35","date_gmt":"2021-05-11T14:55:35","guid":{"rendered":"https:\/\/roroing.net\/?p=341"},"modified":"2021-05-11T23:57:25","modified_gmt":"2021-05-11T14:57:25","slug":"nmtui%e3%81%8c%e4%bd%bf%e3%81%88%e3%81%aa%e3%81%84%e3%81%aa%e3%82%89%e8%a8%ad%e5%ae%9a%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%82%92%e3%81%a4%e3%81%8f%e3%82%8d%e3%81%86","status":"publish","type":"post","link":"https:\/\/roroing.net\/?p=341","title":{"rendered":"nmtui\u304c\u4f7f\u3048\u306a\u3044\u306a\u3089\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u3064\u304f\u308d\u3046"},"content":{"rendered":"\n<p>\u3068\u3042\u308b\u30af\u30e9\u30a6\u30c9\u304b\u3089ubuntu20.04\u306e\u74b0\u5883\u306bNIC\u30922\u3064\u8a2d\u7f6e\u5f8c\u306b\u3001\u30b3\u30f3\u30bd\u30fc\u30eb\u4e0a\u304b\u3089IP\u3092\u8ffd\u52a0\u3059\u308b\u6a5f\u4f1a\u304c\u3042\u3063\u305f\u3002<br>\u7c21\u5358\u306b\u3064\u3051\u308b\u5834\u5408\u3001nmtui\u3092\u305f\u305f\u3044\u3066\u304b\u3089GUI\u4e0a\u3067\u8a2d\u7f6e\u3067\u304d\u308b\u3093\u3060\u3051\u3069\u4eca\u56de\u306f\u3067\u304d\u306a\u304b\u3063\u305f\u3002\u7406\u7531\u306f\u5272\u611b\u3002<br><br>ubuntu20.04\u306e\u5834\u5408\u306f\u3001\u307e\u305a\u3001\/etc\/network\/\u4ee5\u4e0b\u306b\u3042\u308b\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u5909\u66f4\u3057\u3066\u7121\u52b9\u5316\u306b\u3057\u305f\u3002<br>\u30d5\u30a1\u30a4\u30eb\u540d\u306f\u74b0\u5883\u306b\u3088\u3063\u3066\u5909\u308f\u308b\u304b\u3089\u30d5\u30a1\u30a4\u30eb\u306e\u4e2d\u8eab\u3092\u78ba\u8a8d\u3057\u305f\u3089\u3044\u3044\u3068\u601d\u3046\u3002<\/p>\n\n\n\n<p>\u305d\u306e\u5f8c\u3001<strong>[99-netcfg.yaml<\/strong>]\u3092vim\u3067\u7de8\u96c6\u3002<\/p>\n\n\n\n<p>\u81ea\u5206\u306e\u5834\u5408\u306f\u6b21\u306e\u3088\u3046\u306b\u8a18\u8f09\u3002<br><br><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism undefined-numbers lang-bash\" data-lang=\"Bash\"><code>network:\n    version: 2\n    ethernets:\n        eth00:\n            addresses: [10.1.1.1\/24]\n            gateway4: 10.1.1.255\n            nameservers:\n#               addresses: [111.111.111.111,111.111.111.112]\n                addresses: [8.8.8.8]\n                search: []\n            optional: true\nnetwork:\n    version: 2\n    ethernets:\n        eth01:\n            addresses: [10.111.111.111\/24]\n                search: []\n            optional: true\n<\/code><\/pre><\/div>\n\n\n\n<p>\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3057\u3066\u3044\u308b\u7b87\u6240\u306f\u3001\u30af\u30e9\u30a6\u30c9\u4e0a\u3067\u8a8d\u8a3c\u306e\u30cd\u30fc\u30e0\u30b5\u30fc\u30d0\u30fc\u3060\u3063\u305f\u3051\u3069\u3001\u540d\u524d\u89e3\u6c7a\u304c\u4e0a\u624b\u304f\u3044\u304b\u306a\u304b\u3063\u305f\u304b\u3089[8.8.8.8]\u306b\u5909\u66f4\u3057\u305f\u3089\u6210\u529f\u3057\u305f\u3002\u308f\u304b\u308b\u4eba\u6559\u3048\u3066\u304f\u3060\u3055\u3044\u3002<br><br>\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u5f8c\u306f<br><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism undefined-numbers lang-plain\"><code>netplan apply<\/code><\/pre><\/div>\n\n\n\n<p>\u3067\u5909\u66f4\u3002\u6210\u529f\u3057\u305f\u5834\u5408\u3001\u4f55\u3082\u8fd4\u7b54\u304c\u306a\u3044\u3002<br>\u30a4\u30f3\u30c7\u30f3\u30c8\u306b\u306f\u53b3\u3057\u3044\u306e\u3067\u30b9\u30da\u30fc\u30b9\u4e00\u3064\u306e\u5dee\u3067\u30a8\u30e9\u30fc\u304c\u8fd4\u3063\u3066\u304f\u308b\u304b\u3089\u6c17\u3092\u4ed8\u3051\u308b\u3053\u3068\u3002<br><br>\u4f59\u8ac7\u3060\u3051\u3069\u3001\u6bce\u56desudo\u30b3\u30de\u30f3\u30c9\u304b\u3089\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u6253\u3064\u306e\u304c\u9762\u5012\u306a\u5834\u5408\u3001<br>sudo su - \u3067\u4e00\u5ea6\u6a29\u9650\u3092\u6607\u683c\u3057\u3066\u3057\u307e\u3046\u306e\u30aa\u30b9\u30b9\u30e1\u3002<br><br>\u53c2\u8003<br><a href=\"https:\/\/www.yokoweb.net\/2020\/08\/16\/ubuntu-20_04-server-mysql\/\">Ubuntu 20.04 LTS\u3067\u56fa\u5b9aIP\u30a2\u30c9\u30ec\u30b9\u3092\u8a2d\u5b9a\u3059\u308b\u65b9\u6cd5\u3010\u30b5\u30fc\u30d0\u30fc\u7de8\u3011<\/a><br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3068\u3042\u308b\u30af\u30e9\u30a6\u30c9\u304b\u3089ubuntu20.04\u306e\u74b0\u5883\u306bNIC\u30922\u3064\u8a2d\u7f6e\u5f8c\u306b\u3001\u30b3\u30f3\u30bd\u30fc\u30eb\u4e0a\u304b\u3089IP\u3092\u8ffd\u52a0\u3059\u308b\u6a5f\u4f1a\u304c\u3042\u3063\u305f\u3002\u7c21\u5358\u306b\u3064\u3051\u308b\u5834\u5408\u3001nmtui\u3092\u305f\u305f\u3044\u3066\u304b\u3089GUI\u4e0a\u3067\u8a2d\u7f6e\u3067\u304d\u308b\u3093\u3060\u3051\u3069\u4eca\u56de\u306f\u3067\u304d\u306a\u304b\u3063\u305f\u3002\u7406\u7531\u306f\u5272\u611b\u3002 u <a href=\"https:\/\/roroing.net\/?p=341\" class=\"more-link\">...<span class=\"screen-reader-text\"> \"nmtui\u304c\u4f7f\u3048\u306a\u3044\u306a\u3089\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u3064\u304f\u308d\u3046\"<\/span> \u3092\u7d9a\u3051\u3066\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[12],"tags":[],"class_list":{"0":"post-341","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-12","7":"h-entry","8":"hentry","9":"h-as-article"},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/roroing.net\/index.php?rest_route=\/wp\/v2\/posts\/341","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/roroing.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/roroing.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/roroing.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/roroing.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=341"}],"version-history":[{"count":1,"href":"https:\/\/roroing.net\/index.php?rest_route=\/wp\/v2\/posts\/341\/revisions"}],"predecessor-version":[{"id":342,"href":"https:\/\/roroing.net\/index.php?rest_route=\/wp\/v2\/posts\/341\/revisions\/342"}],"wp:attachment":[{"href":"https:\/\/roroing.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=341"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/roroing.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=341"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/roroing.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=341"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}