{"id":542,"date":"2017-11-08T22:29:08","date_gmt":"2017-11-08T13:29:08","guid":{"rendered":"http:\/\/sunao-mita.pgw.jp\/blog\/?p=542"},"modified":"2017-11-08T22:29:08","modified_gmt":"2017-11-08T13:29:08","slug":"raspi1b-server-setup1","status":"publish","type":"post","link":"http:\/\/sunao-mita.pgw.jp\/blog\/?p=542","title":{"rendered":"\u4ed5\u5207\u308a\u76f4\u3057\u3066\u3001\u30e9\u30ba\u30d1\u30a41B\u3067 \u5171\u6709\u30b5\u30fc\u30d0\u30fc\u306e\u69cb\u7bc9(1\/)"},"content":{"rendered":"<ol>\n<li style=\"padding-left: 30px;\"><span style=\"color: #333399;\">\u73fe\u72b6\u306e\u74b0\u5883\u78ba\u8a8d\u3068\u4f5c\u696d\u65b9\u91dd\u306e\u691c\u8a0e<\/span><\/li>\n<li style=\"padding-left: 30px;\"><span style=\"color: #333399;\">\u6700\u65b0 raspbian \u306e\u6700\u5c0f\u69cb\u6210\u3092 4GB \u306e SD \u3078\u5c0e\u5165<\/span><\/li>\n<li style=\"padding-left: 30px;\"><span style=\"color: #333399;\">USB\u30cf\u30fc\u30c9\u30c7\u30a3\u30b9\u30af\u306e\u7d44\u8fbc\u307f\u3068\u6700\u4f4e\u9650\u306e\u8a2d\u5b9a\u4f5c\u696d\u3068\u7acb\u4e0a\u3052\u78ba\u8a8d<\/span><\/li>\n<\/ol>\n<p><strong>\u30e9\u30ba\u30d1\u30a43<\/strong>\u3067\u904b\u7528\u3057\u3066\u3044\u305f \u30db\u30fc\u30e0\u5185\u5171\u6709\u30b5\u30fc\u30d0\u30fc\u304c\u505c\u6b62\u3057\u3066\u304b\u3089\u9577\u3044\u6642\u9593\u304c\u7d4c\u3061\u307e\u3057\u305f\u3002\u6709\u308c\u3070\u81ea\u7136\u3067\u7121\u610f\u8b58\u306b\u5229\u7528\u3067\u304d\u3066\u3044\u305f\u74b0\u5883\u3082\u3001\u4e0d\u4fbf\u306a\u304c\u3089\u3082\u4f55\u3068\u304b\u306a\u3063\u3066\u3044\u308b\u308f\u3051\u3067\u3001\u304c\u3080\u3057\u3083\u3089\u306b\u5fa9\u65e7\u3055\u305b\u308b\u6c17\u3082\u306a\u304f\u4eca\u65e5\u306b\u81f3\u3063\u3066\u3044\u307e\u3059\u3002<br \/>\n\u305d\u308c\u306b\u306f\u982d\u306e\u4e2d\u3067\u4f55\u304b\u304c\u5f15\u3063\u304b\u304b\u3063\u3066\u3044\u308b\u3088\u3046\u306a\u3057\u3063\u304f\u308a\u3057\u306a\u3044\u7269\u3092\u611f\u3058\u3066\u3044\u3066\u3001\u305d\u308c\u304c\u305a\u3063\u3068\u6c17\u306b\u306a\u3063\u3066\u3044\u308b\u305f\u3081\u306b\u7a4d\u6975\u7684\u306b\u306a\u308c\u306a\u304b\u3063\u305f\u3053\u3068\u304c\u5927\u304d\u3044\u3068\u601d\u3044\u307e\u3059\u3002\u305d\u306e\u524d\u304b\u3089\u5229\u7528\u3057\u3066\u3044\u305f\u30b5\u30fc\u30d0\u30fc\u306f\u3001\u4f55\u5e74\u3082\u306e\u9577\u671f\u306b\u6e21\u308a\u305a\u3063\u3068\u5b89\u5b9a\u3057\u3066\u5229\u7528\u3057\u3066\u3044\u307e\u3057\u305f\u3002\u4eca\u3067\u3082\u7acb\u3061\u4e0a\u3052\u305f\u307e\u307e\u306b\u306a\u3063\u3066\u3044\u3066\u52d5\u4f5c\u306f\u4eca\u3067\u3082\u7d99\u7d9a\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n\u3067\u3082\u4f55\u3067\u305d\u306e\u30b5\u30fc\u30d0\u30fc\u304c\u4e00\u7dda\u304b\u3089\u9000\u3044\u305f\u304b\u3068\u3044\u3046\u3068\u3001\u53e4\u3044Debian OS \u3067\u7a3c\u50cd\u3057\u3066\u3044\u3066\u3001\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u306f\u5bfe\u8c61\u5916\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u4e00\u6642\u306fWeb\u306e\u516c\u958b\u7528\u30b5\u30fc\u30d0\u30fc\u3068\u3057\u3066\u7a3c\u50cd\u3057\u3066\u3044\u3066\u3001\u5229\u7528\u3057\u3066\u3044\u308b\u671f\u9593\u3082\u9577\u304b\u3063\u305f\u306e\u3067\u3059\u304c\u3001ipv6\u3067\u52d5\u4f5c\u3055\u305b\u3089\u308c\u306a\u3044\u6c7a\u5b9a\u7684\u306a\u554f\u984c\u3092\u306f\u3089\u3093\u3067\u3044\u307e\u3057\u305f\u3002\u305f\u3060\u3001\u30cf\u30fc\u30c9\u69cb\u6210\u304cRAID1\u306e\u30df\u30e9\u30fc\u3067\u30012.5\u30a4\u30f3\u30c1\u30cf\u30fc\u30c9\u30c7\u30a3\u30b9\u30af\u3067\u69cb\u6210\u3055\u308c\u3066\u3044\u3066\u4fe1\u983c\u6027\u304c\u9ad8\u3044\u306e\u304c\u5229\u70b9\u3067\u3057\u305f\u3002\u3086\u304f\u3086\u304f\u306f\u6700\u65b0\u306eDebian OS \u306b\u7f6e\u304d\u63db\u3048\u3089\u308c\u308c\u3070\u3068\u306e\u9858\u3044\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\n\u305d\u3053\u3067\u4ee3\u66ff\u3068\u3057\u3066\u3001\u516c\u958b\u7528Web\u30b5\u30fc\u30d0\u30fc\u306b\u306f\u3001Pogoplug E02 \u30a2\u30e1\u30ea\u30ab\u4ed5\u69d8\u306e\u30d4\u30f3\u30af\u8272\u306e\u6a5f\u7a2e\u306b\u3001Debian OS \u3092\u5165\u308c\u3066\u7a3c\u50cd\u3055\u305b\u307e\u3057\u305f\u3002\u6614\u306e\u5199\u771f\u3092\u898b\u308b\u3068 2011.06 \u9803\u306b\u596e\u95d8\u3057\u3066\u3044\u305f\u3053\u3068\u304c\u8a18\u9332\u306b\u3042\u3063\u3066\u61d0\u304b\u3057\u3044\u3067\u3059\u3002\u3053\u306e\u30b5\u30fc\u30d0\u30fc\u306f\u3001\u5f53\u7136\u3067\u3059\u304c ipv6 \u3067\u3082\u52d5\u4f5c\u3057\u3066\u3044\u307e\u3059\u3002\u975e\u529b\u3067\u9045\u3044\u3067\u3059\u304c\u4eca\u3067\u3082\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u304c\u7d99\u7d9a\u3057\u3066\u884c\u3048\u3066\u73fe\u5f79\u3067\u7a3c\u50cd\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n\u305d\u308c\u3068\u4e26\u884c\u3057\u3066\u5171\u6709\u30b5\u30fc\u30d0\u30fc\u306e\u4ee3\u66ff\u3068\u3057\u3066\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3055\u308c\u305f\u306e\u304c\u3001\u30e9\u30ba\u30d1\u30a43 \u3060\u3063\u305f\u306e\u3067\u3059\u304c\u3001\u52dd\u624b\u306b\u30bb\u30eb\u30d5\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3057\u3066\u7acb\u3061\u4e0a\u304c\u3089\u306a\u304f\u306a\u3063\u3066\u3057\u307e\u3063\u305f\u308f\u3051\u3067\u3059\u3002\u305d\u306e\u4e2d\u3067\u3082\u8efd\u5fae\u306a\u4f55\u5ea6\u304b\u306f\u4fee\u5fa9\u3067\u304d\u305f\u306e\u3067\u3059\u304c\u3001\u6700\u5f8c\u306e\u30a2\u30c3\u30d5\u309c\u30c7\u30fc\u30c8\u304c\u884c\u308f\u308c\u305f\u6642\u306f\u5927\u5e45\u306b\u5909\u66f4\u3055\u308c\u305f\u3089\u3057\u304f\u3001\u4fee\u6b63\u304c\u624b\u306b\u8ca0\u3048\u305a\u3001\u521d\u671f\u304b\u3089\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u306b\u81f3\u3063\u305f\u308f\u3051\u3067\u3059\u3002<br \/>\n\u305d\u306e\u5f8c\u306e\u6700\u521d\u304b\u3089\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3067\u3082 dd \u30b3\u30de\u30f3\u30c9\u306b\u4f9d\u308b\u30b3\u30d4\u30fc\u554f\u984c\u306b\u8d77\u56e0\u3059\u308b\u969c\u5bb3\u304c\u898b\u4ed8\u304b\u308a\u3001\u3042\u307e\u308a\u306b\u3082\u4fe1\u983c\u51fa\u6765\u306a\u3044\u3068\u5224\u65ad\u3059\u308b\u306b\u81f3\u308a\u307e\u3057\u305f\u3002\u5171\u6709\u30b5\u30fc\u30d0\u30fc\u306b\u306f\u4e0d\u8981\u306a\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u74b0\u5883\u306b\u8d77\u56e0\u3057\u3066\u554f\u984c\u304c\u767a\u751f\u3057\u3066\u3044\u308b\u3088\u3046\u306a\u6c17\u304c\u3059\u308b\u306e\u3067\u3001\u4eca\u56de\u306f\u6700\u5c0f\u69cb\u6210\u3067\u4f5c\u6210\u3055\u308c\u3066\u3044\u308b Raspbian \u306e\u6700\u65b0\u7248\u3092\u5229\u7528\u3057\u3001\u4ee5\u524d\u7a3c\u50cd\u3057\u3066\u3044\u3066\u3057\u3070\u3089\u304f\u304a\u8535\u5165\u308a\u3060\u3063\u305f\u53e4\u304f\u975e\u529b\u306a<strong>\u30e9\u30ba\u30d1\u30a41 B<\/strong> \u3092\u73fe\u5f79\u5fa9\u5e30\u3055\u305b\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002<br \/>\n\u30e9\u30ba\u30d1\u30a4\u3082\u6ce8\u76ee\u3092\u6d74\u3073\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u304b\u3089\u306e\u9032\u5316\u304c\u8457\u3057\u304f\u3001\u53e4\u3044\u6614\u306e\u6a5f\u7a2e\u3092\u898b\u308b\u3068\u5f53\u521d\u306f\u3053\u3093\u306a\u4f5c\u308a\u3060\u3063\u305f\u306e\u304b\u3068\u9a5a\u304d\u307e\u3059\u3002\u4f55\u305b microSD \u3067\u306f\u306a\u304f\u3001<strong>\u30d5\u30eb\u30b5\u30a4\u30ba\u306e SD<\/strong> \u30ab\u30fc\u30c9\u304c\u4f7f\u308f\u308c\u3066\u3044\u3066\u3001USB\u30dd\u30fc\u30c8\u3082 \uff12\u500b\u3057\u304b\u7121\u304f\u3001IO\u30dd\u30fc\u30c8\u3082 26\u30d4\u30f3\u3057\u304b\u3042\u308a\u307e\u305b\u3093\u3002\u5358\u306a\u308b\u5171\u6709\u30b5\u30fc\u30d0\u30fc\u3084\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u30b5\u30fc\u30d0\u30fc\u306e\u7528\u9014\u3060\u3051\u306a\u3089 IO\u30dd\u30fc\u30c8\u306b\u4f55\u304b\u3092\u7e4b\u3050\u5fc5\u8981\u3082\u306a\u304f\u7279\u306b\u554f\u984c\u306a\u3044\u3067\u3057\u3087\u3046\u3002<br \/>\n\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u306f\u30014GB \u306e SD \u306b \/boot \u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u3068\u3001\u30b7\u30b9\u30c6\u30e0\u672c\u4f53\u304c\u542b\u307e\u308c\u308b \/ \u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u306e 2\u30d5\u30a1\u30a4\u30eb\u304c\u542b\u307e\u308c\u308b\u5358\u7d14\u306a\u3082\u306e\u3067\u3001NOOBS \u3092\u5229\u7528\u3057\u306a\u3044\u3067\u76f4\u63a5\u66f8\u304d\u8fbc\u307f\u307e\u3059\u3002<br \/>\n<strong><span style=\"color: #333399;\">\u3053\u3053\u304b\u3089\u306e\u64cd\u4f5c\u306f\u3001 Linux \u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u4f5c\u696d\u7528\u306e\u30d1\u30bd\u30b3\u30f3\u4e0a\u3067\u64cd\u4f5c\u3057\u3066\u3044\u307e\u3059\u3002 <\/span><\/strong><br \/>\nRaspberry pi \u306e\u30b5\u30a4\u30c8\u304b\u3089 <strong>raspbian \u306e\u6700\u5c0f\u69cb\u6210<\/strong>\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u3001\u30c1\u30a7\u30c3\u30af\u30b5\u30e0\u3092\u78ba\u8a8d\u3057\u3066\u89e3\u51cd\u3057\u307e\u3057\u305f\u3002<\/p>\n<pre style=\"color: #006060; background: #eeeeff none repeat scroll 0% 0%;\">$ <strong>cat \/home\/sunao\/download\/2017-09-07-raspbian-stretch-lite.zip | shasum -a 256<\/strong>\n<span style=\"color: #0000ff;\">bd2c04b94154c9804cc1f3069d15e984c927b750056dd86b9d86a0ad4be97f12  -<\/span>\n$ <strong>unzip \/home\/sunao\/download\/2017-09-07-raspbian-stretch-lite.zip<\/strong>\n<span style=\"color: #0000ff;\">Archive:  \/home\/sunao\/download\/2017-09-07-raspbian-stretch-lite.zip\ninflating: 2017-09-07-raspbian-stretch-lite.img<\/span><\/pre>\n<p>\u305d\u306e\u307e\u307e\u30e1\u30c7\u30a3\u30a2\u306b dd \u3057\u3066\u3082\u69cb\u308f\u306a\u3044\u3068\u601d\u3044\u307e\u3059\u304c\u3001\u30aa\u30d7\u30b7\u30e7\u30f3 conv=fsync \u3092\u8ffd\u52a0\u3057\u3066\u4e00\u65e6\u30d5\u30a1\u30a4\u30eb\u306b\u66f8\u304d\u51fa\u3057\u307e\u3057\u305f\u3002<\/p>\n<pre style=\"color: #006060; background: #eeeeff none repeat scroll 0% 0%;\">$ <strong>dd if=2017-09-07-raspbian-stretch-lite.img of=raspbian-chg-lite.img conv=fsync<\/strong>\n$ <strong>sudo dd if=\/home\/sunao\/raspbian-chg-lite.img of=\/dev\/mmcblk0 bs=1024<\/strong>\n<span style=\"color: #0000ff;\">1811124+0 \u30ec\u30b3\u30fc\u30c9\u5165\u529b\n1811124+0 \u30ec\u30b3\u30fc\u30c9\u51fa\u529b\n1854590976 bytes (1.9 GB, 1.7 GiB) copied, 834.275 s, 2.2 MB\/s<\/span><\/pre>\n<p>\u305d\u308c\u3092\u30e1\u30c7\u30a3\u30a2 SD \u306b\u305d\u306e\u307e\u307e dd \u30b3\u30d4\u30fc\u3057\u3066\u3001\u30e9\u30ba\u30d1\u30a41 B \u306b\u633f\u5165\u3057\u307e\u3057\u305f\u3002\u5f8c\u306f\u521d\u671f\u7acb\u4e0a\u3052\u52d5\u4f5c\u306e\u305f\u3081\u306b<strong>\u30ad\u30fc\u30dc\u30fc\u30c9<\/strong>\u3001\u30de\u30a6\u30b9\u3001<strong>\u30c6\u30ec\u30d3\u30e2\u30cb\u30bf\u7528HDMI\u30b1\u30fc\u30d6\u30eb<\/strong>\u3001<strong>\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u7528\u306eUTP\u30b1\u30fc\u30d6\u30eb<\/strong>\u3001<strong>\u62e1\u5f35USB\u30cf\u30d6<\/strong>\u306e\u8ffd\u52a0\u3067\u3059\u3002\u672c\u6765\u306f\u30de\u30a6\u30b9\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u3082\u306a\u3044\u306e\u3067\u4e0d\u8981\u3067\u3059\u304c\u4e00\u5fdc\u53d6\u4ed8\u3051\u307e\u3057\u305f\u3002USB\u30cf\u30d6\u3082\u521d\u671f\u306e\u7acb\u4e0a\u3052\u3060\u3051\u306a\u3089\u5fc5\u8981\u304c\u306a\u3044\u306e\u3067\u3059\u304c\u3001USB\u30cf\u30fc\u30c9\u30c7\u30a3\u30b9\u30af\u3092\u53d6\u4ed8\u3051\u3066\u904b\u7528\u3055\u305b\u308b\u3053\u3068\u3092\u8003\u3048\u3066\u3044\u308b\u306e\u3067\u3001\u30e9\u30ba\u30d1\u30a4\u672c\u4f53\u3068\u30cf\u30fc\u30c9\u30c7\u30a3\u30b9\u30af\u306e\u96fb\u6e90\u4f9b\u7d66\u7528\u306b\u5229\u7528\u3057\u307e\u3059\u3002<br \/>\n<a href=\"http:\/\/sunao-mita.pgw.jp\/blog\/wp-content\/uploads\/2017\/11\/20171108_233751-384x512.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"size-full wp-image-548 alignleft\" src=\"http:\/\/sunao-mita.pgw.jp\/blog\/wp-content\/uploads\/2017\/11\/20171108_233751-384x512.jpg\" alt=\"\" width=\"384\" height=\"512\" \/><\/a><span style=\"color: #333399;\"><strong>\u3053\u3053\u304b\u3089\u306f\u30b7\u30b9\u30c6\u30e0\u30e1\u30c7\u30a3\u30a2\u3092\u633f\u5165\u3057\u3066\u3001\u5468\u8fba\u6a5f\u5668\u3092\u63a5\u7d9a\u3057\u305f\u30e9\u30ba\u30d1\u30a4\u306e\u7acb\u4e0a\u3052\u3067\u3059\u3002<\/strong><\/span><br \/>\n\u96fb\u6e90\u6295\u5165\u3059\u308b\u3068\u3001\u30e2\u30cb\u30bf\u306b\u6587\u5b57\u5217\u304c\u6d41\u308c\u308b\u3088\u3046\u306b\u8868\u793a\u3055\u308c\u3066\u3001\u3057\u3070\u3089\u304f\u3059\u308b\u3068\u30ed\u30b0\u30a4\u30f3\u30d7\u30ed\u30f3\u30d7\u30c8\u3067\u5165\u529b\u5f85\u3061\u306b\u306a\u308a\u307e\u3059\u3002\u521d\u671f\u30e6\u30fc\u30b6\u30fc\u304c pi \u3067\u3001\u30d1\u30b9\u30ef\u30fc\u30c9\u304c raspberry \u306b\u306a\u3063\u3066\u3044\u308b\u306e\u3067\u305d\u306e\u307e\u307e\u30ed\u30b0\u30a4\u30f3\u3057\u307e\u3059\u3002<br \/>\n\u6700\u65b0\u306e\u72b6\u614b\u306b\u3059\u308b\u305f\u3081\u306b apt\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3044\u307e\u3059\u3002\u66f4\u65b0\u5bfe\u8c61\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u306f\u5c11\u306a\u304b\u3063\u305f\u306e\u3067\u3059\u304c\u3001\u30e9\u30ba\u30d1\u30a4\u306e\u30e9\u30a4\u30f3\u30ca\u30c3\u30d7\u6bce\u306b\u5bfe\u5fdc\u3055\u305b\u305f\u30c7\u30d0\u30a4\u30b9\u30c9\u30e9\u30a4\u30d0\u7b49\u306eDTB\u30d5\u30a1\u30a4\u30eb\u304c\u591a\u6570\u3042\u308b\u3089\u3057\u304f\u3001\u305d\u308c\u3092\u79fb\u52d5\u3059\u308b\u306e\u304b\u524a\u9664\u3057\u3066\u3044\u308b\u306e\u304b\u4e0d\u660e\u3067\u3059\u304c\u3001\u305d\u306e\u64cd\u4f5c\u3067\u5927\u304d\u306a\u6642\u9593\u3092\u4f7f\u3063\u3066\u3044\u308b\u3088\u3046\u3067\u3057\u305f\u3002<br \/>\n<a href=\"http:\/\/sunao-mita.pgw.jp\/blog\/wp-content\/uploads\/2017\/11\/20171108_233849-384x512.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"size-full wp-image-550 aligncenter\" src=\"http:\/\/sunao-mita.pgw.jp\/blog\/wp-content\/uploads\/2017\/11\/20171108_233849-384x512.jpg\" alt=\"\" width=\"384\" height=\"512\" \/><\/a><br \/>\n\u305d\u3057\u3066\u3001<strong>raspi-config<\/strong> \u3092\u7acb\u4e0a\u3052\u3066\u3001<strong>\u30bf\u30a4\u30e0\u30be\u30fc\u30f3<\/strong>\u3084<strong>\u30ed\u30b1\u30fc\u30b7\u30e7\u30f3<\/strong>\u3001<strong>\u30ad\u30fc\u30dc\u30fc\u30c9<\/strong>\u306e\u8a2d\u5b9a\u7b49\u306e\u76ee\u306b\u4ed8\u304f\u9805\u76ee\u306e\u8a2d\u5b9a\u3092\u4e00\u901a\u308a\u884c\u3044\u3001\u30ea\u30e2\u30fc\u30c8\u64cd\u4f5c\u306e\u305f\u3081\u306b <strong>ssh<\/strong> \u3092\u6709\u52b9\u306b\u3059\u308b\u5909\u66f4\u3092\u52a0\u3048\u3066\u304b\u3089<strong>\u518d\u8d77\u52d5<\/strong>\u3057\u307e\u3057\u305f\u3002<br \/>\n<span style=\"color: #993300;\">\u4f55\u3068\u671f\u5f85\u3057\u3066\u3044\u305f\u518d\u8d77\u52d5\u304c\u51fa\u6765\u305a\u306b\u3001\u96fb\u6e90\u306e\u8d64\u3044LED\u306e\u70b9\u706f\u3060\u3051\u306b\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u3002<\/span><br \/>\n<span style=\"color: #993300;\"><strong><span style=\"color: #333399;\">\u65e9\u901fSD\u3092<\/span><span style=\"color: #333399;\">\u4f5c\u696d\u7528\u306e\u30ce\u30fc\u30c8\u30d1\u30bd\u30b3\u30f3\u306b\u79fb\u3057\u3066\u78ba\u8a8d<\/span><\/strong>\u3059\u308b\u3068\u3001IO\u30a8\u30e9\u30fc\u304c\u51fa\u3066\u3044\u308b\u3088\u3046\u3067\u3001\u305d\u306e\u5f8c\u30b7\u30b9\u30c6\u30e0\u306e\u518d\u66f8\u8fbc\u3082\u884c\u3048\u306a\u3044\u72b6\u6cc1\u3067\u3057\u305f\u3002\u5bb9\u91cf\u306e\u5c0f\u3055\u306aSD\u30e1\u30c7\u30a3\u30a2\u3092\u7121\u7406\u3084\u308a\u5229\u7528\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u30aa\u30fc\u30d0\u30fc\u30d5\u30ed\u30fc\u3057\u305f\u306e\u304b\u3068\u3082\u601d\u3044\u307e\u3057\u305f\u304c\u3001\u3046\u3045\u301c\u3093\u301c\u3088\u304f\u308f\u304b\u308a\u307e\u305b\u3093\u3002<\/span><\/p>\n<pre style=\"color: #006060; background: #eeeeff none repeat scroll 0% 0%;\">$ <strong>sudo fdisk -l \/dev\/mmcblk0<\/strong>\n<span style=\"color: #0000ff;\">fdisk: \/dev\/mmcblk0 \u3092 open \u3067\u304d\u307e\u305b\u3093: <span style=\"color: #ff0000;\">\u5165\u529b\/\u51fa\u529b\u30a8\u30e9\u30fc<\/span>\u3067\u3059<\/span><\/pre>\n<pre style=\"color: #006060; background: #eeeeff none repeat scroll 0% 0%;\">$ <strong>sudo dd if=raspbian-chg-lite.img of=\/dev\/mmcblk0 conv=fsync bs=1024<\/strong>\n<span style=\"color: #0000ff;\">dd: '\/dev\/mmcblk0' \u306e\u66f8\u304d\u8fbc\u307f\u30a8\u30e9\u30fc: <span style=\"color: #ff0000;\">\u5165\u529b\/\u51fa\u529b\u30a8\u30e9\u30fc<\/span>\u3067\u3059\n1+0 \u30ec\u30b3\u30fc\u30c9\u5165\u529b\n0+0 \u30ec\u30b3\u30fc\u30c9\u51fa\u529b\n0 bytes copied, 0.0197685 s, 0.0 kB\/s<\/span><\/pre>\n<p>\u30e1\u30c7\u30a3\u30a2\u306e\u4e0d\u826f\u3068\u304b\u539f\u56e0\u306f\u8272\u3005\u3068\u8003\u3048\u3089\u308c\u307e\u3059\u304c\u3001\u30d5\u30eb\u30b5\u30a4\u30baSD\u3068\u8a00\u3063\u3066\u3082\u3001microSD\u306b\u30a2\u30c0\u30d7\u30bf\u3092\u4f7f\u3063\u3066\u3044\u308b\u3060\u3051\u306a\u306e\u3067\u3001\u63a5\u89e6\u3057\u3066\u3044\u308b\u63a5\u70b9\u304c\u6ca2\u5c71\u3042\u3063\u3066\u63a5\u89e6\u4e0d\u826f\u3082\u4e00\u539f\u56e0\u3068\u3057\u3066\u306f\u8003\u3048\u3089\u308c\u307e\u3059\u3002\u629c\u304d\u5dee\u3057\u3057\u3066\u89e6\u3063\u3066\u3044\u308b\u3068\u6b63\u5e38\u306b\u30de\u30a6\u30f3\u30c8\u3055\u308c\u308b\u3053\u3068\u3082\u3042\u308a\u3001Raspbian \u30b7\u30b9\u30c6\u30e0\u306e\u518d\u66f8\u8fbc\u3082\u7121\u4e8b\u306b\u51fa\u6765\u307e\u3057\u305f\u3002\u30e1\u30c7\u30a3\u30a2\u306f\u3001Kingston 4GB microSD \u3067\u3059\u304c\u3001\u6c17\u306b\u306a\u308b\u306e\u3067\u5225\u306e\u30a2\u30c0\u30d7\u30bf\u306b\u5909\u66f4\u3057\u3066\u30d5\u30eb\u30b5\u30a4\u30baSD\u306b\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<pre style=\"color: #006060; background: #eeeeff none repeat scroll 0% 0%;\">$ <strong>sudo dd if=\/home\/sunao\/raspbian-chg-lite.img of=\/dev\/mmcblk0 bs=1024<\/strong>\n<span style=\"color: #0000ff;\">1811124+0 \u30ec\u30b3\u30fc\u30c9\u5165\u529b\n1811124+0 \u30ec\u30b3\u30fc\u30c9\u51fa\u529b\n1854590976 bytes (1.9 GB, 1.7 GiB) copied, 1043.24 s, 1.8 MB\/s<\/span><\/pre>\n<p><span style=\"color: #333399;\"><strong>\u521d\u671f\u7acb\u4e0a\u3052\u72b6\u614b\u306e\u30b7\u30b9\u30c6\u30e0\u30e1\u30c7\u30a3\u30a2\u304c\u6b32\u3057\u3044\u306e\u3067\u3001\u518d\u3073\u30e9\u30ba\u30d1\u30a4\u306e\u64cd\u4f5c\u3067\u3059\u3002<\/strong><\/span><br \/>\nSD\u30e1\u30c7\u30a3\u30a2\u3092\u30e9\u30ba\u30d1\u30a4\u306b\u633f\u5165\u3057\u3066\u3001\u5358\u7d14\u306a<strong>\u7acb\u4e0a\u3052\u3068\u30b7\u30e3\u30c3\u30c8\u30c0\u30a6\u30f3\u3060\u3051\u3092\u5b9f\u884c<\/strong>\u3057\u3066\u76f4\u5f8c\u306e\u30e1\u30c7\u30a3\u30a2\u3092\u53d6\u308a\u51fa\u3057\u307e\u3059\u3002<br \/>\n<span style=\"color: #333399;\"><strong>\u3053\u308c\u304b\u3089\u306f\u30e1\u30c7\u30a3\u30a2\u3092\u4f5c\u696d\u7528\u306e\u30d1\u30bd\u30b3\u30f3\u306b\u623b\u3057\u3066\u306e\u4f5c\u696d\u3067\u3059\u3002<\/strong><\/span><br \/>\n\u4e00\u5fdc\u4fdd\u967a\u3068\u3057\u3066\u521d\u671f\u7acb\u4e0a\u3052\u5f8c\u306e\u30b7\u30b9\u30c6\u30e0\u30e1\u30c7\u30a3\u30a2\u3092\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3057\u3066\u304a\u304d\u307e\u3059\u3002\uff11\u5ea6\u7acb\u4e0a\u3052\u308b\u3068\u81ea\u52d5\u7684\u306b\u521d\u671f\u5316\u4f5c\u696d\u3068\u3057\u3066\u30e1\u30c7\u30a3\u30a2\u4e00\u676f\u306b\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u304c\u62e1\u5f35\u3055\u308c\u308b\u3088\u3046\u3067\u3059\u3002<\/p>\n<pre style=\"color: #006060; background: #eeeeff none repeat scroll 0% 0%;\">$ <strong>sudo dd if=\/dev\/mmcblk0 of=\/home\/sunao\/raspbian-chg-lite-run.img bs=1024<\/strong>\n<span style=\"color: #0000ff;\">3776512+0 \u30ec\u30b3\u30fc\u30c9\u5165\u529b\n3776512+0 \u30ec\u30b3\u30fc\u30c9\u51fa\u529b\n3867148288 bytes (<span style=\"color: #993300;\">3.9 GB, 3.6 GiB<\/span>) copied, 367.543 s, 10.5 MB\/s<\/span><\/pre>\n<p>\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3059\u308b\u4f5c\u696d\u306f\u969c\u5bb3\u3067\u4e2d\u65ad\u3057\u3066\u3082\u540c\u3058\u3053\u3068\u306e\u7e70\u308a\u8fd4\u3057\u306b\u306a\u308a\u307e\u3059\u304c\u3001\u6700\u7d42\u7684\u306b\u306f\u30eb\u30fc\u30c8\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u304c <strong>USB\u30cf\u30fc\u30c9\u30c7\u30a3\u30b9\u30af<\/strong>\u306b\u306a\u308b\u308f\u3051\u3067\u3001\u3042\u307e\u308a\u4fe1\u7528\u3057\u3066\u3044\u306a\u3044SD\u30e1\u30c7\u30a3\u30a2\u306a\u306e\u3067\u65e9\u3081\u306b\u79fb\u884c\u3059\u308b\u3053\u3068\u3092\u8003\u3048\u307e\u3057\u305f\u3002SD\u5185\u306e\u30eb\u30fc\u30c8\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0 mmcblk0p2 \u3092\u30cf\u30fc\u30c9\u30c7\u30a3\u30b9\u30af(\u4f5c\u696d\u6642\u306f \/dev\/sdb2) \u306b\u30b3\u30d4\u30fc\u3057\u3066\u3001\u305d\u308c\u304b\u3089\u3086\u3063\u304f\u308a\u8003\u3048\u306a\u304c\u3089\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3092\u59cb\u3081\u308b\u3053\u3068\u306b\u3057\u307e\u3059\u3002<br \/>\n\u307e\u305a\u306f\u3001\u30eb\u30fc\u30c8\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u306e\u30b3\u30d4\u30fc\u3068\u3001\u7acb\u4e0a\u3052\u5f8c\u306b\u30eb\u30fc\u30c8\u3068\u3057\u3066\u30de\u30a6\u30f3\u30c8\u3055\u308c\u308b\u3088\u3046\u306b\u3001 <strong><span style=\"color: #000080;\">\/etc\/fstab<\/span><\/strong> \u3092\u66f8\u304d\u63db\u3048\u307e\u3059\u3002<\/p>\n<pre style=\"color: #006060; background: #eeeeff none repeat scroll 0% 0%;\">$ <strong>sudo su -<\/strong>\n# <strong>mount \/dev\/sdb2 \/mnt\/sdb2<\/strong>\n# <strong>mount \/dev\/mmcblk0p2 \/mnt\/work<\/strong>\n# <strong>rsync -a \/mnt\/work\/ \/mnt\/sdb2\/<\/strong>\n# <strong>vi \/mnt\/sdb2\/etc\/fstab\n<\/strong><span style=\"color: #666699;\">proc \/proc proc defaults 0 0\nPARTUUID=3c158d9c-01 \/boot vfat defaults 0 2\n<span style=\"color: #ff0000;\"><strong>\/dev\/sda2<\/strong><\/span> \/ ext4 defaults,noatime 0 1<\/span>\n<span style=\"color: #33cccc;\"># a swapfile is not a swap partition, no line here<\/span>\n<span style=\"color: #33cccc;\"># use dphys-swapfile swap[on|off] for that<\/span>\n<span style=\"color: #33cccc;\">~ \u00a0<\/span>\n# <strong>umount \/mnt\/work<\/strong><\/pre>\n<p>USB\u30cf\u30fc\u30c9\u30c7\u30a3\u30b9\u30af\u304b\u3089\u8aad\u307f\u8fbc\u307e\u305b\u308b\u306b\u306f\u3001\u3082\u3046\u3072\u3068\u3064\u306e\u66f8\u304d\u63db\u3048\u304c\u5fc5\u8981\u3067\u3001SD\u30e1\u30c7\u30a3\u30a2\u306e\u30d6\u30fc\u30c8\u60c5\u5831 <span style=\"color: #000080;\"><strong>cmdline.txt<\/strong><\/span> \u3092\u66f8\u304d\u63db\u3048\u307e\u3059\u3002<\/p>\n<pre style=\"color: #006060; background: #eeeeff none repeat scroll 0% 0%;\"># <strong>mount \/dev\/mmcblk0p1 \/mnt\/work<\/strong>\n# <strong>ls \/mnt\/work<\/strong>\n<span style=\"color: #00ff00;\">COPYING.linux           bcm2708-rpi-b.dtb    bootcode.bin  fixup_db.dat  <span style=\"color: #3366ff;\">overlays<\/span>\nLICENCE.broadcom        bcm2708-rpi-cm.dtb   <strong><span style=\"color: #ff0000;\">cmdline.txt<\/span><\/strong>   fixup_x.dat   start.elf\nLICENSE.oracle          bcm2709-rpi-2-b.dtb  config.txt    issue.txt     start_cd.elf\nbcm2708-rpi-0-w.dtb     bcm2710-rpi-3-b.dtb  fixup.dat     kernel.img    start_db.elf\nbcm2708-rpi-b-plus.dtb  bcm2710-rpi-cm3.dtb  fixup_cd.dat  kernel7.img   start_x.elf\n<\/span>\n# <strong>vi \/mnt\/work\/cmdline.txt<\/strong>\n<span style=\"color: #666699;\">dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=<span style=\"color: #ff0000;\"><strong>\/dev\/sda2<\/strong><\/span> rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait<\/span>\n# <strong>umount \/mnt\/work<\/strong><\/pre>\n<p>\u5b9f\u306f\u4e00\u5ea6 SD\u30e1\u30c7\u30a3\u30a2\u3068 USB\u30cf\u30fc\u30c9\u30c7\u30a3\u30b9\u30af\u3092\u30e9\u30ba\u30d1\u30a4\u306b\u53d6\u4ed8\u3051\u3066\u3001\u8d77\u52d5\u3055\u305b\u305f\u3089\u30e2\u30cb\u30bf\u306b\u4e8c\u884c\u306e\u8868\u793a\u304c\u884c\u308f\u308c\u305f\u3060\u3051\u3067\u9032\u884c\u304c\u505c\u6b62\u3057\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u3002<br \/>\n\u539f\u56e0\u306f\u5358\u7d14\u30df\u30b9\u3067\u3057\u305f\u3002\u4f5c\u696d\u3057\u3066\u3044\u308b\u30ce\u30fc\u30c8\u30d1\u30bd\u30b3\u30f3\u3067\u306f\u3001\uff12\u3064\u76ee\u306e\u30cf\u30fc\u30c9\u30c7\u30a3\u30b9\u30af\u306b\u306a\u308b\u306e\u3067\u3001\u8a72\u5f53\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u304c \/dev\/sd<span style=\"color: #ff0000;\">b<\/span>2 \u3068\u3057\u3066\u5272\u308a\u632f\u3089\u308c\u307e\u3059\u304c\u3001\u30e9\u30ba\u30d1\u30a4\u306b\u88c5\u7740\u3057\u305f\u6642\u306e\u5272\u308a\u632f\u308a\u306f\u3001\u6700\u521d\u306e\u30cf\u30fc\u30c9\u30c7\u30a3\u30b9\u30af\u306b\u306a\u308b\u306e\u3067\u5f53\u7136\u3067\u3059\u304c\u3001 \/dev\/sd<span style=\"color: #ff0000;\">a<\/span>2 \u306b\u306a\u308a\u307e\u3059\u3002\u982d\u304c\u5c45\u7720\u308a\u3057\u3066\u3044\u308b\u3061\u3087\u3063\u3068\u6065\u305a\u304b\u3057\u3044\u7b11\u3063\u3061\u3083\u3046\u3088\u3046\u306a\u30df\u30b9\u3067\u3057\u305f\u3002<br \/>\n<strong><span style=\"color: #333399;\">\u3053\u3053\u304b\u3089\u306f\u3001\u3044\u3088\u3044\u3088\u30e9\u30ba\u30d1\u30a4\u3067\u306e\u672c\u683c\u7684\u306a\u4f5c\u696d\u306b\u306a\u308a\u307e\u3059\u3002<\/span><\/strong><br \/>\n\u30e9\u30ba\u30d1\u30a4\u306e\u96fb\u6e90\u6295\u5165\u3067\u7121\u4e8b\u306b\u7acb\u4e0a\u3052\u51fa\u6765\u307e\u3057\u305f\u306e\u3067\u3001\u5148\u306b\u3082\u66f8\u3044\u3066\u3044\u308b sudo apt update \/ sudo apt upgrade \u3067\u3001\u6700\u65b0\u7248\u3078\u306e\u66f4\u65b0\u3068 sudo raspi-config \u306b\u3088\u308b\u5404\u7a2e\u74b0\u5883\u8a2d\u5b9a\u306e\u5909\u66f4\u3092\u884c\u3044\u307e\u3057\u305f\u3002\u3053\u306e\u4e2d\u3067ssh\u306e\u6709\u52b9\u5316\u3092\u884c\u3063\u3066\u3044\u307e\u3059\u3002\u305d\u3057\u3066\u30ed\u30b1\u30fc\u30eb\u306e\u5909\u66f4\u306b\u3088\u308a\u76f4\u63a5\u306e\u30b3\u30f3\u30bd\u30fc\u30eb\u4f5c\u696d\u3067\u306f\u6587\u5b57\u5316\u3051\u306b\u306a\u308a\u307e\u3059\u304c\u3001ssh\u306b\u3088\u308b\u30ea\u30e2\u30fc\u30c8\u4f5c\u696d\u3067\u306f\u6587\u5b57\u5316\u3051\u3082\u3042\u308a\u3048\u306a\u3044\u306e\u3067\u3001\u3053\u3061\u3089\u3067\u4f5c\u696d\u3092\u7d9a\u3051\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<pre style=\"color: #006060; background: #ffffcc none repeat scroll 0% 0%;\">$ <strong>sudo apt update<\/strong>\n   .... <span style=\"color: #ff00ff;\">\u66f4\u65b0\u5bfe\u8c61\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u304c\u30ea\u30b9\u30c8\u3055\u308c\u307e\u3059<\/span>\n$ <strong>sudo apt -y upgrade<\/strong>\n   .... <span style=\"color: #ff00ff;\">\u30ea\u30b9\u30c8\u3055\u308c\u305f\u5bfe\u8c61\u304c\u9806\u6b21\u66f4\u65b0\u3055\u308c\u307e\u3059\n<\/span><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u73fe\u72b6\u306e\u74b0\u5883\u78ba\u8a8d\u3068\u4f5c\u696d\u65b9\u91dd\u306e\u691c\u8a0e \u6700\u65b0 raspbian \u306e\u6700\u5c0f\u69cb\u6210\u3092 4GB \u306e SD \u3078\u5c0e\u5165 USB\u30cf\u30fc\u30c9\u30c7\u30a3\u30b9\u30af\u306e\u7d44\u8fbc\u307f\u3068\u6700\u4f4e\u9650\u306e\u8a2d\u5b9a\u4f5c\u696d\u3068\u7acb\u4e0a\u3052\u78ba\u8a8d \u30e9\u30ba\u30d1\u30a43\u3067\u904b\u7528\u3057\u3066\u3044\u305f \u30db\u30fc\u30e0\u5185\u5171\u6709\u30b5\u30fc\u30d0\u30fc\u304c\u505c\u6b62\u3057\u3066\u304b\u3089\u9577\u3044 &hellip; <a href=\"http:\/\/sunao-mita.pgw.jp\/blog\/?p=542\" class=\"more-link\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">\u4ed5\u5207\u308a\u76f4\u3057\u3066\u3001\u30e9\u30ba\u30d1\u30a41B\u3067 \u5171\u6709\u30b5\u30fc\u30d0\u30fc\u306e\u69cb\u7bc9(1\/)<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[5,9,13],"tags":[],"_links":{"self":[{"href":"http:\/\/sunao-mita.pgw.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts\/542"}],"collection":[{"href":"http:\/\/sunao-mita.pgw.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/sunao-mita.pgw.jp\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/sunao-mita.pgw.jp\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/sunao-mita.pgw.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=542"}],"version-history":[{"count":0,"href":"http:\/\/sunao-mita.pgw.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts\/542\/revisions"}],"wp:attachment":[{"href":"http:\/\/sunao-mita.pgw.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=542"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/sunao-mita.pgw.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=542"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/sunao-mita.pgw.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=542"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}