{"id":4411,"date":"2024-02-05T14:29:38","date_gmt":"2024-02-05T05:29:38","guid":{"rendered":"https:\/\/taitan916.info\/blog\/?p=4411"},"modified":"2024-01-29T16:15:50","modified_gmt":"2024-01-29T07:15:50","slug":"post-4411","status":"publish","type":"post","link":"https:\/\/taitan916.info\/blog\/archives\/4411","title":{"rendered":"AlmaLinux8\u7cfb\u306b1-Click Install\u3067OpenLiteSpeed\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"<p>\u4ee5\u524d<a href=\"https:\/\/taitan916.info\/blog\/archives\/4367\" target=\"_blank\" rel=\"noopener\">AlmaLinux8\u306bOpenLiteSpeed\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u8a18\u4e8b<\/a>\u3092\u66f8\u3044\u305f\u304c\u4eca\u56de\u306f\u30ef\u30f3\u30af\u30ea\u30c3\u30af\u7528\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u3067OpenLiteSpeed\u3001LSPHP\u3001MariaDB\u3001WordPress\u3092\u307e\u3068\u3081\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u307f\u305f\u3044\u3002\u307e\u305f\u3001\u3067\u304d\u308c\u3070PHP\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306f\u65b0\u3057\u3044\u3082\u306e\u304c\u826f\u3044\u3002\u4ee5\u4e0b\u306b\u5bfe\u5fdc\u65b9\u6cd5\u3092\u30e1\u30e2\u3002<\/p>\n<p>&nbsp;<\/p>\n<h2>\u74b0\u5883\u306b\u3064\u3044\u3066<\/h2>\n<h3>VPS\u306b\u95a2\u3057\u3066<\/h3>\n<p>\u4eca\u56de\u306f<a href=\"https:\/\/www.kagoya.jp\/vps\/\" target=\"_blank\" rel=\"noopener\">KAGOYA CLOUD VPS<\/a>\u306eCPU1\u30b3\u30a2 \/ \u30e1\u30e2\u30ea1GB\u30d7\u30e9\u30f3\u3067\u4f5c\u696d\u3057\u305f\u3002SSH\u63a5\u7d9a\u306f<a href=\"https:\/\/support.kagoya.jp\/vps\/manual\/index.php?action=artikel&amp;cat=25&amp;id=9&amp;artlang=ja\" target=\"_blank\" rel=\"noopener\">\u516c\u5f0f\u6848\u5185<\/a>\u306e\u901a\u308a\u4ee5\u4e0b\u3067\u30ed\u30b0\u30a4\u30f3\u3067\u304d\u308b\u3002<\/p>\n<ul>\n<li>\u63a5\u7d9a\u30dd\u30fc\u30c8 -&gt; 22<\/li>\n<li>\u30e6\u30fc\u30b6\u540d -&gt; root<\/li>\n<li>\u30d1\u30b9\u30ef\u30fc\u30c9 or \u79d8\u5bc6\u9375 -&gt; \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u4f5c\u6210\u6642\u306b\u9078\u629e\u3057\u305f\u3082\u306e<\/li>\n<\/ul>\n<h3>AlmaLinux\u306b\u3064\u3044\u3066<\/h3>\n<p>\u30d0\u30fc\u30b8\u30e7\u30f38.9\u306b\u306a\u308b\u3002<\/p>\n<p>&nbsp;<\/p>\n<h2>\u516c\u5f0f\u30b5\u30a4\u30c8\u306b\u3088\u308b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6848\u5185<\/h2>\n<p>\u57fa\u672c\u7684\u306b\u306f\u4ee5\u4e0b\u516c\u5f0f\u6848\u5185\u306e\u901a\u308a\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3002<\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"5rbI4IX26b\"><p><a href=\"https:\/\/openlitespeed.org\/kb\/1-click-install\/\">1-Click Install OLS, PHP, MySQL, WP and LSCache<\/a><\/p><\/blockquote>\n<p><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;1-Click Install OLS, PHP, MySQL, WP and LSCache&#8221; &#8212; OpenLiteSpeed\" src=\"https:\/\/openlitespeed.org\/kb\/1-click-install\/embed\/#?secret=r3Lh8QGbYo#?secret=5rbI4IX26b\" data-secret=\"5rbI4IX26b\" width=\"580\" height=\"327\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n<p>&nbsp;<\/p>\n<h2>1-Click Install\u3067\u5404\u7a2e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n<h3>\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u53d6\u5f97\u3068\u5b9f\u884c<\/h3>\n<p>SSH\u63a5\u7d9a\u3057\u4ee5\u4e0b\u30b3\u30de\u30f3\u30c9\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u9032\u3081\u308b\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">#dnf\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\r\ndnf -y update\r\n\r\n#(\u5fc5\u8981\u306b\u5fdc\u3058\u3066)wget\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\r\ndnf -y install wget\r\n\r\n#\u30ef\u30f3\u30af\u30ea\u30c3\u30af\u7528\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u53d6\u5f97\u53ca\u3073\u5b9f\u884c\r\nwget https:\/\/raw.githubusercontent.com\/litespeedtech\/ols1clk\/master\/ols1clk.sh &amp;&amp; bash ols1clk.sh --wordpressplus test.com --lsphp 82<\/pre>\n<h3>\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u306b\u3064\u3044\u3066<\/h3>\n<p>\u4ee5\u4e0b\u30da\u30fc\u30b8\u3067\u5404\u7a2e\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u78ba\u8a8d\u3067\u304d\u308b\u3002<\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"dLcs9g9Cfu\"><p><a href=\"https:\/\/openlitespeed.org\/kb\/1-click-install\/\">1-Click Install OLS, PHP, MySQL, WP and LSCache<\/a><\/p><\/blockquote>\n<p><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;1-Click Install OLS, PHP, MySQL, WP and LSCache&#8221; &#8212; OpenLiteSpeed\" src=\"https:\/\/openlitespeed.org\/kb\/1-click-install\/embed\/#?secret=8WrBd3tXSw#?secret=dLcs9g9Cfu\" data-secret=\"dLcs9g9Cfu\" width=\"580\" height=\"327\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n<h3>WordPress\u306b\u3064\u3044\u3066<\/h3>\n<p>\u4ee5\u4e0b\u304cWordPress\u306b\u95a2\u3059\u308b\u90e8\u5206\u3067\u300ctest.com\u300d\u306f\u4f7f\u7528\u3059\u308b\u30c9\u30e1\u30a4\u30f3\u3092\u8a18\u8ff0\u3059\u308b\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">--wordpressplus test.com<\/pre>\n<p>\u5c1a\u3001\u3053\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u8a2d\u5b9a\u3057\u3066\u304a\u304b\u306a\u3044\u3068WordPress\u53ca\u3073MySQL\u306f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u306a\u3044\u3002<\/p>\n<h3>PHP\u306b\u3064\u3044\u3066<\/h3>\n<p>\u4ee5\u4e0b\u304cPHP\u306b\u95a2\u3059\u308b\u90e8\u5206\u3067\u300c82\u300d\u6307\u5b9a\u3059\u308b\u3053\u3068\u3067PHP8.2\u7cfb\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b(8.2\u7cfb\u304c\u6050\u3089\u304f\u6700\u65b0)\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">--lsphp 82<\/pre>\n<p>\u5c1a\u3001\u3053\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u6307\u5b9a\u3057\u306a\u3044\u5834\u5408\u306fPHP8.1\u7cfb\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u3002<\/p>\n<h3>\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u306b\u3088\u308b\u5404\u7a2e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n<p>\u4ee5\u4e0b\u304c\u8868\u793a\u3055\u308c\u308b\u306e\u3067\u554f\u984c\u304c\u7121\u3051\u308c\u3070\u300cY\u300d\u3092\u5165\u529b\u3057\u3066\u30a8\u30f3\u30bf\u30fc\u30ad\u30fc\u3067\u9032\u3080\u3002WordPress\u3084MySQL\u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u60c5\u5831\u306f\u30e1\u30e2\u3063\u3066\u304a\u304f\u3068\u826f\u3044\u3002<\/p>\n<p><a href=\"https:\/\/taitan916.info\/blog\/wp-content\/uploads\/2024\/02\/004-1.jpg\" data-rel=\"lightbox-image-0\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-4418\" src=\"https:\/\/taitan916.info\/blog\/wp-content\/uploads\/2024\/02\/004-1-300x210.jpg\" alt=\"\" width=\"300\" height=\"210\" srcset=\"https:\/\/taitan916.info\/blog\/wp-content\/uploads\/2024\/02\/004-1-300x210.jpg 300w, https:\/\/taitan916.info\/blog\/wp-content\/uploads\/2024\/02\/004-1.jpg 703w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<h3>LiteSpeed\u306e\u5404\u7a2e\u8a2d\u5b9a<\/h3>\n<p>\u5f15\u304d\u7d9a\u304dSSH\u63a5\u7d9a\u3057\u4ee5\u4e0b\u306e\u624b\u9806\u3067\u9032\u3081\u308b\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">#\u30a2\u30ab\u30a6\u30f3\u30c8\u8a2d\u5b9a(\u30e6\u30fc\u30b6\u30fc\u3068\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u805e\u304b\u308c\u308b\u306e\u3067\u5165\u529b\u3059\u308b)\r\n\/usr\/local\/lsws\/admin\/misc\/admpass.sh\r\n\r\n#openlitespeed\u306e\u8d77\u52d5\r\nsystemctl start lsws\r\n\r\n#openlitespeed\u306e\u81ea\u52d5\u8d77\u52d5\u8a2d\u5b9a\r\nsystemctl enable lsws\r\n\r\n#(\u5fc5\u8981\u306b\u5fdc\u3058\u3066)\u30dd\u30fc\u30c8\u958b\u653e\u53ca\u3073\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u3092\u518d\u8d77\u52d5\r\nfirewall-cmd --zone=public --permanent --add-port=8088\/tcp\r\nfirewall-cmd --zone=public --permanent --add-port=7080\/tcp\r\nfirewall-cmd --zone=public --permanent --add-port=80\/tcp\r\nfirewall-cmd --zone=public --permanent --add-port=443\/tcp\r\nfirewall-cmd --reload<\/pre>\n<p>&nbsp;<\/p>\n<h2>\u5404\u7a2e\u8868\u793a\u30fb\u8a2d\u5b9a\u306b\u3064\u3044\u3066<\/h2>\n<h3>WordPress<\/h3>\n<h4>TOP\u30da\u30fc\u30b8<\/h4>\n<p>\u7d10\u3065\u3051\u305f\u30c9\u30e1\u30a4\u30f3\u3092\u30d6\u30e9\u30a6\u30b6\u304b\u3089\u958b\u304f\u3068\u4ee5\u4e0b\u306e\u901a\u308aWordPress\u306eTOP\u30da\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u308b\u7b48\u3002<\/p>\n<p><a href=\"https:\/\/taitan916.info\/blog\/wp-content\/uploads\/2024\/02\/005-1.jpg\" data-rel=\"lightbox-image-1\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-4426\" src=\"https:\/\/taitan916.info\/blog\/wp-content\/uploads\/2024\/02\/005-1-300x204.jpg\" alt=\"\" width=\"300\" height=\"204\" srcset=\"https:\/\/taitan916.info\/blog\/wp-content\/uploads\/2024\/02\/005-1-300x204.jpg 300w, https:\/\/taitan916.info\/blog\/wp-content\/uploads\/2024\/02\/005-1-1024x698.jpg 1024w, https:\/\/taitan916.info\/blog\/wp-content\/uploads\/2024\/02\/005-1-768x523.jpg 768w, https:\/\/taitan916.info\/blog\/wp-content\/uploads\/2024\/02\/005-1.jpg 1077w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<h4>\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9<\/h4>\n<p>\u300c\u30c9\u30e1\u30a4\u30f3\/wp-login.php\u300d\u3067WordPress\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u3078\u306e\u30ed\u30b0\u30a4\u30f3\u30da\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u308b\u7b48\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u3060\u3068\u8a00\u8a9e\u304c\u82f1\u8a9e\u306b\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u300cSettings\u2192General\u2192Site Language\u300d\u3067\u65e5\u672c\u8a9e\u3092\u9078\u629e\u3057\u3066\u300cSave Changes\u300d\u30dc\u30bf\u30f3\u30af\u30ea\u30c3\u30af\u3067\u8a2d\u5b9a\u5909\u66f4\u3059\u308b\u3002<\/p>\n<h4>\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u30eb\u30fc\u30c8<\/h4>\n<p>WordPress\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u30eb\u30fc\u30c8\u306f\u4ee5\u4e0b\u306b\u306a\u308b\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">\/usr\/local\/lsws\/wordpress<\/pre>\n<h3>MySQL<\/h3>\n<p>\u4ee5\u4e0b\u30b3\u30de\u30f3\u30c9\u3067\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u78ba\u8a8d\u3057\u305f\u3068\u3053\u308dMariaDB10.11.6\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u305f\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">mysql --version\r\nmysql  Ver 15.1 Distrib 10.11.6-MariaDB, for Linux (x86_64) using readline 5.1<\/pre>\n<p><a href=\"https:\/\/qiita.com\/katzueno\/items\/e735950c7440f232ef27\" target=\"_blank\" rel=\"noopener\">\u3053\u3061\u3089\u306e\u30b5\u30a4\u30c8<\/a>\u306b\u3088\u308b\u3068\u5927\u4f53MySQL8.0\u7cfb\u306b\u306a\u308b\u307f\u305f\u3044\u3002<\/p>\n<h3>PHP<\/h3>\n<p>\u300c\u30c9\u30e1\u30a4\u30f3:8088\/phpinfo.php\u300d\u3092\u958b\u304f\u3068\u4ee5\u4e0b\u304c\u8868\u793a\u3055\u308cPHP8.2\u7cfb\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u70b9\u3092\u78ba\u8a8d\u3067\u304d\u308b\u3002<\/p>\n<p><a href=\"https:\/\/taitan916.info\/blog\/wp-content\/uploads\/2024\/02\/006-1.jpg\" data-rel=\"lightbox-image-2\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-4429\" src=\"https:\/\/taitan916.info\/blog\/wp-content\/uploads\/2024\/02\/006-1-300x164.jpg\" alt=\"\" width=\"300\" height=\"164\" srcset=\"https:\/\/taitan916.info\/blog\/wp-content\/uploads\/2024\/02\/006-1-300x164.jpg 300w, https:\/\/taitan916.info\/blog\/wp-content\/uploads\/2024\/02\/006-1-768x420.jpg 768w, https:\/\/taitan916.info\/blog\/wp-content\/uploads\/2024\/02\/006-1.jpg 853w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<h2>\u6240\u611f<\/h2>\n<p>OpenLiteSpeed \/ MySQL \/ PHP8.2\u3092\u307e\u3068\u3081\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u308b\u306e\u306f\u4fbf\u5229\u3002\u6b32\u3092\u8a00\u3048\u3070PHP\u306f\u6700\u65b0\u306e8.3\u7cfb\u304c\u5165\u308b\u3068\u5b09\u3057\u3044\u3093\u3060\u3051\u3069\u30018.2\u7cfb\u3067\u3082\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30b5\u30dd\u30fc\u30c8\u306f2025\/12\/08\u307e\u3067\u306a\u306e\u3067\u5341\u5206\u4f7f\u3048\u305d\u3046\u3002<\/p>\n<p>\u5c1a\u3001SSL\u8a3c\u660e\u66f8(Let's Encrypt)\u5c0e\u5165\u3084FTP\u30b5\u30fc\u30d0\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306b\u3064\u3044\u3066\u306f\u9577\u304f\u306a\u308a\u305d\u3046\u306a\u306e\u3067\u5f8c\u65e5\u306b\u5225\u9014\u30e1\u30e2\u3057\u3088\u3046\u3068\u601d\u3046\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4ee5\u524dAlmaLinux8\u306bOpenLiteSpeed\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u8a18\u4e8b\u3092\u66f8\u3044 ... <\/p>\n","protected":false},"author":1,"featured_media":4360,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[95,7],"tags":[],"class_list":["post-4411","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-openlitespeed","category-server"],"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/posts\/4411","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/comments?post=4411"}],"version-history":[{"count":17,"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/posts\/4411\/revisions"}],"predecessor-version":[{"id":4440,"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/posts\/4411\/revisions\/4440"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/media\/4360"}],"wp:attachment":[{"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/media?parent=4411"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/categories?post=4411"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/tags?post=4411"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}