{"id":1445,"date":"2016-10-10T11:56:53","date_gmt":"2016-10-10T02:56:53","guid":{"rendered":"http:\/\/www.shitaki.net\/?p=1445"},"modified":"2016-10-16T11:16:52","modified_gmt":"2016-10-16T02:16:52","slug":"noobsv2-0-%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab","status":"publish","type":"post","link":"https:\/\/shitaki.net\/?p=1445","title":{"rendered":"NOOBSv2.0 \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb"},"content":{"rendered":"<p>NOOBS\u306e\u6700\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u516c\u958b\u3055\u308c\u305f\u3088\u3046\u306a\u306e\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u53c2\u7167\u3057\u305f\u30b5\u30a4\u30c8\u306f\u3001\u4ee5\u4e0b\u3067\u3059\u3002<\/p>\n<p>http:\/\/www.fabshop.jp\/archives\/3356<\/p>\n<p>\u3069\u3046\u308210\u67085\u65e5\u306b\u516c\u958b\u3055\u308c\u305f\u3089\u3057\u3044\u3002<br \/>\n\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u306f\u30011\u6642\u9593\u307b\u3069\u304b\u304b\u308a\u307e\u3057\u305f\u3002ZIP\u30d5\u30a1\u30a4\u30eb\u306e\u30b5\u30a4\u30ba\u306f1.1G\u3067\u3059\u3002<br \/>\n\u5148\u65e5\u8cfc\u5165\u3057\u305fSD\u306b\u30b3\u30d4\u30fc\u3057\u3066\u3001\u8d77\u52d5\u3002\u8a00\u8a9e\u3068\u30ad\u30fc\u30dc\u30fc\u30c9\u3092\u65e5\u672c\u8a9e\u306b\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3002\u518d\u8d77\u52d5\u3057\u305f\u3089\u65e5\u672c\u8a9e\u8868\u793a\u304c\u6700\u521d\u304b\u3089\u51fa\u6765\u307e\u3057\u305f\u3002\uff08\u7d50\u69cb\u611f\u6fc0\u3059\u308b\u72b6\u6cc1\u3067\u3059\u306d\u3002\uff09<\/p>\n<p>update \u3068\u3000upgrade \u3092\u5b9f\u884c\u3002\u3053\u3053\u307e\u3067\u3067\u7d0430\u5206\u3067\u3059\u3002<\/p>\n<p>\u53c2\u8003\u30b5\u30a4\u30c8\u306b\u3088\u308b\u3068\u3001uname\u00a0-sr \u3067\u30d0\u30fc\u30b8\u30e7\u30f3\u78ba\u8a8d\u3002<br \/>\nLinux 4.4.21-v7+\u3000\u3068\u8868\u793a\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n<p>\u66f4\u306b\u00a0sudo rpi-update \u5b9f\u884c\u3068\u306e\u3053\u3068\u3067\u3059\u304c\u3001\u3053\u306e\u60c5\u5831\u306f\u521d\u3081\u3066\u3067\u3059\u3002\u3069\u3046\u3082\u30d5\u30a1\u30fc\u30e0\u30a6\u30a7\u30a2\u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u306e\u3088\u3046\u3067\u3059\u3002\u7d42\u308f\u3063\u305f\u3089\u30ea\u30d6\u30fc\u30c8\u3057\u307e\u3059\u3002<\/p>\n<p>http:\/\/www.fabshop.jp\/archives\/3381<\/p>\n<p>\u7d9a\u3044\u3066\u3001\u30ed\u30fc\u30ab\u30e9\u30a4\u30bc\u30fc\u30b7\u30e7\u30f3\u306e\u8a2d\u5b9a\u3092\u5909\u66f4\u3057\u307e\u3059\u3002<\/p>\n<p>\u30c6\u30b9\u30c8\u7684\u306b\u3001WordPress\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3002<\/p>\n<p>\u65e5\u7d4cLinux2016\u5e745\u6708\u53f7\u306eP78\u3092\u53c2\u7167\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u5fc5\u8981\u306a\u30bd\u30d5\u30c8\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<br \/>\n$ sudo apt-get update<br \/>\n$ sudo apt-get install apache2 php5 libapache2-mod-php5 php5-mysql mysql-server<br \/>\n\u8981\u6c42\u3069\u304a\u308a\u306b<span style=\"color: #ff0000;\">mysql\u306e\u30d1\u30b9\u30ef\u30fc\u30c9<\/span>\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<p>php.ini \u306e\u5909\u66f4<br \/>\n$ sudo nano \/etc\/php5\/apache2\/php.ini<br \/>\n\u672b\u5c3e\u306b\u3000extension=msql.so \u00a0\u3092\u8ffd\u8a18<br \/>\napache\u3092\u518d\u8d77\u52d5<br \/>\n$ sudo systemctl restart apache2<\/p>\n<p>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u4f5c\u6210<br \/>\n$ mysql -u root -p<br \/>\nEnter password: \u00a0 &lt;-<span style=\"color: #ff0000;\">mysql\u306e\u30d1\u30b9\u30ef\u30fc\u30c9<\/span>\u3092\u5165\u529b<br \/>\nmysql&gt; CREATE DATABASE <span style=\"color: #ff0000;\">\u30c7\u30fc\u30bf\u30fc\u30d9\u30fc\u30b9\u540d<\/span>;<br \/>\nmysql&gt; GRANT ALL PRIVILEGES ON <span style=\"color: #ff0000;\">\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u540d<\/span>.* TO &#8216;<span style=\"color: #ff0000;\">\u30e6\u30fc\u30b6\u30fc\u540d<\/span>&#8216;@&#8217;localhost&#8217; IDENTIFIED BY &#8216;<span style=\"color: #ff0000;\">\u30d1\u30b9\u30ef\u30fc\u30c9<\/span>&#8216;;<br \/>\nmysql&gt; exit<\/p>\n<p>WordPress\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<br \/>\n$ wget https:\/\/ja.wordpress.org\/latest-ja.tar.gz<br \/>\n$ tar xvfz latest-ja.tar.gz<\/p>\n<p>\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3059\u308b<br \/>\n$ cd wordpress\/<br \/>\n$ cp wp-config-sample.php wp-config.php<br \/>\n$ chmod 600 wp-config.php<br \/>\n$ nano wp-config.php<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br \/>\ndefine(&#8216;DB_NAME&#8217;, &#8216;<span style=\"color: #ff0000;\">\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u540d<\/span>&#8216;);<br \/>\ndefine(&#8216;DB_USER&#8217;,&#8217;<span style=\"color: #ff0000;\">\u30e6\u30fc\u30b6\u30fc\u540d<\/span>&#8216;);<br \/>\ndefine(&#8216;DB_PASSWORD&#8217;,&#8217;<span style=\"color: #ff0000;\">\u30d1\u30b9\u30ef\u30fc\u30c9<\/span>&#8216;);<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br \/>\n$ cd ..<br \/>\n$ sudo mv wordpress\/ \/var\/www\/html\/<br \/>\n$ sudo chown -R www-data:www-data \/var\/www\/html\/wordpress\/<\/p>\n<p>https:\/\/IP\u30a2\u30c9\u30ec\u30b9\/wordpress\/ \u00a0\u3067\u521d\u671f\u8a2d\u5b9a\u3092\u884c\u3046\u3002<\/p>\n<p>\u4f5c\u3063\u305fSD\u30ab\u30fc\u30c9\u3092Pi ZERO\u306b\u633f\u3057\u3066\u8d77\u52d5\u3002\u3061\u3083\u3093\u3068\u52d5\u4f5c\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>xrdp\u3082\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3057\u305f\u304c\u3001\u3046\u307e\u304f\u52d5\u304d\u307e\u305b\u3093\u3002<br \/>\nVNC\u304c\u6a19\u6e96\u306b\u306a\u3063\u305f\u304b\u3089\u304b\u306a\u3041~\uff1f\uff1f<br \/>\n-&gt; VNC\u30b5\u30fc\u30d0\u30fc\u3068\u7af6\u5408\u3059\u308b\u305d\u3046\u3067\u3059\u3002\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u304b\u3089xrdp\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304f\u3060\u3055\u3044\u3002<br \/>\n$ sudo apt purge realvnc-vnc-server<\/p>\n<p>\u6b21\u306f\u65e5\u672c\u8a9e\u5165\u529b\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3067\u3059\u3002<br \/>\n\u4ee5\u4e0b\u306e\u30b5\u30a4\u30c8\u3092\u53c2\u7167\u306b\u3001\u201cfcitx-mozc\uff08\u30d5\u30a1\u30a4\u30c6\u30a3\u30af\u30b9 \u2013 \u30e2\u30ba\u30af\uff09\u201d\u3063\u3066\u306e\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002\uff08\u8a73\u7d30\u306f\u3001\u30b5\u30a4\u30c8\u3067\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u306d\u3002\uff09<\/p>\n<p>http:\/\/www.fabshop.jp\/archives\/3397<\/p>\n<p>\u307e\u305a\u306f\u3001\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u306e\u5b9f\u65bd\u3002<br \/>\n$ sudo apt-get update<br \/>\n\u7d9a\u3044\u3066\u3001\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<br \/>\nsudo apt-get install fcitx-mozc &#8211;install-recommends -y<br \/>\nfcitx\u306e\u6709\u52b9\u5316\u3057\u3066\u518d\u8d77\u52d5\u3092\u3057\u307e\u3059\u3002<br \/>\n$ im-config -n fcitx<br \/>\n$ sudo reboot<\/p>\n","protected":false},"excerpt":{"rendered":"<p>NOOBS\u306e\u6700\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u516c\u958b\u3055\u308c\u305f\u3088\u3046\u306a\u306e\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3057\u305f\u3002 \u53c2\u7167\u3057\u305f\u30b5\u30a4\u30c8\u306f\u3001\u4ee5\u4e0b\u3067\u3059\u3002 http:\/\/www.fabshop.jp\/archives\/3356 \u3069\u3046\u308210\u67085\u65e5\u306b\u516c\u958b\u3055\u308c\u305f\u3089\u3057\u3044\u3002 \u30c0\u30a6\u30f3\u30ed [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"vkexunit_cta_each_option":"","footnotes":""},"categories":[22],"tags":[],"class_list":["post-1445","post","type-post","status-publish","format-standard","hentry","category-raspberrypi"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/shitaki.net\/index.php?rest_route=\/wp\/v2\/posts\/1445","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/shitaki.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/shitaki.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/shitaki.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/shitaki.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1445"}],"version-history":[{"count":10,"href":"https:\/\/shitaki.net\/index.php?rest_route=\/wp\/v2\/posts\/1445\/revisions"}],"predecessor-version":[{"id":1457,"href":"https:\/\/shitaki.net\/index.php?rest_route=\/wp\/v2\/posts\/1445\/revisions\/1457"}],"wp:attachment":[{"href":"https:\/\/shitaki.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1445"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/shitaki.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1445"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/shitaki.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1445"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}