{"id":23050,"date":"2023-11-11T21:52:40","date_gmt":"2023-11-11T12:52:40","guid":{"rendered":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/?p=23050"},"modified":"2023-11-11T21:52:40","modified_gmt":"2023-11-11T12:52:40","slug":"slackware-arm%e3%81%a8raspberry-pi-os-64bit%e3%81%aemariadb%e3%81%af%e3%83%90%e3%82%a4%e3%83%8a%e3%83%aa%e3%83%bc%e3%82%b3%e3%83%b3%e3%83%91%e3%83%81","status":"publish","type":"post","link":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/?p=23050","title":{"rendered":"Slackware ARM\u3068Raspberry Pi OS 64bit\u306eMariaDB\u306f\u30d0\u30a4\u30ca\u30ea\u30fc\u30b3\u30f3\u30d1\u30c1"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">&#27161;&#35352;&#12398;&#20214;&#30906;&#35469;&#12375;&#12414;&#12375;&#12383;&#65294;&#12381;&#12358;&#12384;&#12429;&#12358;&#12392;&#12399;&#24605;&#12387;&#12390;&#12356;&#12414;&#12375;&#12383;&#65294;&#36870;&#12395;&#12381;&#12358;&#12391;&#12394;&#12363;&#12387;&#12383;&#12394;&#12425;&#20309;&#12394;&#12435;&#12384;&#12429;&#12358;&#12392;&#12418;&#24605;&#12387;&#12390;&#12356;&#12414;&#12375;&#12383;&#128549;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&#12371;&#12428;&#12391;&#65292;Raspberry Pi 5&#23566;&#20837;&#26178;&#12395;<a href=\"https:\/\/je1sgh.mydns.jp\/je1sghblog\/?p=23036\" data-type=\"post\" data-id=\"23036\">&#12469;&#12540;&#12496;&#12540;&#12398;OS&#12434;Raspberry Pi OS 64bit&#12395;&#12377;&#12427;&#26368;&#22823;&#12398;&#25080;&#24565;<\/a>&#12364;&#25173;&#25325;&#12373;&#12428;&#12414;&#12375;&#12383;&#65294;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&#19968;&#24540;&#30906;&#35469;&#12375;&#12383;&#26041;&#27861;&#12434;&#26360;&#12356;&#12392;&#12365;&#12414;&#12377;&#65294;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Slackware ARM&#12398;MariaDB&#12434;&#65292;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/etc\/rc.d\/rc.mysqld stop<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">&#12391;&#20572;&#27490;&#12373;&#12379;&#12390;&#12363;&#12425;&#65292;\/var\/lib\/mysql&#20197;&#19979;&#12434;tar&#12391;&#22266;&#12417;&#12390;sftp&#12377;&#12427;&#12363;&#65292;rsync&#12434;&#20351;&#12387;&#12390;Raspberry Pi OS 64bit&#12398;&#12510;&#12471;&#12531;&#12398;&#36969;&#24403;&#12394;&#20316;&#26989;&#12487;&#12451;&#12524;&#12463;&#12488;&#12522;&#12540;&#12395;&#32622;&#12356;&#12392;&#12365;&#12414;&#12377;<sup class=\"modern-footnotes-footnote \" data-mfn=\"1\" data-mfn-post-scope=\"000000000000032b0000000000000000_23050\"><a href=\"javascript:void(0)\" role=\"button\" aria-pressed=\"false\" aria-describedby=\"mfn-content-000000000000032b0000000000000000_23050-1\">1<\/a><\/sup><span id=\"mfn-content-000000000000032b0000000000000000_23050-1\" role=\"tooltip\" class=\"modern-footnotes-footnote__note\" tabindex=\"0\" data-mfn=\"1\">Slackware ARM&#12398;MariaDB&#12399;&#20877;&#36215;&#21205;&#12375;&#12390;&#12362;&#12365;&#12414;&#12377;&#65294;<\/span>&#65294;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&#20197;&#19979;&#12399;Raspberry Pi OS 64bit&#20596;&#12391;&#12398;&#20316;&#26989;&#12391;&#12377;&#65294;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>apt install mariadb-server<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">&#12391;&#65292;mariadb&#12398;&#12469;&#12540;&#12496;&#12540;&#12434;&#12452;&#12531;&#12473;&#12488;&#12540;&#12523;&#12375;&#12414;&#12377;&#65294;&#12371;&#12428;&#12384;&#12369;&#12391;MariaDB&#12364;&#21205;&#12365;&#20986;&#12375;&#12414;&#12377;&#12364;&#65292;&#24565;&#12398;&#28858;&#21205;&#20316;&#12434;&#30906;&#35469;&#12375;&#12390;&#12363;&#12425;&#12362;&#12414;&#12376;&#12394;&#12356;&#12434;&#23455;&#34892;&#12375;&#12414;&#12377;&#65294;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl status mariadb\nmysql_secure_installation<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">&#12371;&#12428;&#12391;&#65292;root&#12384;&#12369;&#12525;&#12464;&#12452;&#12531;&#12391;&#12365;&#12427;&#31354;&#12398;&#12487;&#12540;&#12479;&#12505;&#12540;&#12473;&#12364;&#21205;&#12365;&#20986;&#12375;&#12414;&#12377;&#65294;&#12371;&#12371;&#12391;&#19968;&#26086;&#65292;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl stop mariadb<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">&#12391;&#65292;MariaDB&#12434;&#20572;&#27490;&#12373;&#12379;&#12390;&#65292;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cd \/var\/lib\nmv mysql mysql-empty<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">&#12354;&#12392;&#12399;&#65292;Slackware ARM&#12363;&#12425;&#25345;&#12387;&#12390;&#12365;&#12383;&#12487;&#12540;&#12479;&#12434;&#23637;&#38283;&#12375;&#12390;&#12363;&#12425;&#65292;<code>\/var\/lib\/mysql<\/code>&#12392;&#12375;&#12390;&#32622;&#12365;&#12414;&#12377;&#65294;&#24565;&#12398;&#28858;&#65292;<code>\/var\/lib\/mysql<\/code>&#20197;&#19979;&#12398;&#12458;&#12540;&#12490;&#12540;&#12539;&#12464;&#12523;&#12540;&#12503;&#12364;<code>mysql:mysql<\/code>&#12395;&#12394;&#12387;&#12390;&#12356;&#12427;&#12363;&#30906;&#35469;&#12375;&#12390;&#12394;&#12387;&#12390;&#12394;&#12369;&#12428;&#12400;&#20462;&#27491;&#12375;&#12414;&#12377;&#65294;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&#12371;&#12428;&#12391;&#65292;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl start mariadb<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">&#12392;&#12375;&#12390;&#36215;&#21205;&#12434;&#30906;&#35469;&#12375;&#12390;&#65292;&#12354;&#12392;&#12399;Slackware ARM&#12391;&#20351;&#12387;&#12390;&#12356;&#12383;&#12518;&#12540;&#12470;&#12540;&#12391;&#12525;&#12464;&#12452;&#12531;&#12375;&#12390;&#20013;&#36523;&#12434;&#30906;&#35469;&#12375;&#12414;&#12377;&#65294;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&#12467;&#12510;&#12531;&#12489;&#12521;&#12452;&#12531;&#12384;&#12369;&#12391;&#12399;&#19981;&#20415;&#12394;&#12398;&#12391;&#65292;phpMyAdmin&#12434;&#12354;&#12392;&#12391;&#12452;&#12531;&#12473;&#12488;&#12540;&#12523;&#12375;&#12383;&#12356;&#12392;&#24605;&#12356;&#12414;&#12377;&#65294;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6a19\u8a18\u306e\u4ef6\u78ba\u8a8d\u3057\u307e\u3057\u305f\uff0e\u305d\u3046\u3060\u308d\u3046\u3068\u306f\u601d\u3063\u3066\u3044\u307e\u3057\u305f\uff0e\u9006\u306b\u305d\u3046\u3067\u306a\u304b\u3063\u305f\u306a\u3089\u4f55\u306a\u3093\u3060\u308d\u3046\u3068\u3082\u601d\u3063\u3066\u3044\u307e\u3057\u305f\ud83d\ude25 \u3053\u308c\u3067\uff0cRaspberry Pi 5\u5c0e\u5165\u6642\u306b\u30b5\u30fc\u30d0\u30fc\u306eOS\u3092Raspberry Pi OS 64bit\u306b\u3059\u308b\u6700\u5927\u306e\u61f8\u5ff5\u304c\u6255\u62ed\u3055\u308c\u307e\u3057\u305f\uff0e \u4e00\u5fdc\u78ba\u8a8d\u3057\u305f\u65b9\u6cd5\u3092\u66f8\u3044\u3068\u304d\u307e\u3059\uff0e Slackware ARM\u306eMariaDB\u3092\uff0c \u3067\u505c\u6b62\u3055\u305b\u3066\u304b\u3089\uff0c\/var\/lib\/mysql\u4ee5\u4e0b\u3092tar\u3067\u56fa\u3081\u3066sftp\u3059\u308b\u304b\uff0crsync\u3092\u4f7f\u3063\u3066Raspberry Pi OS 64bit\u306e\u30de\u30b7\u30f3\u306e\u9069\u5f53\u306a\u4f5c\u696d\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u30fc\u306b\u7f6e\u3044\u3068\u304d\u307e\u3059\uff0e \u4ee5\u4e0b\u306fRaspberry Pi OS 64bit\u5074\u3067\u306e\u4f5c\u696d\u3067\u3059\uff0e \u3067\uff0cmariadb\u306e\u30b5\u30fc\u30d0\u30fc\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\uff0e\u3053\u308c\u3060\u3051\u3067MariaDB\u304c\u52d5\u304d\u51fa\u3057\u307e\u3059\u304c\uff0c\u5ff5\u306e\u70ba\u52d5\u4f5c\u3092\u78ba\u8a8d\u3057\u3066\u304b\u3089\u304a\u307e\u3058\u306a\u3044\u3092\u5b9f\u884c\u3057\u307e\u3059\uff0e \u3053\u308c\u3067\uff0croot\u3060\u3051\u30ed\u30b0\u30a4\u30f3\u3067\u304d\u308b\u7a7a\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u304c\u52d5\u304d\u51fa\u3057\u307e\u3059\uff0e\u3053\u3053\u3067\u4e00\u65e6\uff0c \u3067\uff0cMariaDB\u3092\u505c\u6b62\u3055\u305b\u3066\uff0c \u3042\u3068\u306f\uff0cSlackware ARM\u304b\u3089\u6301\u3063\u3066\u304d\u305f\u30c7\u30fc\u30bf\u3092\u5c55\u958b\u3057\u3066\u304b\u3089\uff0c\/var\/lib\/mysql\u3068\u3057\u3066\u7f6e\u304d\u307e\u3059\uff0e\u5ff5\u306e\u70ba\uff0c\/var\/lib\/mysql\u4ee5\u4e0b\u306e\u30aa\u30fc\u30ca\u30fc\u30fb\u30b0\u30eb\u30fc\u30d7\u304cmysql:mysql\u306b\u306a\u3063\u3066\u3044\u308b\u304b\u78ba\u8a8d\u3057\u3066\u306a\u3063\u3066\u306a\u3051\u308c\u3070\u4fee\u6b63\u3057\u307e\u3059\uff0e \u3053\u308c\u3067\uff0c \u3068\u3057\u3066\u8d77\u52d5\u3092\u78ba\u8a8d\u3057\u3066\uff0c\u3042\u3068\u306fSlackware ARM\u3067\u4f7f\u3063\u3066\u3044\u305f\u30e6\u30fc\u30b6\u30fc\u3067\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u4e2d\u8eab\u3092\u78ba\u8a8d\u3057\u307e\u3059\uff0e \u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u3060\u3051\u3067\u306f\u4e0d\u4fbf\u306a\u306e\u3067\uff0cphpMyAdmin\u3092\u3042\u3068\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3044\u3068\u601d\u3044\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":"","footnotes":""},"categories":[8,27,29],"tags":[],"class_list":["post-23050","post","type-post","status-publish","format-standard","hentry","category-linux","category-rasapberry-pi","category-systemd"],"publishpress_future_action":{"enabled":false,"date":"2026-05-30 08:57:41","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\/23050","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=23050"}],"version-history":[{"count":0,"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=\/wp\/v2\/posts\/23050\/revisions"}],"wp:attachment":[{"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=23050"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=23050"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=23050"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}