{"id":6747,"date":"2024-07-03T02:20:22","date_gmt":"2024-07-02T17:20:22","guid":{"rendered":"https:\/\/do-gugan.com\/~furuta\/?p=6747"},"modified":"2024-11-22T03:31:36","modified_gmt":"2024-11-21T18:31:36","slug":"almalinux","status":"publish","type":"post","link":"https:\/\/do-gugan.com\/~furuta\/archives\/2024\/07\/almalinux.html","title":{"rendered":"\u30b5\u30fc\u30d0\u30fc\u79fb\u8ee2\u3002\u30e1\u30e2\u30ea\u5897\u5f37\u3001ConoHa\u306eKUSANAGI9\u30a4\u30e1\u30fc\u30b8\u3092AlmaLinux9\u306b\u8ee2\u63db"},"content":{"rendered":"\n<h1 class=\"wp-block-heading\">\u25a0CentOS7\u306e\u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u30b5\u30dd\u30fc\u30c8\u671f\u9650\u304c\u5207\u308c\u308b\uff01<\/h1>\n\n\n\n<p>\u3053\u306e\u30d6\u30ed\u30b0\u3092\u30db\u30b9\u30c8\u3057\u3066\u3044\u308b\u30b5\u30fc\u30d0\u30fc\u306eOS\u306fCentOS7\u3067\u3057\u305f\u304c\u30012024\u5e746\u670830\u65e5\u3067\u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u30b5\u30dd\u30fc\u30c8\u671f\u9650\u304c\u7d42\u4e86\u3059\u308b\u3053\u3068\u306b6\u6708\u306b\u5165\u3063\u3066\u6c17\u4ed8\u304d\u307e\u3057\u305f\u3002\u57fa\u672c\u65b0\u3057\u3044\u3082\u306e\u597d\u304d\u3067PC\u3084\u30b9\u30de\u30db\u306eOS\u306f\u30ea\u30ea\u30fc\u30b9\u5f53\u65e5\u306b\u5373\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3053\u3068\u304c\u591a\u3044\u3067\u3059\u304c\u3001\u30b5\u30fc\u30d0\u30fcOS\u3084PHP\u306a\u3069\u306e\u30df\u30c9\u30eb\u30a6\u30a7\u30a2\u306f\u306a\u306b\u304b\u3042\u3063\u305f\u6642\u306e\u5207\u308a\u623b\u3057\u304c\u96e3\u3057\u3044\u3057\u30c0\u30a6\u30f3\u30bf\u30a4\u30e0\u306e\u767a\u751f\u306f\u907f\u3051\u305f\u3044\u306e\u3067\u4fdd\u7559\u3057\u304c\u3061\u3002\u3057\u304b\u3057\u3055\u3059\u304c\u306b\u30b5\u30dd\u30fc\u30c8\u5207\u308c\u306eOS\u3092\u4f7f\u3046\u30ef\u30b1\u306b\u306f\u3044\u304d\u307e\u305b\u3093\u3002\u4ee5\u524d\u306a\u3089CentOS7-&gt;8\u306e\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u30d1\u30b9\u304c\u3042\u3063\u305f\u3088\u3046\u3067\u3059\u304c\u3001CentOS8\u81ea\u4f53\u304c\u7d42\u4e86\u3057\u3066\u3057\u307e\u3044\u591a\u304f\u306e\u30df\u30e9\u30fc\u30b5\u30fc\u30d0\u30fc\u304b\u3089\u3082\u6d88\u3048\u3066\u3057\u307e\u3063\u3066\u3044\u308b\u69d8\u5b50\u3002\u5b9f\u614b\u3068\u3057\u3066\u7a3c\u50cd\u3057\u3066\u3044\u308b\u306e\u306fWordPress\u306e\u30b5\u30a4\u30c8\u304c5\u3064\u7a0b\u5ea6\u3068\u3044\u304f\u3064\u304b\u306e\u30aa\u30ea\u30b8\u30ca\u30ebPHP\u30b9\u30af\u30ea\u30d7\u30c8\u306b\u3088\u308b\u30b5\u30fc\u30d3\u30b9\u306e\u307f\u3002\u3060\u3063\u305f\u3089\u3072\u3068\u3064\u3072\u3068\u3064\u624b\u4f5c\u696d\u3067\u65b0\u30b5\u30fc\u30d0\u30fc\u306b\u79fb\u8a2d\u3057\u3066\u3044\u304f\u65b9\u304c\u5b89\u5168\u304b\u306a\u3068\u601d\u3044\u3001\u65b0\u898f\u30b5\u30fc\u30d0\u30fc\u3092\u5efa\u3066\u3066\u3057\u307e\u3046\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<h1 class=\"wp-block-heading\">\u25a0\u540c\u3058ConoHa\u30671G-&gt;4G\u30d7\u30e9\u30f3\u306b<\/h1>\n\n\n\n<p>\u4eca\u307e\u3067\u30e1\u30e2\u30ea1GB\u306eVPS\u30d7\u30e9\u30f3\u3067\u3057\u305f\u304cWordPress\uff08KUSANAGI8\uff09\u304c\u30e2\u30c3\u30b5\u30ea\u3067\u8272\u3005\u3068\u9ad8\u901f\u5316\u3001\u6700\u9069\u5316\u306e\u5de5\u592b\u3092\u3057\u3066\u307f\u3066\u3082\u3044\u307e\u3072\u3068\u3064\u3067\u3057\u305f\u3002\u3088\u304f\u3088\u304f\u8abf\u3079\u3066\u307f\u308b\u3068KUSANAGI for ConoHa\u306f\u63a8\u5968\u30e1\u30e2\u30ea\u304c4GB\u3067\u3057\u305f\u3002\u5951\u7d04\u5f53\u6642\u304b\u3089\u305d\u3046\u3060\u3063\u3051\uff1f\u3068\u3044\u3046\u3068\u3053\u308d\u3067\u306f\u3042\u308a\u307e\u3059\u304c\u3001\u3068\u3082\u3042\u308c\u300c\u305d\u308a\u3083\u9045\u3044\u308f\u3051\u3060\u300d\u3068\u3002\u4e0b\u624b\u3092\u3059\u308b\u3068KUSANAGI\u306e\u51e6\u7406\u304c\u4e0a\u4e57\u305b\u3055\u308c\u305f\u3053\u3068\u3067\u3001\u304b\u3048\u3063\u3066\u30d0\u30cb\u30e9\u306eWordPress\u3088\u308a\u9045\u304f\u306a\u3063\u3066\u305f\u7591\u60d1\u3059\u3089\u3002\u4e00\u5fdc\u3044\u307e\u307e\u30671GB\u3067\u52d5\u3044\u3066\u306f\u3044\u305f\u306e\u3067\u30012GB\u306b\u3059\u308b\u304b\u7d20\u76f4\u306b\u63a8\u5968\u306e4GB\u306b\u3059\u308b\u304b\u60a9\u307f\u307e\u3057\u305f\u3002\u9078\u5b9a\u5f53\u6642\u3001\u6885\u96e8\u30c8\u30af\u30ad\u30e3\u30f3\u30da\u30fc\u30f3\u3068\u3044\u3046\u30bb\u30fc\u30eb\u3092\u3084\u3063\u3066\u3044\u3066\u300136\u30f6\u6708\u5206\u4e00\u62ec\u6255\u3044\u3057\u305f\u6642\u306e\u6599\u91d1\u3068\u30b9\u30da\u30c3\u30af\u306f\u3053\u3093\u306a\u611f\u3058\u3067\u3057\u305f\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/do-gugan.com\/~furuta\/wp-content\/uploads\/2024\/07\/image.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"391\" src=\"https:\/\/do-gugan.com\/~furuta\/wp-content\/uploads\/2024\/07\/image-1024x391.png\" alt=\"\" class=\"wp-image-6748\" srcset=\"https:\/\/do-gugan.com\/~furuta\/wp-content\/uploads\/2024\/07\/image-1024x391.png 1024w, https:\/\/do-gugan.com\/~furuta\/wp-content\/uploads\/2024\/07\/image-300x115.png 300w, https:\/\/do-gugan.com\/~furuta\/wp-content\/uploads\/2024\/07\/image-1536x587.png 1536w, https:\/\/do-gugan.com\/~furuta\/wp-content\/uploads\/2024\/07\/image.png 1842w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\">\u9078\u5b9a\u6642\u70b9\u306e\u30bb\u30fc\u30eb\u4fa1\u683c\uff0836\u30f6\u6708\u524d\u6255\u3044\u6642\uff09<\/figcaption><\/figure>\n\n\n\n<p>2GB\u30684GB\u3067\u500d\u307b\u3069\u9055\u3046\u306e\u3067\u3055\u3059\u304c\u306b\u8ff7\u3044\u307e\u3059\u3002\u305f\u3060\u307e\u3041\u30e2\u30c3\u30b5\u30ea\u306f\u30a4\u30e4\u3060\u306a\u3068\u3044\u3046\u306e\u3068\u3001\u5e78\u3044\u30b5\u30fc\u30d0\u30fc\u5229\u7528\u8005\u304b\u3089\u30ab\u30f3\u30d1\u306e\u7533\u3057\u51fa\u3082\u3042\u3063\u305f\u306e\u3067\u8d05\u6ca2\u306b(?)4GB\u30d7\u30e9\u30f3\u3068\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u3061\u306a\u307f\u306b\u3053\u306e\u4fa1\u683c\u306f\u65b0\u898f\u30b5\u30fc\u30d0\u30fc\u69cb\u7bc9\u6642\u306e\u307f\u3067\u3059\u3002\u5b9f\u306f3\u5e74\u5206\u6255\u3063\u3066\u3084\u3063\u3071\u3046\u307e\u304f\u79fb\u884c\u3067\u304d\u306a\u304b\u3063\u305f\u308f\u3063\u3066\u306a\u3063\u305f\u3089\u5927\u5909\u306a\u306e\u3067\u6700\u521d1\u30f6\u6708\u5951\u7d04\u3057\u3066\u5f8c\u307b\u3069\u5ef6\u9577\u3057\u3088\u3046\u3068\u601d\u3063\u305f\u3093\u3067\u3059\u304c\uff08\u4ee5\u524d\u306e\u304d\u3063\u3077\u30b7\u30b9\u30c6\u30e0\u306a\u3089\u3067\u304d\u305f\u306f\u305a\uff09\u3001\u4eca\u306e\u300c\u307e\u3068\u3081\u30c8\u30af\u300d\u30b7\u30b9\u30c6\u30e0\u306e\u305b\u3044\u304b\u3053\u306e\u30ad\u30e3\u30f3\u30da\u30fc\u30f3\u304c\u306a\u306e\u304b\u4e0d\u660e\u3067\u3059\u304cNG\u3068\u5f8c\u306b\u306a\u3063\u3066\u767a\u899a\u3002\u4ed5\u65b9\u306a\u3044\u306e\u3067\u30bb\u30c3\u30c6\u30a3\u30f3\u30b0\u304c\u5168\u3066\u7d42\u308f\u3063\u305f\u4e00\u30f6\u6708\u5951\u7d04\u30b5\u30fc\u30d0\u30fc\u306e\u30a4\u30e1\u30fc\u30b8\u4fdd\u5b58\u3092\u884c\u3044\u3001\u5225\u9014\u65b0\u898f\u306b3\u5e74\u5951\u7d04\u30b5\u30fc\u30d0\u30fc\u3092\u3064\u304f\u3063\u3066\u30a4\u30e1\u30fc\u30b8\u304b\u3089\u5fa9\u5143\u3059\u308b\u3001\u3068\u3044\u3046\u624b\u9806\u3092\u3068\u308b\u3053\u3068\u306b\u3002IP\u30a2\u30c9\u30ec\u30b9\u304c\u4e8c\u56de\u304b\u308f\u308b\u3053\u3068\u306b\u306a\u3063\u3066\u3057\u307e\u3044\u3084\u3084\u624b\u9593\u3067\u3057\u305f\u3002\u307e\u3041\u5b9f\u969b\u306b\u306a\u3093\u304b\u3042\u3063\u305f\u3089\u3082\u3063\u3068\u5927\u5909\u3060\u3063\u305f\u306e\u3067\u3001\u3053\u308c\u3067\u6e08\u3080\u3068\u308f\u304b\u3063\u3066\u308c\u3070\u6b21\u56de\u3082\u305d\u3046\u3059\u308b\u304b\u3082\uff1f\u3084\u306f\u308a\u3044\u304d\u306a\u308a3\u5e74\u5951\u7d04\u306f\u52c7\u6c17\u3044\u308a\u307e\u3059\u3088\u306d\u3002\u3053\u306e\u8fba\u3001\u30b7\u30b9\u30c6\u30e0\u7684\u306b\u306a\u3093\u3068\u304b\u3057\u3066\u307b\u3057\u3044\u3082\u306e\u3067\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www29.a8.net\/svt\/bgt?aid=241122631192&amp;wid=001&amp;eno=01&amp;mid=s00000000018030140000&amp;mc=1\" alt=\"\"\/><\/figure>\n\n\n\n<h1 class=\"wp-block-heading\">\u25a0AlmaLinux9 + KUSANAGI9\u3067\u884c\u3053\u3046\u3068\u3059\u308b\u3082ConoHa\u306b\u30a4\u30e1\u30fc\u30b8\u304c\u306a\u3044\uff01\uff1f<\/h1>\n\n\n\n<h2 class=\"wp-block-heading\">CentOS\u306fStream\u3078\u79fb\u884c<\/h2>\n\n\n\n<p>\u3067\u3001OS\u306e\u9078\u5b9a\u3067\u3059\u3002RedHat Enterprise Linux\uff08RHEL\uff09\u306e\u7121\u6599\u7248\u30af\u30ed\u30fc\u30f3\u3067\u3042\u308bCentOS\u306f\u7d42\u4e86\u3068\u3044\u3046\u304b\u3001CentOS Stream\u3068\u3044\u3046\u30e9\u30a4\u30f3\u306b\u79fb\u884c\u3055\u308c\u307e\u3057\u305f\u3002\u4eca\u307e\u3067\u306eCetOS\u306fRHEL\u3068\u540c\u3058\u69cb\u6210\u3001\u30d1\u30c3\u30c1\u30ea\u30ea\u30fc\u30b9\u3067\u5b89\u4fa1\u3067\u5b89\u5b9a\u3057\u305f\u696d\u52d9\u30b0\u30ec\u30fc\u30c9\u306e\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\u3067\u3057\u305f\u304c\u3001Stream\u306f\u9006\u306bRHEL\u306b\u53d6\u308a\u8fbc\u3080\u524d\u306e\u30ab\u30ca\u30ea\u30a2\u30ea\u30ea\u30fc\u30b9\u7684\u306a\u4f4d\u7f6e\u3065\u3051\u306b\u5909\u66f4\u3002Fedora\u3068RHEL\u306e\u4e2d\u9593\u307f\u305f\u3044\u306a\u611f\u3058\u3063\u307d\u3044\u3067\u3059\u3002\u307e\u3041WordPress\u52d5\u304b\u3059\u304f\u3089\u3044\u306a\u3089\u5b9f\u5bb3\u306f\u306a\u3044\u3093\u3058\u3083\u306a\u3044\u304b\u3068\u3082\u601d\u3044\u307e\u3057\u305f\u304c\u3001\u6700\u65b0\u306eCentOS Stream 9\u306e\u30b5\u30dd\u30fc\u30c8\u671f\u9650\u304c2027\u5e745\u6708\u307e\u3067\u3002\u3042\u30683\u5e74\u3067\u3059\u3002\u5fc3\u6301\u3061\u77ed\u3044\u306a\u3068\u3044\u3046\u5370\u8c61\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">CentOS\u4ee3\u66ffOS\u3068\u3057\u3066AlmaLinux<\/h2>\n\n\n\n<p>\u305d\u3053\u3067\u6a21\u7d22\u3057\u305f\u306e\u304cCentOS\u4e92\u63db\u3092\u8b33\u3046\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\u3002\u3053\u3046\u3044\u3046\u3068\u3053\u306f\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306e\u3042\u308a\u304c\u305f\u307f\u3002\u3044\u304f\u3064\u304b\u5019\u88dc\u304c\u3042\u308a\u307e\u3059\u3002\u305d\u306e\u4e2d\u3067\u3082AlmaLinux\u306e\u6700\u65b09\u7cfb\u304c\u306a\u3093\u30682032\u5e74\uff01\u305f\u3063\u3077\u308a8\u5e74\u3082\u3042\u308a\u307e\u3059\u3002\u958b\u767a\u6bcd\u4f53\u306e\u7d99\u7d9a\u6027\u306b\u3064\u3044\u3066\u3082\u73fe\u6642\u70b9\u3067\u591a\u304f\u306e\u4f01\u696d\u30b9\u30dd\u30f3\u30b5\u30fc\u304c\u3064\u3044\u3066\u3044\u308b\u3088\u3046\u3067\u4eca\u3042\u308b\u5019\u88dc\u306e\u4e2d\u3067\u306f\u5b89\u5fc3\u611f\u3082\u3042\u308a\u307e\u3059\u3002\u3080\u3057\u308d8\u5e74\u3068\u304b\u3044\u3063\u305f\u3089\u3053\u306e\u30d6\u30ed\u30b0\u304c\u7d9a\u3044\u3066\u3044\u308b\u304b\u3001WordPress\u3067\u69cb\u7bc9\u3059\u308b\u3068\u3044\u3046\u6642\u4ee3\u306a\u306e\u304b\u3068\u3044\u3063\u305f\u8fba\u308a\u306e\u65b9\u304c\u61f8\u5ff5\u3055\u308c\u308b\u30ec\u30d9\u30eb\u3002<\/p>\n\n\n\n<p>\u66f4\u306bWordPress\u306e\u9ad8\u901f\u5316\u30df\u30c9\u30eb\u30a6\u30a7\u30a2\u3067\u3082\u3042\u308bKUSANAGI\u30829\u3067AlmaLinux9\u3092\u30d9\u30fc\u30b9OS\u3068\u3057\u3066\u63a1\u7528\u3057\u3066\u3044\u307e\u3059\u3002\u73fe\u884c\u30b5\u30fc\u30d0\u30fc\u3067\u3082KUSANAGI\u3092\u4f7f\u7528\u3057\u3066\u3044\u3066\u3001\u305d\u3053\u307e\u3067\u6069\u6075\u3092\u611f\u3058\u305a\u3001\u3080\u3057\u308d\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306a\u3069\u306e\u69cb\u6210\u304c\u901a\u5e38\u306eCentOS\u3068\u9055\u3063\u3066\u82e6\u52b4\u306e\u65b9\u304c\u591a\u304b\u3063\u305f\u30a4\u30e1\u30fc\u30b8\u3067\u3059\u304c\u3001\u63a8\u5968\u30e1\u30e2\u30ea\u74b0\u5883\u3092\u6e80\u305f\u305b\u3066\u3044\u306a\u304b\u3063\u305f\u3053\u3068\u3082\u5224\u660e\u3057\u305f\u306e\u3067\u3001\u4eca\u4e00\u5ea6KUSANAGI\u3092\u4fe1\u3058\u3066\u307f\u3088\u3046\u3068\u601d\u3063\u3066\u3044\u305f\u306e\u3067\u3001\u3053\u308a\u3083\u3082\u3046AlmaLinux9 + KUSANAGI9\u306e99\u30b3\u30f3\u30dc\u3067\u3044\u3044\u3093\u3058\u3083\u306a\u3044\u304b\u3068\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u3060\u304cConoHa\u306b\u30a4\u30e1\u30fc\u30b8\u304c\u306a\u3044!?<\/h2>\n\n\n\n<p>\u3057\u304b\u3057\u7740\u624b\u6642\u70b9\u3067\u306a\u3093\u3068ConoHa\u306eKUSANAGI9\u30a4\u30e1\u30fc\u30b8\u306fCentOS Stream9\u30d9\u30fc\u30b9\u306e\u3082\u306e\u3057\u304b\u306a\u3044\u3068\u5224\u660e\u3002\u4ed6\u306e\u30ec\u30f3\u30bf\u30ebVPS\u30b5\u30fc\u30d3\u30b9\u306b\u306f\u3042\u308b\u306e\u3067\u3001\u8131ConoHa\u3059\u308b\u304bCentOS Stream9\u3067\u59a5\u5354\u3059\u308b\u304b\u9021\u5de1\u3057\u307e\u3057\u305f\u3002\u3057\u304b\u3057AlmaLinux\u304cCentOS\u304b\u3089AlmaLinux\u79fb\u884c\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u63d0\u4f9b\u3057\u3066\u3044\u308b\u306e\u3092\u767a\u898b\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/kusanagi.tokyo\/document\/kusanagi-migration\/how-to-almalinux-script\/\">KUSANAGI\u516c\u5f0f\u30d6\u30ed\u30b0\u3067CentOS Stream8\u304b\u3089AlmaLinux8\u306b\u79fb\u884c\u3057\u305f\u8a18\u4e8b<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/wiki.almalinux.org\/documentation\/migration-guide.html#how-to-migrate\">AlmaLinux\u516c\u5f0f\u306e\u30df\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\u30ac\u30a4\u30c9<\/a>\uff08\u82f1\u8a9e\uff09<\/li>\n<\/ul>\n\n\n\n<p>\u3056\u3063\u304f\u308a\u8a00\u3046\u3068<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>dnf update\uff08\u65e7CentOS\u3067\u3044\u3046yum update\u306b\u3042\u305f\u308b\uff09\u3067\u6700\u65b0\u30d1\u30c3\u30b1\u30fc\u30b8\u66f4\u65b0<\/li>\n\n\n\n<li>curl\u3067\u79fb\u884c\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<\/li>\n\n\n\n<li>\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c<\/li>\n\n\n\n<li>\u3072\u305f\u3059\u3089\u5f85\u3064<\/li>\n\n\n\n<li>\u518d\u8d77\u52d5<\/li>\n<\/ul>\n\n\n\n<p>\u3060\u3051\u3002OS\u3068\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u8abf\u3079\u308b\u305f\u3081\u306b<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ cat \/etc\/redhat-release<\/code><\/pre>\n\n\n\n<p>\u3057\u3066\u3082\u3001\u304d\u3061\u3093\u3068CentOS Stream9\u304b\u3089AlmaLinux9\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u30b9\u30b2\u30fc\u3002\u306a\u3093\u304b\u3042\u3063\u305f\u3089\u30af\u30ea\u30fc\u30f3\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308a\u3083\u3044\u3044\u3084\u3063\u3066\u3053\u3068\u3067VPS\u69cb\u7bc9\u76f4\u5f8c\u306b\u5b9f\u884c\u3057\u307e\u3057\u305f\u304c\u3001\u4eca\u306e\u3068\u3053\u308d\u7279\u306b\u554f\u984c\u306f\u306a\u3055\u305d\u3046\u3067\u3059\u3002<br>\u6b63\u5f0f\u306a\u300cAlmaLinux9 + KUSANAGI9\u300d\u30a4\u30e1\u30fc\u30b8\u304b\u3089\u69cb\u7bc9\u3057\u305f\u306e\u3068\u540c\u7b49\u306e\u6271\u3044\u3067\u306f\u306a\u304f\u3001\u3042\u304f\u307e\u3067\u300cCentOS Stream9 + KUSANAGI9\u306eOS\u90e8\u5206\u3092\u52dd\u624b\u306bAlmaLinux9\u66f8\u304d\u63db\u3048\u305f\u3082\u306e\u300d\u306a\u306e\u3067\u30b5\u30dd\u30fc\u30c8\u306a\u3069\u306f\u53d7\u3051\u3089\u308c\u306a\u304f\u306a\u308b\u53ef\u80fd\u6027\u306f\u3042\u308b\u306e\u3067\u81ea\u5df1\u8cac\u4efb\u3067\u3002\u307e\u3041VPS\u306e\u30b5\u30dd\u30fc\u30c8\u7bc4\u56f2\u306a\u3093\u3066\u305d\u3082\u305d\u3082\u30cf\u30fc\u30c9\u30a6\u30a7\u30a2\u90e8\u5206\u3060\u3068\u601d\u3063\u3066\u3044\u308b\u306e\u3067\u500b\u4eba\u7684\u306b\u306f\u3044\u3063\u304b\u3068\u601d\u3063\u3066\u6562\u884c\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<h1 class=\"wp-block-heading\">\u25a0\u305d\u306e\u4ed6\u8a2d\u5b9a\u30e1\u30e2<\/h1>\n\n\n\n<p>KUSAANGI 7\/8\u304b\u30899\u306b\u306a\u3063\u3066\u52dd\u624b\u304c\u304b\u308f\u3063\u305f\u306e\u304c\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u30eb\u30fc\u30c8\u3084\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u30d1\u30b9\u3067\u3059\u3002<\/p>\n\n\n\n<p>WordPress\u3092\u30c7\u30d7\u30ed\u30a4\u3057\u305f\u6642\u306e\u5b9f\u4f53\u30d5\u30a1\u30a4\u30eb\u306f\u76f8\u5909\u308f\u3089\u305a\/home\/kusanagi\/[\u30d7\u30ed\u30d5\u30a1\u30a4\u30eb\u540d]\u3067\u3059\u304c\u3001\u8a2d\u5b9a\u306f\/etc\/httpd\/\u3067\u306f\u306a\u304f\u3001\/etc\/opt\/kusanagi\/httpd\u306b\u306a\u308a\u307e\u3059\u3057\u3001Web\u30b5\u30fc\u30d0\u30fc\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u30eb\u30fc\u30c8\u306f\/var\/opt\/kusanagi\/www\/html\/\u3001\u30ed\u30b0\u306f\/var\/opt\/kusanagi\/log\/httpd\/\u3067\u3059\u3002\u307e\u3041\u6163\u308c\u305f\u5834\u6240\u306b\u30b7\u30f3\u30dc\u30ea\u30c3\u30af\u30ea\u30f3\u30af\u5f35\u308c\u3070\u3044\u3044\u3093\u3067\u3059\u304c\u3002<\/p>\n\n\n\n<p>\u3042\u3068\u30cf\u30de\u3063\u305f\u306e\u306f\u8907\u6570\u306eWordPress\u30b5\u30a4\u30c8\u3092\u6240\u8b02\u30de\u30eb\u30c1\u30b5\u30a4\u30c8\u6271\u3044\u306b\u305b\u305a\u3001\u304b\u3064\u30b5\u30d6\u30c9\u30e1\u30a4\u30f3\u3092\u308f\u3051\u306a\u3044\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u5225\u306e\u72ec\u7acb\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3068\u3053\u308d\u3067\u3057\u3087\u3046\u304b\u3002KUSANAGI9\u3067\u306f\u57fa\u672c\u7684\u306b\u30b5\u30d6\u30c9\u30e1\u30a4\u30f3\u3092\u4f7f\u3063\u305f\u30b5\u30a4\u30c8\u69cb\u6210\u304c\u884c\u308f\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>aaa.hoge.com<\/li>\n\n\n\n<li>bbb.hoge.com<\/li>\n\n\n\n<li>ccc.hoge.com<\/li>\n<\/ul>\n\n\n\n<p>\u3068\u3044\u3046\u611f\u3058\u3002\u3057\u304b\u3057\u81ea\u5206\u306f\u5f93\u6765\u306e\u69cb\u6210\u3092\u8e0f\u8972\u3059\u308b\u305f\u3081\u3001<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>hoge.com\/aaa\/<\/li>\n\n\n\n<li>hoge.com\/bbb\/<\/li>\n\n\n\n<li>hoge.com\/ccc\/<\/li>\n<\/ul>\n\n\n\n<p>\u3068\u3044\u3046\u5f62\u306b\u3057\u305f\u304b\u3063\u305f\u3002\u3053\u308c\u306f\u524d\u56de\u306eKUSANAGI\u8a2d\u5b9a\u6642\u306b\u3082\u30cf\u30de\u3063\u305f\u30dd\u30a4\u30f3\u30c8\u3067\u3001\u57fa\u672c\u7684\u306b<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u30d7\u30ed\u30d3\u30b8\u30e7\u30f3\u6642\u306b\u30b5\u30d6\u30c9\u30e1\u30a4\u30f3\u306b\u3088\u308bLet&#8217;s Encrypt\u8a3c\u660e\u66f8\u767a\u884c\u3092\u3057\u306a\u3044\uff08&#8211;noemail\u30aa\u30d7\u30b7\u30e7\u30f3\uff09<\/li>\n\n\n\n<li>\/etc\/opt\/kusanagi\/httpd\/conf.d\/aaa.conf\u306a\u3069\u3092\u7121\u52b9\u5316\u3059\u308b<\/li>\n\n\n\n<li>\/home\/kusanagi\/aaa\/DocumentRoot\/\u304b\u3089\/var\/opt\/kusanagi\/www\/html\/aaa\u306b\u30b7\u30f3\u30dc\u30ea\u30c3\u30af\u30ea\u30f3\u30af<\/li>\n<\/ul>\n\n\n\n<p>\u3068\u3044\u3046\u5f62\u3067\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30d7\u30ed\u30d3\u30b8\u30e7\u30f3\uff08WordPress\u30b5\u30a4\u30c8\u306e\u4f5c\u6210\uff09\u306e\u6bb5\u968e\u3067\u306f\u30b5\u30d6\u30c9\u30e1\u30a4\u30f3\u3092\u6307\u5b9a\u3059\u308b\u3057\u304b\u306a\u3055\u305d\u3046\u306a\u306e\u3067\u3001<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>kusanagi provision --wp --fqdn <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\">aaa<\/mark>.hoge.com <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">--noemail<\/mark> --dbname &#91;db\u540d] --dbuser &#91;\uff44\uff42\u30e6\u30fc\u30b6\u540d] --dbpass &#91;db\u30d1\u30b9\u30ef\u30fc\u30c9] <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\">aaa<\/mark><\/code><\/pre>\n\n\n\n<p>\u306e\u3088\u3046\u306b\u3057\u307e\u3057\u305f\u3002\u3053\u308c\u306b\u3088\u308a\u3001Apache\u7528\u306e\u30d0\u30fc\u30c1\u30e3\u30eb\u30c9\u30e1\u30a4\u30f3\u8a2d\u5b9a\u304caaa.conf\u306b\u4f5c\u6210\u3055\u308c\u3066\u3057\u307e\u3046\u306e\u3067\u3001\u305d\u308c\u3092\u53d6\u308a\u6d88\u3059\u305f\u3081\u306b\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u81ea\u4f53\u3092\u7121\u52b9\u5316\u3057\u307e\u3059\u3002\u524a\u9664\u3067\u3082\u3044\u3044\u3067\u3059\u304c\u3001.conf\u3068\u3044\u3046\u30d5\u30a1\u30a4\u30eb\u540d\u304c\u8aad\u307f\u8fbc\u307e\u308c\u308b\u8981\u4ef6\u306a\u306e\u3067\u3001\u81ea\u5206\u306f\u305d\u306e\u5834\u3067aaa.conf.disabled\u306e\u3088\u3046\u306b\u30ea\u30cd\u30fc\u30e0\u3057\u3066\u7f6e\u3044\u3066\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u306e\u7121\u52b9\u5316\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u5185\u306b\u306f.htaccess\u306e\u8a31\u53ef\u8a2d\u5b9a\u306a\u3069\u3082\u542b\u307e\u308c\u308b\u305f\u3081\u3001\u305d\u3053\u3060\u3051\u81ea\u5206\u3067\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u66f8\u304d\u307e\u3059\u3002\u3053\u308c\u306fWordPress\u306e\u30d1\u30fc\u30de\u30ea\u30f3\u30af\u5f62\u5f0f\u3092\u30ab\u30b9\u30bf\u30e0\u306b\u3059\u308b\u6642\u4ee5\u5916\u306f\u4e0d\u8981\u304b\u3082\u77e5\u308c\u307e\u305b\u3093\u3002\u4eca\u6642\u306f80\u756a\u30dd\u30fc\u30c8\uff08http:\/\/\uff09\u306f\u904b\u7528\u305b\u305a443\u756a\uff08https:\/\/\u301c\uff09\u3060\u3051\u3067\u3044\u3044\u304b\u3068\u601d\u3063\u305f\u306e\u3067\u3001ssl.conf\u306b\u66f8\u304f\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u771f\u3063\u5148\u306b\u8aad\u307f\u8fbc\u3093\u3067\u30c7\u30d5\u30a9\u30eb\u30c8\u30db\u30b9\u30c8\u306b\u3057\u305f\u304b\u3063\u305f\u306e\u3067\u540d\u524d\u3092_ssl.conf\u306b\u5909\u66f4\u3057\u3001<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;Directory \"\/var\/opt\/kusanagi\/www\/html\/<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\">aaa<\/mark>\"&gt;\n    Options Indexes FollowSymLinks\n    AllowOverride <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">None<\/mark>\n    Require all granted\n\n    &lt;IfModule mod_rewrite.c&gt;\n              RewriteEngine On\n              RewriteRule .* - &#91;E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]\n              RewriteBase \/<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\">aaa<\/mark>\/\n              RewriteRule ^index\\.php$ - &#91;L]\n              RewriteCond %{REQUEST_FILENAME} !-f\n              RewriteCond %{REQUEST_FILENAME} !-d\n              RewriteRule . \/<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\">aaa<\/mark>\/index.php &#91;L]\n    &lt;\/IfModule&gt;\n&lt;\/Directory&gt;<\/code><\/pre>\n\n\n\n<p>\u306e\u3088\u3046\u306b\u3057\u307e\u3059\u3002\u5f8c\u534a\u306eRewrite\u95a2\u9023\u90e8\u5206\u306fWordPress\u304cDocumentRoot\/.htaccess\u306b\u66f8\u304d\u51fa\u3057\u3066\u304f\u308c\u307e\u3059\u304c\u3001.htaccess\u306b\u3088\u308b\u8a2d\u5b9a\u4e0a\u66f8\u304d\u3092\u3059\u308b\u3068\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u7684\u306b\u3082\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u7684\u306b\u3082\u3088\u308d\u3057\u304f\u306a\u3044\u306e\u3067\u3001\u3042\u3048\u3066\u300cAllowOverride\u300d\u3092None\u306b\u3057\u3066.htaccess\u306e\u8aad\u307f\u8fbc\u307f\u3092\u7121\u52b9\u306b\u3057\u305f\u4e0a\u3067\u3001WordPress\u304c\u66f8\u304d\u51fa\u3059.htaccess\u306e\u5185\u5bb9\u3092&lt;ifModule mod_rewrite.c&gt;\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u306b\u8ee2\u8a18\u3057\u3066\u4f7f\u3063\u3066\u3044\u307e\u3059\u3002\u6c17\u306b\u3057\u306a\u3044\u4eba\u306f\u300cAllowOverride FileInfo\u300d\u306b\u3057\u3066WordPress\u304c\u66f8\u304f.htaccess\u307e\u304b\u305b\u306b\u3057\u3066\u3082\u3044\u3044\u304b\u3082\u77e5\u308c\u307e\u305b\u3093\u3002\u3067\u306a\u3044\u3068\u5c06\u6765\u7684\u306bWordPress\u5074\u3067\u30d1\u30fc\u30de\u30ea\u30f3\u30af\u5f62\u5f0f\u3092\u5909\u66f4\u3057\u305f\u6642\u306b\u624b\u52d5\u3067\u66f8\u304d\u63db\u3048\u304c\u767a\u751f\u3059\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u540c\u69d8\u306b\u3053\u306e\u30d6\u30ed\u30b0\u306e\u3088\u3046\u306b\u3001\u30e6\u30fc\u30b6\u540d\u3092\u4f7f\u3063\u305f\u30d1\u30b9~furuta\/\u306bWordPress\u3092\u8a2d\u5b9a\u3059\u308b\u5834\u5408\u306f\u3001\u540c\u3058con.d\/\u4e0b\u306b\u3042\u308buserdir.conf\u3092\u66f8\u304d\u63db\u3048\u307e\u3059\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3055\u308c\u3066\u3044\u305f<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;IfModule mod_userdir.c&gt;\n    UserDir public_html\n&lt;\/IfModule&gt;<\/code><\/pre>\n\n\n\n<p>\u306e\u90e8\u5206\u3092\u6709\u52b9\u5316\u3057\u3001Directory\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u306e\u30d1\u30b9\u306f<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;Directory \"\/home\/*\/public_html\"&gt;<\/code><\/pre>\n\n\n\n<p>\u3068\u3057\u307e\u3059\u3002\u3053\u308c\u3067\u307e\u305f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u30eb\u30fc\u30c8\u30d5\u30a9\u30eb\u30c0\u304b\u3089\u30db\u30fc\u30e0\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306epublic_html\u306b\u30b7\u30f3\u30dc\u30ea\u30c3\u30af\u3092\u5f35\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ln -s \/home\/kusanagi\/<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\">furuta<\/mark>\/DocumentRoot \/home\/<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\">furuta<\/mark>\/public_html\/\nchmod o+x <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\">furuta<\/mark>\nchmod o+x <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\">furuta<\/mark>\/public_html<\/code><\/pre>\n\n\n\n<p>\u307e\u3041\u4eca\u6642\u30e6\u30fc\u30b6\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\uff08~hoge\uff09\u306bWordPress\u7f6e\u304f\u4eba\u3082\u3044\u306a\u3044\u3067\u3057\u3087\u3046\u3051\u3069\uff57\u3002\u3044\u306a\u3044\u3060\u3051\u306b\u3069\u3053\u306b\u3082\u60c5\u5831\u304c\u306a\u3044\u3068\u601d\u3046\u306e\u3067\u3001\u4eca\u5f8c\u5c11\u306a\u3044\u8ab0\u304b\u3084\u81ea\u5206\u306e\u53c2\u8003\u306b\u306a\u308c\u3070\u3068\u66f8\u3044\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">certbot\u306b\u3088\u308bLet&#8217;s Encrypt SSL\u8a3c\u660e\u66f8\u53d6\u5f97<\/h2>\n\n\n\n<p>\u901a\u5e38KUSANAGI\u306f\u30b5\u30d6\u30c9\u30e1\u30a4\u30f3\u6bce\u306bLet&#8217;s Encrypt\u304b\u3089SSL\u8a3c\u660e\u66f8\u3092\u53d6\u5f97\uff0f\u8a2d\u7f6e\u3057\u3066\u304f\u308c\u307e\u3059\u3002\u3057\u304b\u3057\u4eca\u56de\u306e\u3088\u3046\u306a\u30b5\u30d6\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u578b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u5834\u5408\u3001\u30db\u30b9\u30c8\u540d\u306f\u5171\u901a\u306b\u306a\u308b\u306e\u3067\u3001\u500b\u5225\u306b\u53d6\u5f97\u3057\u306b\u3044\u304f\u610f\u5473\u304c\u3042\u308a\u307e\u305b\u3093\u3002\u307e\u305fKUSANAGI\u304c\u8a8d\u77e5\u3057\u3066\u3044\u308b\u30b5\u30d6\u30c9\u30e1\u30a4\u30f3\u306f\u5b9f\u5728\u3057\u306a\u3044\u306e\u3067\u305f\u3076\u3093\u5931\u6557\u3057\u307e\u3059\u3002\u306e\u3067\u3001KUSANAGI\u306e\u51e6\u7406\u306f\u7121\u52b9\u5316\uff08\u5148\u306e&#8211;noemail\u30aa\u30d7\u30b7\u30e7\u30f3\uff09\u3057\u3064\u3064\u3001\u81ea\u5206\u3067certbot\u30b3\u30de\u30f3\u30c9\u306b\u3088\u308b\u53d6\u5f97\u3092\u884c\u3044\u3001_ssl.conf\u306b\u30d1\u30b9\u3092\u66f8\u304d\u3001cron\u3067\u5b9a\u671f\u66f4\u65b0\u51e6\u7406\u3092\u8a2d\u5b9a\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u5b9f\u969b\u306e\u624b\u9806\u306f\u30ef\u30a4\u30eb\u30c9\u30ab\u30fc\u30c9\u8a3c\u660e\u66f8\u3092\u53d6\u5f97\u3059\u308b\u304b\u3069\u3046\u304b\u3084\u304a\u4f7f\u3044\u306eDNS\u30d7\u30ed\u30d0\u30a4\u30c0\u306b\u3082\u3088\u308b\u3068\u601d\u3044\u307e\u3059\u3002\u4eca\u56de\u306fClaudFlare\u306eDNS\u30b5\u30fc\u30d3\u30b9\u3067\u30ef\u30a4\u30eb\u30c9\u30ab\u30fc\u30c9\u8a3c\u660e\u66f8\u3092\u4f5c\u6210\u3059\u308b\u60f3\u5b9a\u3067\u3001\u8d85\u7c21\u5358\u306b\u307e\u3068\u3081\u308b\u3068\u4ee5\u4e0b\u306e\u611f\u3058\u3067\u3057\u305f\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># CloudFlare\u7528\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u5c0e\u5165\uff08certbot\u306f\u6700\u521d\u304b\u3089\u5165\u3063\u3066\u305f\uff09\ndnf install python3-certbot-dns-cloudflare\n\n# CloudFlare\u306e<a href=\"https:\/\/dash.cloudflare.com\/profile\/api-tokens\">API\u30ad\u30fc\u4f5c\u6210\u30da\u30fc\u30b8<\/a>\u306b\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u3001\u300cZone:DNS:Edit\u300d\u6a29\u9650\u306e\u307f\u4ed8\u4e0e\u3001IP\u30a2\u30c9\u30ec\u30b9\u3092\u30b5\u30fc\u30d0\u30fc\u306e\u3082\u306e\u306b\u9650\u5b9a\u3057\u3066API\u30ad\u30fc\u3092\u4f5c\u6210\u3002\u51fa\u3066\u304d\u305f\u30ad\u30fc\u3092~root\/.secrets\/cloudflare.ini\u306b\u4e0b\u8a18\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3067\u8a18\u8f09\u3002\ndns_cloudflare_api_token = &#91;API\u30ad\u30fc]\nchmod 0700 .secrets\/\nchmod 0400 \/secrets\/cloudflare.ini\n\n# certbot\u5b9f\u884c\ncertbot certonly --dns-cloudflare --dns-cloudflare-credentials \/root\/.secrets\/cloudflare.ini --dns-cloudflare-propagation-seconds 60 -d <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\">hoge.com<\/mark> -d '*.<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\">hoge.com<\/mark>'\n\n# \/etc\/letsencrypt\/live\/hoge.com\u306b\u79d8\u5bc6\u9375\u3068\u8a3c\u660e\u66f8\u304c\u51fa\u6765\u4e0a\u304c\u308b\u306e\u3067\u3001_ssl.conf\u3067\u8a72\u5f53\u884c\u3092\u63a2\u3057\u3066\u66f8\u304d\u63db\u3048\u3002\nSSLCertificateFile \/etc\/letsencrypt\/live\/<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\">hoge.com<\/mark>\/fullchain.pem\nSSLCertificateKeyFile \/etc\/letsencrypt\/live\/<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\">hoge.com<\/mark>\/privkey.pem\n\n# \u66f4\u65b0\u306e\u30c6\u30b9\u30c8\uff08--dry-run\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u5b9f\u969b\u306e\u66f4\u65b0\u306f\u884c\u308f\u308c\u306a\u3044\uff09\nsudo certbot renew --dry-run\n\n#\u3000\u4e0a\u624b\u304f\u3044\u304d\u305d\u3046\u306a\u3089\u5b9a\u671f\u5b9f\u884c\u3059\u308b\u305f\u3081cron\u306b\u4ee5\u4e0b\u3092\u8a18\u8f09\u3002\n# \u6700\u521d\u304b\u3089\u5165\u3063\u3066\u3044\u308bkusanagi update cert\u306f\u305f\u3076\u3093\u5931\u6557\u3059\u308b\u306e\u3067\u524a\u9664\u3057\u3066\u304a\u304f\n0 4 0 0 0 \/usr\/bin\/certbot renew --post-hook \"\/opt\/kusanagi\/bin\/kusanagi restart\"<\/code><\/pre>\n\n\n\n<p>\u6700\u5f8c\u306ecron\u8a2d\u5b9a\u306fcrontab -e\u3059\u308b\u3068vi\u30a8\u30c7\u30a3\u30bf\u304c\u958b\u3044\u3066\u7de8\u96c6\u72b6\u614b\u306b\u306a\u308a\u307e\u3059\u3002vi\u306e\u64cd\u4f5c\u65b9\u6cd5\u306f\u5225\u9014\u8abf\u3079\u3066\u304f\u3060\u3055\u3044\u30020 4 0 0 0\u306f\u6bce\u671d4\u6642\u306b\u5b9f\u884c\u3059\u308b\u3068\u3044\u3046\u610f\u5473\u3067\u3059\u3002Let&#8217;s Encrypt\u306f90\u65e5\u6bce\u306e\u5931\u52b9\u305730\u65e5\u524d\u304b\u3089\u66f4\u65b0\u53ef\u80fd\u306a\u306e\u3067\u3001\u4e8c\u30f6\u6708\u304a\u304d\u3068\u304b\u3067\u3082\u826f\u3055\u305d\u3046\u3067\u3059\u304c\u3001\u66f4\u65b0\u304c\u5fc5\u8981\u304b\u3069\u3046\u304b\u306fcertbot\u81ea\u8eab\u304c\u5224\u65ad\u3057\u3066\u304f\u308c\u308b\u306e\u3067\u6bce\u65e5\u5b9f\u884c\u3057\u3066\u304a\u3051\u3070\u4e07\u4e00\u66f4\u65b0\u30b5\u30fc\u30d0\u30fc\u304c\u843d\u3061\u3066\u3044\u305f\u308a\u3057\u305f\u6642\u3067\u3082\u30ea\u30c8\u30e9\u30a4\u3057\u3066\u304f\u308c\u308b\u306e\u3067\u5b89\u5fc3\u3068\u306e\u3053\u3068\u3067\u3059\uff08\u4e0d\u8981\u306a\u30bf\u30a4\u30df\u30f3\u30b0\u306a\u3089\u306a\u306b\u3082\u305b\u305a\u306b\u7d42\u4e86\u3059\u308b\u3060\u3051\uff09\u3002<\/p>\n\n\n\n<h1 class=\"wp-block-heading\">\u25a0\u307e\u3068\u3081<\/h1>\n\n\n\n<p>\u7a7a\u304d\u6642\u9593\u3092\u4f7f\u3063\u3066\u6570\u65e5\u3067\u306a\u3093\u3068\u304b\u65b0VPS\/OS\u306b\u79fb\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3057\u305f\u30021G\/2\u30b3\u30a2\u304b\u30894G\/4\u30b3\u30a2\u306b\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3057\u305f\u3053\u3068\u3067\u5168\u4f53\u7684\u306a\u30ec\u30b9\u30dd\u30f3\u30b9\u3082\u4e0a\u304c\u3063\u3066\u5feb\u9069\u306b\u306a\u3063\u305f\u6c17\u304c\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u9858\u308f\u304f\u306fAlmaLinux\u304c\u7121\u4e8b2032\u5e74\u307e\u3067\u904b\u55b6\u3092\u7d99\u7d9a\u3057\u3066\u304f\u308c\u308c\u3070\u3068\u601d\u3044\u307e\u3059\u3002\u305d\u308c\u307e\u3067\u306b\u81ea\u5206\u304c\u5ec3\u696d\u3057\u305f\u308a\u3001WordPress\u3084\u500b\u4eba\u30c9\u30e1\u30a4\u30f3\u3067\u30d6\u30ed\u30b0\u3092\u30db\u30b9\u30c8\u3059\u308b\u3068\u3044\u3046\u6642\u4ee3\u3067\u306f\u306a\u304f\u306a\u308b\u304b\u3082\u3067\u3059\u304c\u3001\u3001<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www28.a8.net\/svt\/bgt?aid=241122631192&amp;wid=001&amp;eno=01&amp;mid=s00000000018030035000&amp;mc=1\" alt=\"\"\/><\/figure>\n\n\n\n<p><a href=\"https:\/\/px.a8.net\/svt\/ejp?a8mat=3ZK3EV+36B8XE+50+4YTJJL\"><\/a><br><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u25a0CentOS7\u306e\u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u30b5\u30dd\u30fc\u30c8\u671f\u9650\u304c\u5207\u308c\u308b\uff01 \u3053\u306e\u30d6\u30ed\u30b0\u3092\u30db\u30b9\u30c8\u3057\u3066\u3044\u308b\u30b5\u30fc\u30d0\u30fc\u306eOS\u306fCentOS7\u3067\u3057\u305f\u304c\u30012024\u5e746\u670830\u65e5\u3067\u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u30b5\u30dd\u30fc\u30c8\u671f\u9650\u304c\u7d42\u4e86\u3059\u308b\u3053\u3068\u306b6\u6708\u306b\u5165\u3063\u3066\u6c17\u4ed8\u304d\u307e\u3057\u305f\u3002\u57fa\u672c\u65b0\u3057\u3044\u3082 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[1285,1286,1287,1288,1289,1290,363,386,388,1283,1284],"class_list":["post-6747","post","type-post","status-publish","format-standard","hentry","category-cat79","tag-centos-stream","tag-eol","tag-kusanagi","tag-kusanagi9","tag-almalinux9","tag-php","tag-wordpress","tag-vps","tag-centos","tag-almalinux","tag-armalinux"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/do-gugan.com\/~furuta\/wp-json\/wp\/v2\/posts\/6747","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/do-gugan.com\/~furuta\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/do-gugan.com\/~furuta\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/do-gugan.com\/~furuta\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/do-gugan.com\/~furuta\/wp-json\/wp\/v2\/comments?post=6747"}],"version-history":[{"count":5,"href":"https:\/\/do-gugan.com\/~furuta\/wp-json\/wp\/v2\/posts\/6747\/revisions"}],"predecessor-version":[{"id":6985,"href":"https:\/\/do-gugan.com\/~furuta\/wp-json\/wp\/v2\/posts\/6747\/revisions\/6985"}],"wp:attachment":[{"href":"https:\/\/do-gugan.com\/~furuta\/wp-json\/wp\/v2\/media?parent=6747"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/do-gugan.com\/~furuta\/wp-json\/wp\/v2\/categories?post=6747"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/do-gugan.com\/~furuta\/wp-json\/wp\/v2\/tags?post=6747"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}