{"id":2579,"date":"2020-09-28T12:47:32","date_gmt":"2020-09-28T03:47:32","guid":{"rendered":"https:\/\/wp.kaz.bz\/tech\/?p=2579"},"modified":"2020-10-19T18:39:30","modified_gmt":"2020-10-19T09:39:30","slug":"%e3%81%95%e3%81%8f%e3%82%89%e3%81%aevps%e3%81%a7centos8%e3%82%92%e6%a7%8b%e7%af%89%e3%81%99%e3%82%8b%e9%9a%9b%e3%81%ae%e3%83%a1%e3%83%a2%e3%80%82","status":"publish","type":"post","link":"https:\/\/wp.kaz.bz\/tech\/2020\/09\/28\/2579.html","title":{"rendered":"\u3055\u304f\u3089\u306eVPS\u3067CentOS8\u3092\u69cb\u7bc9\u3059\u308b\u969b\u306e\u30e1\u30e2\u3002"},"content":{"rendered":"<p>\u3055\u304f\u3089\u306eVPS\u4ee5\u5916\u3067\u3082 CentOS8 \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6642\u306b\u53c2\u8003\u306b\u306a\u308b\u3068\u601d\u3046\u306e\u3067\u30e1\u30e2\u3002<br \/>\n\u601d\u3044\u51fa\u3057\u305f\u3088\u3046\u306b\u968f\u6642\u8ffd\u8a18\u4e88\u5b9a\u3002<\/p>\n<h2>\u3055\u304f\u3089\u306eVPS CentOS 8 \u306e\u521d\u671f\u72b6\u614b\u306b\u5bfe\u3059\u308b\u8a2d\u5b9a<\/h2>\n<h4>\u65e5\u672c\u8a9e\u30ed\u30b1\u30fc\u30eb\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3001\u8a2d\u5b9a<\/h4>\n<p>\u65e5\u672c\u8a9e\u8868\u793a\u306b\u3057\u305f\u3044\u5834\u5408\u3001\u65e5\u672c\u8a9e\u30ed\u30b1\u30fc\u30eb\u304c\u5165\u3063\u3066\u3044\u306a\u3044\u306e\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/p>\n<p>[code lang=text]<br \/>\ndnf install langpacks-ja<br \/>\nlocalectl set-locale ja_JP.UTF-8<br \/>\n[\/code]<\/p>\n<h4>systemd-resolved.service \u3067\u3044\u3044\u306e\u304b\u691c\u8a0e<\/h4>\n<ul>\n<li>\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u540d\u524d\u89e3\u6c7a\u304c systemd-resolved \u3067\u884c\u308f\u308c\u308b\u3088\u3046\u306b\u5909\u66f4\u3055\u308c\u3066\u3044\u308b<\/li>\n<li>\u3044\u308d\u3044\u308d\u60f3\u5b9a\u3068\u7570\u306a\u308b\u52d5\u4f5c\u3068\u306a\u308b\u3053\u3068\u304c\u3042\u308b\u305f\u3081\u3001\u305d\u306e\u307e\u307e\u3067\u3044\u3044\u304b\u691c\u8a0e\u3059\u308b\n<ul>\n<li>\u6b62\u3081\u308b\u306a\u3089 <code>systemctl disable systemd-resolved<\/code><\/li>\n<\/ul>\n<\/li>\n<li>systemd-resolved \u306b\u3064\u3044\u3066\u306f\u8abf\u67fb\u4e0d\u8db3\u306a\u306e\u3067\u305d\u306e\u3046\u3061\u8ffd\u8a18<\/li>\n<\/ul>\n<h2>CentOS 8 \u306b\u95a2\u308f\u3089\u305a\u5229\u7528\u3067\u304d\u308b\u8a2d\u5b9a<\/h2>\n<h4>\u30d7\u30ed\u30f3\u30d7\u30c8\u8868\u793a\u306e\u30db\u30b9\u30c8\u540d\u90e8\u5206\u3092FQDN\u306b<\/h4>\n<p>\u591a\u304f\u306e\u30b5\u30fc\u30d0\u30fc\u3092\u4f3c\u305f\u3088\u3046\u306a\u547d\u540d\u898f\u5247\u3067\u69cb\u7bc9\u3057\u3066\u3044\u308b\u3068\u30db\u30b9\u30c8\u540d\u3060\u3051\u3067\u306f\u30b5\u30fc\u30d3\u30b9\u306e\u898b\u5206\u3051\u304c\u3064\u304b\u306a\u304f\u306a\u308b\u3053\u3068\u304c\u3042\u308b\u306e\u3067\u3001FQDN\u8868\u793a\u3059\u308b\u3088\u3046\u306b\u74b0\u5883\u5909\u6570 PS1 \u3092\u8a2d\u5b9a\u3059\u308b\uff08\u3068\u3044\u3046\u597d\u307f\uff09\u3002<br \/>\n\u30e6\u30fc\u30b6\u30fc\u3054\u3068\u3067\u3042\u308c\u3070 .bashrc \u306a\u3069\u3067\u3082\u3044\u3044\u304c\u3001\u30b5\u30fc\u30d0\u30fc\u5168\u4f53\u306b\u9069\u7528\u3059\u308b\u305f\u3081\u306b\u4ee5\u4e0b\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3002<\/p>\n<p>\/etc\/profile.d\/ps1.sh<\/p>\n<p>[code lang=Shell]<br \/>\n# \u30d7\u30ed\u30f3\u30d7\u30c8\u306bFQDN\u3092\u8868\u793a<br \/>\nexport PS1=&#039;[\\u@\\H \\W]\\$ &#039;<br \/>\n[\/code]<\/p>\n<h4>ifconfig \/ netstat<\/h4>\n<ul>\n<li>ifconfig \u3084 netstat \u7b49\u4f7f\u3044\u305f\u3051\u308c\u3070 <code>dnf install net-tools<\/code><\/li>\n<\/ul>\n<h4>rsync<\/h4>\n<ul>\n<li>rsync \u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u306a\u3044\u306e\u3067\u30b5\u30fc\u30d0\u30fc\u9593\u8ee2\u9001\u7b49\u884c\u3046\u5834\u5408\u306f <code>dnf install rsync<\/code><\/li>\n<\/ul>\n<h4>\u958b\u767a\u74b0\u5883\u7b49<\/h4>\n<ul>\n<li>\u30bd\u30fc\u30b9\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u7b49\u3059\u308b\u306a\u3089\u5fc5\u8981\u306b\u5fdc\u3058\u3066 <code>dnf install gcc<\/code> \u306a\u3069\u4f7f\u3044\u305d\u3046\u306a\u3082\u306e<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u3055\u304f\u3089\u306eVPS\u4ee5\u5916\u3067\u3082 CentOS8 \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6642\u306b\u53c2\u8003\u306b\u306a\u308b\u3068\u601d\u3046\u306e\u3067\u30e1\u30e2\u3002 \u601d\u3044\u51fa\u3057\u305f\u3088\u3046\u306b\u968f\u6642\u8ffd\u8a18\u4e88\u5b9a\u3002 \u3055\u304f\u3089\u306eVPS CentOS 8 \u306e\u521d\u671f\u72b6\u614b\u306b\u5bfe\u3059\u308b\u8a2d\u5b9a \u65e5\u672c\u8a9e\u30ed\u30b1\u30fc\u30eb\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3001\u8a2d\u5b9a \u65e5\u672c\u8a9e\u8868\u793a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[65],"tags":[],"class_list":["post-2579","post","type-post","status-publish","format-standard","hentry","category-centos"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":2804,"url":"https:\/\/wp.kaz.bz\/tech\/2024\/04\/14\/2804.html","url_meta":{"origin":2579,"position":0},"title":"\u3068\u3042\u308b\u30cf\u30f3\u30ba\u30aa\u30f3\u306e\u30b3\u30fc\u30c9\u3092\uff08docker\u3092\u4f7f\u308f\u305a\uff09 Almalinux9 \u74b0\u5883\u3067\u52d5\u304b\u3057\u3066\u307f\u305f\u30e1\u30e2\u3002","author":"kaz. Suenaga","date":"2024\/04\/14","format":false,"excerpt":"\u5148\u65e5\u53c2\u52a0\u3057\u305f \u3068\u3042\u308b\u52c9\u5f37\u4f1a\uff08\u30cf\u30f3\u30ba\u30aa\u30f3\uff09 \u3067\u624b\u9806\u3068\u3057\u3066\u4f7f\u3046\u3053\u3068\u3068\u306a\u308a\u3001 Visual Studio \u2026","rel":"","context":"\u3068\u308a\u3042\u3048\u305a\u30e1\u30e2","block_context":{"text":"\u3068\u308a\u3042\u3048\u305a\u30e1\u30e2","link":"https:\/\/wp.kaz.bz\/tech\/category\/memo_tmp"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1145,"url":"https:\/\/wp.kaz.bz\/tech\/2012\/04\/23\/1145.html","url_meta":{"origin":2579,"position":1},"title":"ProxmoxVE\u3092\u30c7\u30b9\u30af\u30c8\u30c3\u30d7PC\u3068\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u969b\u306e\u624b\u9806\u3002","author":"kaz. Suenaga","date":"2012\/04\/23","format":false,"excerpt":"ProxmoxVE \u3092\u30c7\u30b9\u30af\u30c8\u30c3\u30d7PC\u3068\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u307f\u305f\u306e\u3067\u3001\u305d\u306e\u6642\u306e\u624b\u9806\u306e\u30e1\u30e2\u3002 \u53c2\u8003\uff09 \u2026","rel":"","context":"Proxmox VE","block_context":{"text":"Proxmox VE","link":"https:\/\/wp.kaz.bz\/tech\/category\/virtualization\/proxmoxve"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2763,"url":"https:\/\/wp.kaz.bz\/tech\/2023\/07\/09\/2763.html","url_meta":{"origin":2579,"position":2},"title":"Almalinux 9 \u3092\u30ce\u30fc\u30c8PC\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u969b\u306e Wi-Fi \u8a2d\u5b9a\u306b\u3064\u3044\u3066\u3002","author":"kaz. Suenaga","date":"2023\/07\/09","format":false,"excerpt":"\uff08\u3068\u308a\u3042\u3048\u305a\u306e\u30e1\u30e2\uff1a\u305d\u306e\u3046\u3061\u66f4\u65b0\u3059\u308b\u304b\u3082\u3001\u3057\u306a\u3044\u304b\u3082\uff09 \u8ab2\u984c \u3068\u3042\u308b\u30e1\u30eb\u30ab\u30ea\u3067\u5b89\u304f\u30ce\u30fc\u30c8PC\u3092\u624b\u306b\u5165\u2026","rel":"","context":"AlmaLinux","block_context":{"text":"AlmaLinux","link":"https:\/\/wp.kaz.bz\/tech\/category\/lin\/almalinux"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1136,"url":"https:\/\/wp.kaz.bz\/tech\/2012\/02\/23\/1136.html","url_meta":{"origin":2579,"position":3},"title":"Apache HTTP Server 2.4.1 \u304c\u30ea\u30ea\u30fc\u30b9\u3002","author":"kaz. Suenaga","date":"2012\/02\/23","format":false,"excerpt":"\u30ea\u30ea\u30fc\u30b9 2.2\u304b\u3089\u306f\u3060\u3044\u3076\u5909\u308f\u3063\u3066\u3044\u308b\u3088\u3046\u306a\u306e\u3067\u3001\u3053\u306e\u5148\u3061\u307e\u3061\u307e\u30e1\u30e2\u3092\u3042\u3052\u3066\u3044\u304d\u307e\u3059\u3002 \u73fe\u6642\u70b9\u3067\u308f\u2026","rel":"","context":"Apache 2.4","block_context":{"text":"Apache 2.4","link":"https:\/\/wp.kaz.bz\/tech\/category\/servers\/apache\/httpd-2-4"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1725,"url":"https:\/\/wp.kaz.bz\/tech\/2013\/07\/26\/1725.html","url_meta":{"origin":2579,"position":4},"title":"CentOS6\u7cfb\u3067SSH\u516c\u958b\u9375\u8a8d\u8a3c\u3092LDAP\u8a8d\u8a3c\u306b\u3059\u308b\u65b9\u6cd5\u3002","author":"kaz. Suenaga","date":"2013\/07\/26","format":false,"excerpt":"SSH\uff08CentOS\u6a19\u6e96\u30ea\u30dd\u30b8\u30c8\u30ea\u306eOpenSSH\uff09\u306e\u516c\u958b\u9375\u8a8d\u8a3c\u3067LDAP\u8a8d\u8a3c\u3092\u5229\u7528\u3059\u308b\u624b\u9806\u3067\u3059\u3002 \u2026","rel":"","context":"CentOS","block_context":{"text":"CentOS","link":"https:\/\/wp.kaz.bz\/tech\/category\/lin\/centos"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2435,"url":"https:\/\/wp.kaz.bz\/tech\/2019\/05\/24\/2435.html","url_meta":{"origin":2579,"position":5},"title":"VS code insider \u306e Remote SSH extension \u3067\u30b5\u30fc\u30d0\u63a5\u7d9a\u304c\u3046\u307e\u304f\u3044\u304b\u306a\u3044\u5834\u5408\u306e\u4e00\u4f8b\u3002","author":"kaz. Suenaga","date":"2019\/05\/24","format":false,"excerpt":"\u53c2\u8003\uff09 https:\/\/github.com\/Microsoft\/vscode-remote-rel\u2026","rel":"","context":"CentOS","block_context":{"text":"CentOS","link":"https:\/\/wp.kaz.bz\/tech\/category\/lin\/centos"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/wp.kaz.bz\/tech\/wp-json\/wp\/v2\/posts\/2579","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.kaz.bz\/tech\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.kaz.bz\/tech\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.kaz.bz\/tech\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.kaz.bz\/tech\/wp-json\/wp\/v2\/comments?post=2579"}],"version-history":[{"count":7,"href":"https:\/\/wp.kaz.bz\/tech\/wp-json\/wp\/v2\/posts\/2579\/revisions"}],"predecessor-version":[{"id":2599,"href":"https:\/\/wp.kaz.bz\/tech\/wp-json\/wp\/v2\/posts\/2579\/revisions\/2599"}],"wp:attachment":[{"href":"https:\/\/wp.kaz.bz\/tech\/wp-json\/wp\/v2\/media?parent=2579"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.kaz.bz\/tech\/wp-json\/wp\/v2\/categories?post=2579"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.kaz.bz\/tech\/wp-json\/wp\/v2\/tags?post=2579"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}