{"id":2804,"date":"2024-04-14T11:01:59","date_gmt":"2024-04-14T02:01:59","guid":{"rendered":"https:\/\/wp.kaz.bz\/tech\/?p=2804"},"modified":"2024-04-15T09:18:40","modified_gmt":"2024-04-15T00:18:40","slug":"%e3%81%a8%e3%81%82%e3%82%8b%e3%83%8f%e3%83%b3%e3%82%ba%e3%82%aa%e3%83%b3%e3%81%ae%e3%82%b3%e3%83%bc%e3%83%89%e3%82%92%ef%bc%88docker%e3%82%92%e4%bd%bf%e3%82%8f%e3%81%9a%ef%bc%89-almalinux9-%e7%92%b0","status":"publish","type":"post","link":"https:\/\/wp.kaz.bz\/tech\/2024\/04\/14\/2804.html","title":{"rendered":"\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"},"content":{"rendered":"<p>\u5148\u65e5\u53c2\u52a0\u3057\u305f <a href=\"https:\/\/linedevelopercommunity.connpass.com\/event\/313579\/\" class=\"ext-link\" rel=\"external nofollow\" target=\"_blank\">\u3068\u3042\u308b\u52c9\u5f37\u4f1a\uff08\u30cf\u30f3\u30ba\u30aa\u30f3\uff09<\/a> \u3067\u624b\u9806\u3068\u3057\u3066\u4f7f\u3046\u3053\u3068\u3068\u306a\u308a\u3001 Visual Studio Code \u306e\u30dd\u30fc\u30c8\u8ee2\u9001\u6a5f\u80fd\u304b <a href=\"https:\/\/learn.microsoft.com\/ja-jp\/azure\/developer\/dev-tunnels\/get-started?tabs=windows\" class=\"ext-link\" rel=\"external nofollow\" target=\"_blank\">dev tunnels<\/a> \u304c\u624b\u9806\u306b\u3042\u3063\u305f\u306e\u3067\u3059\u304c Win \u3068 Mac \u306e\u74b0\u5883\u306e\u9055\u3044\u304b\u305d\u306e\u307e\u307e\u306e\u624b\u9806\u3067\u306f\u52d5\u304b\u305a\u3001\u305d\u306e\u5f8c\u3082\u5c0f\u3055\u3044\uff08\u305d\u306e\u5185\u5bb9\u3068\u3057\u3066\u306f\u672c\u8cea\u7684\u3067\u306a\u3044\uff09\u8a2d\u5b9a\u4e0d\u8db3\u3084\u624b\u9806\u9055\u3044\u306a\u3069\u304c\u30dd\u30ed\u30dd\u30ed\u767a\u751f\u3057\u3066\u305d\u306e\u5834\u3067\u306f\u5b8c\u8d70\u3067\u304d\u306a\u304b\u3063\u305f\u306e\u3067\u3001\u30bd\u30fc\u30b9\u305f\u3069\u308a\u306a\u304c\u3089\u4eee\u60f3\u30b5\u30fc\u30d0\u30fc\u74b0\u5883\u3067\u52d5\u304b\u3057\u3066\u307f\u305f\u30e1\u30e2\u3002<br \/>\n\u203b\u8a73\u7d30\u8abf\u67fb\u3057\u304d\u3063\u3066\u3044\u306a\u3044\uff081\u5ea6\u52d5\u4f5c\u3057\u3066\u3057\u307e\u3046\u3068\u554f\u984c\u304c\u767a\u751f\u3057\u306a\u304f\u306a\u308b\uff09\u306e\u3067\u3088\u304f\u308f\u304b\u3063\u3066\u3044\u306a\u3044\u3067\u3059\u304c\u3001Windows\u74b0\u5883\u3060\u3068 VSCode \u306e\u30b7\u30a7\u30eb\u30e2\u30fc\u30c9\uff08 terminal.integrated.defaultProfile.windows \uff09\u306b\u3088\u3063\u3066\u8a71\u304c\u9055\u304f\u306a\u308b\u3068\u3044\u3046\u554f\u984c\u3082\u3042\u308a\u305d\u3046\u3002<\/p>\n<h2>\u4eee\u60f3\u30b5\u30fc\u30d0\u30fc\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7<\/h2>\n<p>Almalinux 9 \u306e\u74b0\u5883\u306b\u69cb\u7bc9\u3057\u305f\u3002<\/p>\n<ul>\n<li>httpd<\/li>\n<li>remi-php83<\/li>\n<\/ul>\n<p>\u3067\u3001\u30cf\u30f3\u30ba\u30aa\u30f3\u3067\u63d0\u4f9b\u3055\u308c\u3066\u3044\u305f\u30b3\u30fc\u30c9\u304c\u6700\u4f4e\u9650\u52d5\u304f\u8a2d\u5b9a\u30ec\u30d9\u30eb\u3002<\/p>\n<h3>\u5fc5\u8981\u306a\u30d1\u30c3\u30b1\u30fc\u30b8\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n<ol>\n<li><code>dnf install httpd mod_ssl epel-release<\/code><\/li>\n<li><code>dnf install https:\/\/rpms.remirepo.net\/enterprise\/remi-release-9.rpm<\/code><\/li>\n<li><code>dnf module reset php<\/code><\/li>\n<li><code>dnf module install php:remi-8.3<\/code><\/li>\n<li><code>dnf install php-pdo php-pecl-zip<\/code><\/li>\n<li><code>curl -sS https:\/\/getcomposer.org\/installer | sudo php<\/code><\/li>\n<\/ol>\n<h4>httpd \u8a2d\u5b9a<\/h4>\n<ol>\n<li>Let's Encrypt \u3092\u4f7f\u3063\u305f\u8a3c\u660e\u66f8\u8a2d\u5b9a\u7b49\uff08\u5272\u611b\uff09<\/li>\n<li>\u3053\u306e\u5f8c\u843d\u3068\u3057\u3066\u304f\u308b\u30cf\u30f3\u30ba\u30aa\u30f3\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\uff08Laravel\u30d9\u30fc\u30b9\uff09\u306e\u516c\u958b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea public\/ \u3092\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u30eb\u30fc\u30c8\u3068\u3057\u3066\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b<\/li>\n<li>public\/ \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u5bfe\u3057 .htaccess \u3092\u6709\u52b9\u306b\u3059\u308b\uff08AllowOverride \u306e\u8a2d\u5b9a\uff09: Laravel \u306e\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u306b\u5fc5\u8981<\/li>\n<\/ol>\n<h3>\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u64cd\u4f5c<\/h3>\n<p>\u30cf\u30f3\u30ba\u30aa\u30f3\u306b\u3042\u308b .env \u306b\u95a2\u3059\u308b\u8a2d\u5b9a\u306f\u5272\u611b\uff08\u95a2\u4fc2\u5404\u30b5\u30fc\u30d3\u30b9\u306eAPI\u30ad\u30fc\u7b49\u306e\u8a2d\u5b9a\u304c\u5fc5\u8981\u306b\u306a\u308b\uff09<\/p>\n<ol>\n<li>git clone<\/li>\n<li>\u30bd\u30fc\u30b9\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u30eb\u30fc\u30c8\u3067\u3001 .env \u8ffd\u52a0\uff08\u4e0a\u8a18\u306e\u3082\u306e\uff09<\/li>\n<li><code>composer install<\/code><\/li>\n<li><code>php artisan migrate<\/code><\/li>\n<li><code>php artisan key:generate<\/code><\/li>\n<li>httpd + php-fpm \u3067\u306e\u52d5\u4f5c\u306b\u652f\u969c\u304c\u51fa\u308b\u306e\u3067\u3001\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u5168\u4f53\u306e\u30aa\u30fc\u30ca\u30fc\u3092 httpd \u306e\u5b9f\u884c\u30e6\u30fc\u30b6\u30fc\uff08\u6b63\u78ba\u306b\u306f php-fpm \u306e\u5b9f\u884c\u30e6\u30fc\u30b6\u30fc\uff09\u306b\u3059\u308b<\/li>\n<\/ol>\n<h3>\u30b5\u30fc\u30d3\u30b9\u8d77\u52d5<\/h3>\n<p>Laravel \u306e PHP\u30b5\u30fc\u30d0\u30fc\u306b\u306f\u983c\u3089\u306a\u3044\u306e\u3067\u4ee5\u4e0b\u3060\u3051\u3067OK\u3002<\/p>\n<ol>\n<li><code>systemctl start php-fpm<\/code> \u3001 <code>systemctl start httpd<\/code><\/li>\n<\/ol>\n<p>\u3053\u306e\u5f8c\u3001WebHook\u306e\u8a2d\u5b9a\u306a\u3069\u958b\u767a\u8005\u30a2\u30ab\u30a6\u30f3\u30c8\u5074\u3067\u5fc5\u8981\u306a\u8a2d\u5b9a\u3092\u3059\u308b\u7a0b\u5ea6\u3067\u52d5\u3044\u305f\u306e\u3067\u3001\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306e\u52d5\u4f5c\u81ea\u4f53\u306f\u5168\u304f\u554f\u984c\u306a\u3044\u826f\u3044\u30bd\u30fc\u30b9\u306e\u6a21\u69d8\u3002<br \/>\n\u203b\u307e\u3060\u4e2d\u8eab\u3061\u3083\u3093\u3068\u8aad\u3081\u3066\u3044\u306a\u3044\u3067\u3059\u304c\u3001 Claude \u3055\u3093\u306e\u8b58\u5b57\u80fd\u529b\uff08OCR\uff09\u306e\u30c6\u30b9\u30c8\u306f\u3059\u3067\u306b\u3067\u304d\u3066\u3044\u3066\u76f8\u5f53\u826f\u3044\u306e\u306f\u308f\u304b\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<hr \/>\n<p>\u3068\u3044\u3046\u3053\u3068\u3067\u3001Docker\u7b49\u3067\u300c\u958b\u767a\u74b0\u5883\u306e\u69cb\u7bc9\u3092\u5bb9\u6613\u306b\u300d\u3068\u3044\u3044\u3064\u3064\u3082\u3001\u30c7\u30d0\u30a4\u30b9\u30ec\u30d9\u30eb\uff08OS\u30ec\u30d9\u30eb\uff09\u3067\u306e\u5dee\u5206\u3092\u5438\u53ce\u3057\u3066\u9032\u3081\u308b\u306e\u306f\u74b0\u5883\u6e96\u5099\u5074\u306e\u8ca0\u8377\u304c\u307e\u3060\u307e\u3060\u9ad8\u305d\u3046\u3060\u306a\u3042\u3068\u611f\u3058\u305f\u30cf\u30f3\u30ba\u30aa\u30f3\u3067\u3057\u305f\uff08\u672c\u7b4b\u306f\u305d\u3053\u3058\u3083\u306a\u304f\u3001\u5185\u5bb9\u306f\u8208\u5473\u6df1\u304b\u3063\u305f\u3067\u3059\uff09\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\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 Code \u306e\u30dd\u30fc\u30c8\u8ee2\u9001\u6a5f\u80fd\u304b dev tunnels \u304c\u624b\u9806\u306b\u3042\u3063\u305f\u306e\u3067\u3059\u304c Win \u3068 Mac \u306e\u74b0\u5883\u306e\u9055\u3044\u304b\u305d\u306e\u307e\u307e [&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":[26],"tags":[],"class_list":["post-2804","post","type-post","status-publish","format-standard","hentry","category-memo_tmp"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":2663,"url":"https:\/\/wp.kaz.bz\/tech\/2021\/09\/21\/2663.html","url_meta":{"origin":2804,"position":0},"title":"AlmaLinux 8 \u6a19\u6e96\u30ea\u30dd\u30b8\u30c8\u30ea\u3067 WordPress \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u308b\u74b0\u5883\u69cb\u7bc9\u3002","author":"kaz. Suenaga","date":"2021\/09\/21","format":false,"excerpt":"remi \u3092\u4f7f\u308f\u305a\u306b\u8a2d\u5b9a\u3059\u308b\u30e1\u30e2\u3002 epel \u306f\u4f7f\u3046\u3002powertools \u3082\u4f7f\u3046\u3002 httpd 2\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":2579,"url":"https:\/\/wp.kaz.bz\/tech\/2020\/09\/28\/2579.html","url_meta":{"origin":2804,"position":1},"title":"\u3055\u304f\u3089\u306eVPS\u3067CentOS8\u3092\u69cb\u7bc9\u3059\u308b\u969b\u306e\u30e1\u30e2\u3002","author":"kaz. Suenaga","date":"2020\/09\/28","format":false,"excerpt":"\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\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":2763,"url":"https:\/\/wp.kaz.bz\/tech\/2023\/07\/09\/2763.html","url_meta":{"origin":2804,"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":2815,"url":"https:\/\/wp.kaz.bz\/tech\/2024\/08\/27\/2815.html","url_meta":{"origin":2804,"position":3},"title":"WebARENA Indigo \u306a\u3069 \uff08\u30ea\u30bd\u30fc\u30b9\u306e\u5c0f\u3055\u3044\u74b0\u5883\uff09 \u3067 dnf \u30b3\u30de\u30f3\u30c9\u304c\u7121\u5fdc\u7b54\u306b\u306a\u308b\u5bfe\u7b56","author":"kaz. Suenaga","date":"2024\/08\/27","format":false,"excerpt":"\u767a\u751f\u3057\u305f\u306e\u306f WebARENA Indigo 1 CPU 1 GB AlmaLinux 9.4 \u306e\u74b0\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":1145,"url":"https:\/\/wp.kaz.bz\/tech\/2012\/04\/23\/1145.html","url_meta":{"origin":2804,"position":4},"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":1136,"url":"https:\/\/wp.kaz.bz\/tech\/2012\/02\/23\/1136.html","url_meta":{"origin":2804,"position":5},"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":[]}],"_links":{"self":[{"href":"https:\/\/wp.kaz.bz\/tech\/wp-json\/wp\/v2\/posts\/2804","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=2804"}],"version-history":[{"count":3,"href":"https:\/\/wp.kaz.bz\/tech\/wp-json\/wp\/v2\/posts\/2804\/revisions"}],"predecessor-version":[{"id":2807,"href":"https:\/\/wp.kaz.bz\/tech\/wp-json\/wp\/v2\/posts\/2804\/revisions\/2807"}],"wp:attachment":[{"href":"https:\/\/wp.kaz.bz\/tech\/wp-json\/wp\/v2\/media?parent=2804"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.kaz.bz\/tech\/wp-json\/wp\/v2\/categories?post=2804"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.kaz.bz\/tech\/wp-json\/wp\/v2\/tags?post=2804"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}