{"id":8330,"date":"2024-06-07T00:01:22","date_gmt":"2024-06-06T15:01:22","guid":{"rendered":"https:\/\/www.tapoblog.0t0.jp\/?p=8330"},"modified":"2024-06-07T00:01:22","modified_gmt":"2024-06-06T15:01:22","slug":"%e8%87%aa%e5%ae%85%e3%82%b5%e3%83%bc%e3%83%90%e3%83%bc%e3%81%ae%e5%86%8d%e6%a7%8b%e7%af%89","status":"publish","type":"post","link":"https:\/\/www.tapoblog.0t0.jp\/?p=8330","title":{"rendered":"\u81ea\u5b85\u30b5\u30fc\u30d0\u30fc\u306e\u518d\u69cb\u7bc9"},"content":{"rendered":"\n<p>Raspberry Pi OS (\u2252Debian)\u306e11(bullseye)\u304b\u308912(bookworm)\u3078\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3057\u3066\u3057\u3070\u3089\u304f\u4f7f\u3063\u3066\u3044\u305f\u3093\u3060\u3051\u3069\u3001\u30ab\u30fc\u30cd\u30eb\u304c\u5fae\u5999\u306b\u53e4\u304b\u3063\u305f\u308a\u3001\u6240\u3005\u7d14\u7c8b\u306abookworm\u3068\u306f\u9055\u3046\u72b6\u614b\u306b\u306a\u3063\u3066\u3044\u305f\u3002<\/p>\n\n\n\n<p>\u3088\u304f\u3088\u304f\u8abf\u3079\u3066\u307f\u308b\u3068\u3001<a href=\"https:\/\/yagiful.com\/blog\/raspberry-bookworm-upgrade\/\" target=\"_blank\" rel=\"noreferrer noopener\">RPI OS\u306f\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u306f\u975e\u63a8\u5968\u3067\u3001\u4eca\u307e\u3067\u306f\u3042\u307e\u308a\u5b9f\u5bb3\u306f\u306a\u304b\u3063\u305f\u3063\u307d\u3044\u304c\u3001\u4eca\u56de\u306f\u5b9f\u969b\u306b\u554f\u984c\u304c\u3042\u308b\u3089\u3057\u3044\u3002<\/a>\u3046\u3080\u3001\u307e\u3055\u306b\u30ea\u30f3\u30af\u5148\u306e\u300c\u30dd\u30a4\u30f3\u30c8\u300d\u306b\u66f8\u304b\u308c\u3066\u308b\u3088\u3046\u306a\u72b6\u6cc1\u3060\u3002<\/p>\n\n\n\n<p>\u3068\u8a00\u3046\u308f\u3051\u3067\u3001\u3064\u3044\u3067\u306b\u3072\u3068\u56de\u308a\u5bb9\u91cf\u306e\u5927\u304d\u3044\u30de\u30a4\u30af\u30edSD\u3092\u7528\u610f\u3057\u3066\u3001\u4e45\u3057\u3076\u308a\u306bRaspberry Pi OS\u306e\u30af\u30ea\u30fc\u30f3\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u305d\u3057\u3066\u3001\u7ba1\u7406\u7cfb\u30b3\u30de\u30f3\u30c9\u306e\u77e5\u8b58\u3092\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>apt, apt-get, aptitude\u306a\u3069\u30d1\u30c3\u30b1\u30fc\u30b8\u7ba1\u7406\u7cfb\u306fapt<\/li>\n\n\n\n<li>\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u95a2\u4fc2\u306fNetworkManager (nmcli, nmtui) \u203bnmtui\u304c\u4fbf\u5229<\/li>\n\n\n\n<li>systemctl (start | stop | status ) \u30b5\u30fc\u30d3\u30b9\u540d<\/li>\n\n\n\n<li>journalctl -u \u30b5\u30fc\u30d3\u30b9\u540d<\/li>\n\n\n\n<li>\u306a\u3069\u306a\u3069<\/li>\n<\/ul>\n\n\n\n<p>\u6539\u3081\u3066\u518d\u69cb\u7bc9\u3057\u3066\u307f\u3066\u3001\u8272\u3005\u8a66\u884c\u932f\u8aa4\u3057\u3066\u305f\u9803\u304b\u3089\u6bd4\u3079\u308b\u3068\u3001\u81ea\u5b85\u30b5\u30fc\u30d0\u30fc\u3067\u4f7f\u3063\u3066\u308b\u6a5f\u80fd\u306f\u3060\u3044\u3076\u7d5e\u3089\u308c\u3066\u304d\u305f\u306a\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u3053\u306e\u30d6\u30ed\u30b0(WordPress)\n<ul class=\"wp-block-list\">\n<li>Apache2, PHP, MySQL(MariaDB)<\/li>\n\n\n\n<li>phpMyAdmin<\/li>\n\n\n\n<li>Memcached<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>\u30e1\u30fc\u30eb\u30b5\u30fc\u30d0\u30fc(\u307b\u307c\u53d7\u4fe1\u5c02\u7528)\n<ul class=\"wp-block-list\">\n<li>Postfix (SMTP)<\/li>\n\n\n\n<li>Dovecot (IMAPS)<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>certbot (Let&#8217;s Encrypt\u8a3c\u660e\u66f8\u66f4\u65b0)<\/li>\n\n\n\n<li>MyDNS\u66f4\u65b0(cron\u3067\u6240\u5b9a\u306eURL\u306b\u30a2\u30af\u30bb\u30b9)<\/li>\n\n\n\n<li>\u30ac\u30ec\u30fc\u30b8\u30b7\u30e3\u30c3\u30bf\u30fc\u958b\u9589\u76e3\u8996(TWELITE)<\/li>\n\n\n\n<li>\u30b5\u30fc\u30d0\u30fc\u7a3c\u50cd\u76e3\u8996(Monitorix)<\/li>\n\n\n\n<li><\/li>\n<\/ul>\n\n\n\n<p>\u3066\u3044\u3046\u304b\u3001\u4f55\u5ea6\u304b\u540c\u3058\u3053\u3068\u8003\u3048\u3066\u308b\u3051\u3069\u3001\u3053\u308c\u3060\u3051\u306e\u305f\u3081\u306b\u81ea\u5b85\u30b5\u30fc\u30d0\u3092\u30e1\u30f3\u30c6\u3057\u7d9a\u3051\u308b\u610f\u5473\u3042\u308b\u304b\u306a\u3042\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u30cf\u30de\u3063\u305f\u3068\u3053\u308d\u2460<\/h2>\n\n\n\n<p>ntpdate\u76f8\u5f53\u306e\u3053\u3068\u3092systemd-timesyncd\u304c\u3084\u3063\u3066\u304f\u308c\u308b\u3089\u3057\u3044\u3093\u3060\u3051\u3069\u3001\u6700\u521d\u30012\u6bb5\u30eb\u30fc\u30bf\u30fc\u306e\u5185\u5074\u3067\u69cb\u7bc9\u3057\u3066\u308b\u6700\u4e2d\u306f\u4f55\u6545\u304bNTP\u30b5\u30fc\u30d0\u3068\u540c\u671f\u3067\u304d\u306a\u304b\u3063\u305f\u3002ntpdate\u305d\u306e\u3082\u306e\u3067\u306f\u540c\u671f\u3067\u304d\u308b\u3093\u3060\u3051\u3069\u3001NTP\u3092\u7c21\u7565\u5316\u3057\u305f\u3089\u3057\u3044SNTP\u3067\u306f\u3069\u3046\u30822\u6bb5\u30eb\u30fc\u30bf\u30fc\u3092\u629c\u3051\u308c\u306a\u304b\u3063\u305f\u3088\u3046\u3060\u3002DS-Lite\u3092\u629c\u3051\u308c\u306a\u304b\u3063\u305f\u306e\u304b\u3082\u3057\u308c\u306a\u3044\u3002<\/p>\n\n\n\n<p>1\u6bb5\u76ee\u306e\u30d5\u30ec\u30c3\u30c4\u5149\u306e\u30db\u30fc\u30e0\u30b2\u30fc\u30c8\u30a6\u30a7\u30a4\u76f4\u4e0b\u306b\u3064\u306a\u3044\u3060\u3089\u3001\u4f55\u4e8b\u3082\u306a\u304b\u3063\u305f\u3088\u3046\u306b\u540c\u671f\u3067\u304d\u305f\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u30cf\u30de\u3063\u305f\u3068\u3053\u308d\u2461<\/h2>\n\n\n\n<p>\u81ea\u5206\u81ea\u8eab\u306eFQDN\u304c\u8a8d\u8b58\u3067\u304d\u306a\u304b\u3063\u305f\u3088\u3046\u3067\u3001WordPress\u306e\u30b5\u30a4\u30c8\u30d8\u30eb\u30b9\u3067\u8272\u3005\u5f15\u3063\u639b\u304b\u3063\u3066\u305f(\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u7cfb\u306e\u30a8\u30e9\u30fc\u3060\u3063\u305f\u304b\u306a)\u3002<\/p>\n\n\n\n<p>\/etc\/hosts\u306b\u81ea\u30b5\u30fc\u30d0\u30fc\u306eFQDN\u3092\u8ffd\u8a18\u3057\u3066\u89e3\u6d88\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u30cf\u30de\u3063\u305f\u3068\u3053\u308d\u2462<\/h2>\n\n\n\n<p>Postfix\u304c\u306a\u304b\u306a\u304b\u8d77\u52d5\u3057\u3066\u304f\u308c\u306a\u304b\u3063\u305f\u3002<\/p>\n\n\n\n<p>\u2463\u306b\u66f8\u3044\u305f\u901a\u308asyslog\u304c\u5165\u3063\u3066\u306a\u3044\u305b\u3044\u3067\u307e\u3068\u3082\u306a\u30ed\u30b0\u304c\u51fa\u3066\u306a\u304f\u3066\u8abf\u67fb\u304c\u96e3\u822a\u3002<\/p>\n\n\n\n<p>\u7d50\u5c40\u3001\/etc\/postfix\/main.cf \u306e\u7d42\u76e4\u3067\u3001&#8221;sendmail_path =&#8221;\u307f\u305f\u3044\u306a\u884c\u304c\u3044\u304f\u3064\u3082\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3055\u308c\u305a\u306b\u6b8b\u3063\u3066\u305f\u306e\u304c\u3044\u3051\u306a\u304b\u3063\u305f\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u30cf\u30de\u3063\u305f\u3068\u3053\u308d\u2463<\/h2>\n\n\n\n<p>Monitorix\u306eMySQL\u63a5\u7d9a\u8a2d\u5b9a\u304c\u53cd\u6620\u3055\u308c\u306a\u3044\u3068\u601d\u3063\u305f\u3089\u3001<a href=\"https:\/\/github.com\/mikaku\/Monitorix\/issues\/47#issuecomment-43669397\" target=\"_blank\" rel=\"noreferrer noopener\">\/etc\/monitorix\/conf.d\/00-debian.conf \u306b\u5909\u306a\u30b5\u30f3\u30d7\u30eb\u8a2d\u5b9a\u304c\u5165\u3063\u3066\u3066\u305d\u3063\u3061\u304c\u512a\u5148\u3055\u308c\u3066\u305f\u3002<\/a><\/p>\n\n\n\n<p>\u4ed6\u306b\u3082\/var\/log\/monitorix\u306b\u8272\u3005\u30a8\u30e9\u30fc\u304c\u51fa\u3066\u3066\u3001\u305d\u3082\u305d\u3082rsyslogd\u304c\u5165\u3063\u3066\u306a\u304b\u3063\u305f\u308a\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u6b8b\u8ab2\u984c(\u69d8\u5b50\u898b\u3059\u308b\u3057\u304b\u306a\u3044\u304b\u2026)<\/h2>\n\n\n\n<p>Monitorix\u306e\u30b0\u30e9\u30d5\u306e\u30da\u30fc\u30b8\u3092\u66f4\u65b0\u3059\u308b\u30bf\u30a4\u30df\u30f3\u30b0\u3067\u30b5\u30fc\u30d0\u30fc\u304c\u6642\u3005\u30cf\u30f3\u30b0\u3059\u308b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Raspberry Pi OS (\u2252Debian)\u306e11(bullseye)\u304b\u308912(bookworm)\u3078\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3057\u3066\u3057\u3070\u3089\u304f\u4f7f\u3063\u3066\u3044\u305f\u3093\u3060\u3051\u3069\u3001\u30ab\u30fc\u30cd\u30eb\u304c\u5fae\u5999\u306b\u53e4\u304b\u3063\u305f\u308a\u3001\u6240\u3005\u7d14\u7c8b\u306abookworm\u3068\u306f\u9055\u3046\u72b6\u614b\u306b [&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":[39,3],"tags":[],"class_list":{"0":"post-8330","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-nucleus","7":"category-3"},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.tapoblog.0t0.jp\/index.php?rest_route=\/wp\/v2\/posts\/8330","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tapoblog.0t0.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tapoblog.0t0.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tapoblog.0t0.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tapoblog.0t0.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=8330"}],"version-history":[{"count":0,"href":"https:\/\/www.tapoblog.0t0.jp\/index.php?rest_route=\/wp\/v2\/posts\/8330\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.tapoblog.0t0.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=8330"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tapoblog.0t0.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=8330"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tapoblog.0t0.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=8330"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}