{"id":23089,"date":"2023-11-12T17:05:49","date_gmt":"2023-11-12T08:05:49","guid":{"rendered":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/?p=23089"},"modified":"2026-02-13T10:27:23","modified_gmt":"2026-02-13T10:27:23","slug":"raspberry-pi-os%e3%81%abphpmyadmin%e3%81%ae%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab","status":"publish","type":"post","link":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/?p=23089","title":{"rendered":"Raspberry Pi OS\u306bphpMyAdmin\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb"},"content":{"rendered":"\n<p>&#27161;&#35352;&#12398;&#20214;&#65292;&#12354;&#12385;&#12371;&#12385;&#12395;&#26360;&#12356;&#12390;&#12354;&#12427;&#12392;&#24605;&#12356;&#12414;&#12377;&#12364;&#65292;&#33258;&#20998;&#12490;&#12452;&#12474;&#12375;&#12383;&#25163;&#38918;&#12434;&#12513;&#12514;&#12387;&#12392;&#12365;&#12414;&#12377;&#65294;<\/p>\n\n\n\n<p>&#21069;&#25552;&#12392;&#12375;&#12390;&#12399;&#65292;&#21029;&#25152;&#12391;&#12377;&#12391;&#12395;phpMyAdmin&#12364;&#21205;&#12356;&#12390;&#12356;&#12383;<a href=\"https:\/\/je1sgh.mydns.jp\/je1sghblog\/?p=23050\" data-type=\"post\" data-id=\"23050\"><code>\/var\/lib\/mysql<\/code>&#20197;&#19979;&#12434;&#12496;&#12452;&#12490;&#12522;&#12540;&#12391;&#25163;&#20803;&#12395;&#25345;&#12387;&#12390;&#12365;&#12390;&#65292;&#12487;&#12540;&#12479;&#12505;&#12540;&#12473;&#12392;&#12375;&#12390;&#27491;&#24120;&#12395;&#21205;&#20316;&#12375;&#12390;&#12356;&#12427;&#29366;&#24907;<\/a>&#12391;&#12354;&#12427;&#12371;&#12392;&#12391;&#12377;&#65294;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>apt install phpmyadmin<\/code><\/pre>\n\n\n\n<p>&#12356;&#12429;&#12356;&#12429;&#20381;&#23384;&#12501;&#12449;&#12452;&#12523;&#12364;&#12452;&#12531;&#12473;&#12488;&#12540;&#12523;&#12373;&#12428;&#65292;&#26368;&#24460;&#12395;dpkg-&#12394;&#12435;&#12392;&#12363;&#12391;&#35373;&#23450;&#12377;&#12427;&#12363;&#12392;&#32862;&#12356;&#12390;&#12365;&#12414;&#12377;&#12364;&#65292;&#12377;&#12391;&#12395;phpmyadmin&#12364;&#21205;&#12367;&#12424;&#12358;&#12395;&#35373;&#23450;&#28168;&#12415;&#12398;MariaDB&#12364;&#21205;&#12356;&#12390;&#12356;&#12427;&#12431;&#12369;&#12391;&#12377;&#12363;&#12425; &ldquo;No&rdquo; &#12391;&#12377;&#65294;<\/p>\n\n\n\n<p>&#12371;&#12428;&#12391;Apache2&#12434;&#20877;&#36215;&#21205;&#12375;&#12390;&#12418;phpMyAdmin&#12399;&#27231;&#33021;&#12375;&#12390;&#12367;&#12428;&#12414;&#12379;&#12435;&#12391;&#12375;&#12383;&#65294;&#35373;&#23450;&#12364;&#36275;&#12426;&#12390;&#12356;&#12414;&#12379;&#12435;&#65294;<\/p>\n\n\n\n<p>&#35373;&#23450;&#12398;&#26368;&#21021;&#12391;&#12377;&#12364;<sup class=\"modern-footnotes-footnote \" data-mfn=\"1\" data-mfn-post-scope=\"000000000000031f0000000000000000_23089\"><a href=\"javascript:void(0)\" role=\"button\" aria-pressed=\"false\" aria-describedby=\"mfn-content-000000000000031f0000000000000000_23089-1\">1<\/a><\/sup><span id=\"mfn-content-000000000000031f0000000000000000_23089-1\" role=\"tooltip\" class=\"modern-footnotes-footnote__note\" tabindex=\"0\" data-mfn=\"1\">&#12354;&#12392;&#12391;&#12418;&#33391;&#12356;&#12398;&#12391;&#12377;&#12364;&#65294;<\/span>&#65292;phpMyAdmin&#12392;&#12356;&#12358;&#12487;&#12501;&#12457;&#12523;&#12488;&#12398;path&#12399;&#25915;&#25731;&#32773;&#12398;&#26684;&#22909;&#12398;&#27161;&#30340;&#12392;&#12394;&#12426;&#12414;&#12377;&#12398;&#12391;&#65292;<code>\/etc\/phpmyadmin\/apache.conf<\/code>&#12398;&#26368;&#21021;&#12398;&#26041;&#12395;&#12354;&#12427;Alias&#12434;&#20182;&#12398;&#20154;&#12364;&#24819;&#20687;&#12375;&#12395;&#12367;&#12356;&#12424;&#12358;&#12395;&#22793;&#12360;&#12414;&#12377;&#65294;<\/p>\n\n\n\n<p>&#27425;&#12395;&#65292;Debian&#30340;&#12395;&#36914;&#12417;&#12427;&#12383;&#12417;&#12395;&#65292;<code>\/etc\/apache2\/conf-available<\/code>&#12395;&#65292;<code>\/etc\/phpmyadmin\/apache.conf<\/code>&#12398;symlink&#12434;&#36028;&#12426;&#12414;&#12377;&#65294;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cd \/etc\/apache2\/conf-available\nln -s \/etc\/phpmyadmin\/apache.conf phpmyadmin.conf<\/code><\/pre>\n\n\n\n<p>&#27425;&#12395;&#65292;Debian&#12425;&#12375;&#12356;&#12467;&#12510;&#12531;&#12489;a2enable&#12434;&#23455;&#34892;&#12375;&#65292;apache2&#12398;&#35373;&#23450;&#12434;reload&#12377;&#12428;&#12400;&#23436;&#20102;&#12391;&#12377;&#65294;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>a2enable phpmyadmin.conf\nsystemctl reload apache2<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">&#27425;&#12399;LDAP<\/h3>\n\n\n\n<p>&#27425;&#12399;&#65292;OpenLDAP&#12434;&#12452;&#12531;&#12473;&#12488;&#12540;&#12523;&#12375;&#12390;&#65292;&#12371;&#12428;&#12418;&#21029;&#25152;&#12398;&#12487;&#12540;&#12479;&#12434;&#12496;&#12452;&#12490;&#12522;&#12540;&#12391;&#31227;&#12375;&#12390;&#12415;&#12414;&#12377;&#65294;&#12371;&#12428;&#12399;x86&#12363;&#12425;ARM&#12395;&#12418;&#12387;&#12390;&#12365;&#12383;&#12392;&#12365;&#12399;&#22833;&#25943;&#12375;&#12383;&#12392;&#35352;&#25014;&#12375;&#12390;&#12356;&#12414;&#12377;&#65294;<\/p>\n\n\n\n<p>slapd&#12364;&#21205;&#12367;&#12424;&#12358;&#12395;&#12394;&#12387;&#12383;&#12425;&#65292;phpLDAPadmin&#12434;&#21205;&#12363;&#12375;&#12390;&#12415;&#12414;&#12377;&#65294;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6a19\u8a18\u306e\u4ef6\uff0c\u3042\u3061\u3053\u3061\u306b\u66f8\u3044\u3066\u3042\u308b\u3068\u601d\u3044\u307e\u3059\u304c\uff0c\u81ea\u5206\u30ca\u30a4\u30ba\u3057\u305f\u624b\u9806\u3092\u30e1\u30e2\u3063\u3068\u304d\u307e\u3059\uff0e \u524d\u63d0\u3068\u3057\u3066\u306f\uff0c\u5225\u6240\u3067\u3059\u3067\u306bphpMyAdmin\u304c\u52d5\u3044\u3066\u3044\u305f\/var\/lib\/mysql\u4ee5\u4e0b\u3092\u30d0\u30a4\u30ca\u30ea\u30fc\u3067\u624b\u5143\u306b\u6301\u3063\u3066\u304d\u3066\uff0c\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3068\u3057\u3066\u6b63\u5e38\u306b\u52d5\u4f5c\u3057\u3066\u3044\u308b\u72b6\u614b\u3067\u3042\u308b\u3053\u3068\u3067\u3059\uff0e \u3044\u308d\u3044\u308d\u4f9d\u5b58\u30d5\u30a1\u30a4\u30eb\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\uff0c\u6700\u5f8c\u306bdpkg-\u306a\u3093\u3068\u304b\u3067\u8a2d\u5b9a\u3059\u308b\u304b\u3068\u805e\u3044\u3066\u304d\u307e\u3059\u304c\uff0c\u3059\u3067\u306bphpmyadmin\u304c\u52d5\u304f\u3088\u3046\u306b\u8a2d\u5b9a\u6e08\u307f\u306eMariaDB\u304c\u52d5\u3044\u3066\u3044\u308b\u308f\u3051\u3067\u3059\u304b\u3089 &#8220;No&#8221; \u3067\u3059\uff0e \u3053\u308c\u3067Apache2\u3092\u518d\u8d77\u52d5\u3057\u3066\u3082phpMyAdmin\u306f\u6a5f\u80fd\u3057\u3066\u304f\u308c\u307e\u305b\u3093\u3067\u3057\u305f\uff0e\u8a2d\u5b9a\u304c\u8db3\u308a\u3066\u3044\u307e\u305b\u3093\uff0e \u8a2d\u5b9a\u306e\u6700\u521d\u3067\u3059\u304c\uff0cphpMyAdmin\u3068\u3044\u3046\u30c7\u30d5\u30a9\u30eb\u30c8\u306epath\u306f\u653b\u6483\u8005\u306e\u683c\u597d\u306e\u6a19\u7684\u3068\u306a\u308a\u307e\u3059\u306e\u3067\uff0c\/etc\/phpmyadmin\/apache.conf\u306e\u6700\u521d\u306e\u65b9\u306b\u3042\u308bAlias\u3092\u4ed6\u306e\u4eba\u304c\u60f3\u50cf\u3057\u306b\u304f\u3044\u3088\u3046\u306b\u5909\u3048\u307e\u3059\uff0e \u6b21\u306b\uff0cDebian\u7684\u306b\u9032\u3081\u308b\u305f\u3081\u306b\uff0c\/etc\/apache2\/conf-available\u306b\uff0c\/etc\/phpmyadmin\/apache.conf\u306esymlink\u3092\u8cbc\u308a\u307e\u3059\uff0e \u6b21\u306b\uff0cDebian\u3089\u3057\u3044\u30b3\u30de\u30f3\u30c9a2enable\u3092\u5b9f\u884c\u3057\uff0capache2\u306e\u8a2d\u5b9a\u3092reload\u3059\u308c\u3070\u5b8c\u4e86\u3067\u3059\uff0e \u6b21\u306fLDAP \u6b21\u306f\uff0cOpenLDAP\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\uff0c\u3053\u308c\u3082\u5225\u6240\u306e\u30c7\u30fc\u30bf\u3092\u30d0\u30a4\u30ca\u30ea\u30fc\u3067\u79fb\u3057\u3066\u307f\u307e\u3059\uff0e\u3053\u308c\u306fx86\u304b\u3089ARM\u306b\u3082\u3063\u3066\u304d\u305f\u3068\u304d\u306f\u5931\u6557\u3057\u305f\u3068\u8a18\u61b6\u3057\u3066\u3044\u307e\u3059\uff0e slapd\u304c\u52d5\u304f\u3088\u3046\u306b\u306a\u3063\u305f\u3089\uff0cphpLDAPadmin\u3092\u52d5\u304b\u3057\u3066\u307f\u307e\u3059\uff0e<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_daextam_enable_autolinks":"1","footnotes":""},"categories":[6,8,27],"tags":[],"class_list":["post-23089","post","type-post","status-publish","format-standard","hentry","category-debian","category-linux","category-rasapberry-pi"],"publishpress_future_action":{"enabled":false,"date":"2026-04-16 00:02:10","action":"change-status","newStatus":"draft","terms":[],"taxonomy":"category","extraData":[]},"publishpress_future_workflow_manual_trigger":{"enabledWorkflows":[]},"_links":{"self":[{"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=\/wp\/v2\/posts\/23089","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=23089"}],"version-history":[{"count":1,"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=\/wp\/v2\/posts\/23089\/revisions"}],"predecessor-version":[{"id":29055,"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=\/wp\/v2\/posts\/23089\/revisions\/29055"}],"wp:attachment":[{"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=23089"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=23089"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=23089"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}