{"id":115,"date":"2020-05-30T11:40:52","date_gmt":"2020-05-30T02:40:52","guid":{"rendered":"http:\/\/charon.s1005.xrea.com\/?p=115"},"modified":"2020-05-30T11:45:00","modified_gmt":"2020-05-30T02:45:00","slug":"owncloud%e3%81%ae%e6%9b%b4%e6%96%b0%e3%81%a8samba%e5%a4%96%e4%bb%98%e3%81%91%e3%82%b9%e3%83%88%e3%83%ac%e3%83%bc%e3%82%b8%e7%b5%90%e5%b1%80%e5%a4%b1%e6%95%97","status":"publish","type":"post","link":"https:\/\/linux-walker.net\/?p=115","title":{"rendered":"ownCloud\u306e\u66f4\u65b0\u3068Samba\u5916\u4ed8\u3051\u30b9\u30c8\u30ec\u30fc\u30b8(\u7d50\u5c40\u5931\u6557)"},"content":{"rendered":"\n<p>\u307e\u305f\u65e5\u304c\u958b\u3044\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u3002<br><br>ownCloud\u306e\u30c7\u30fc\u30bf\u306e\u30c7\u30a3\u30b9\u30af\u3092\u79fb\u52d5\u3057\u305f\u304f\u3001\u3064\u3044\u3067\u306bRaspberry Pi\u3067ownCloud\u309210.2\u304b\u308910.4\u306b\u4e0a\u3052\u3066\u307f\u308b\u3068\u3001PHP\u304c7.0\u3058\u3083\u3060\u3081\u30677.1\u304c\u8981\u308b\u3068\u3044\u3046\u3002Raspbian GNU\/Linux 10\u3058\u30837.1\u306f\u306a\u3044\u3093\u3067\u3059\u3088\u3002\u3053\u3093\u306a\u306e\u3061\u3083\u3093\u3068dependency\u3067\u898b\u3066\u307b\u3057\u3044\u305e\u3002<\/p>\n\n\n\n<p>\u3057\u3087\u3046\u304c\u306a\u3044\u306e\u3067\u3001<a href=\"https:\/\/raspberrypi.stackexchange.com\/questions\/70388\/how-to-install-php-7-1\/70394\">https:\/\/raspberrypi.stackexchange.com\/questions\/70388\/how-to-install-php-7-1\/70394<\/a> \u3092\u53c2\u8003\u306b<\/p>\n\n\n\n<p>In \/etc\/apt\/sources.list change stretch to buster, which is the next-stable\/testing repository.<br>Update System sudo apt-get update &amp;&amp; sudo apt-get upgrade<br>Remove previous PHP sudo apt-get remove &#8216;^php.*&#8217;<br>Install PHP 7.1 sudo apt-get install php7.1-fpm php7.1-cli or sudo apt-get install php7.1<\/p>\n\n\n\n<p>\u3067\u4e0a\u3052\u307e\u3059\u3002ownCloud\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u79fb\u52d5\u3059\u308b\u306e\u306f\u524d\u306f\u306a\u305c\u304b\u3046\u307e\u304f\u884c\u304b\u306a\u304b\u3063\u305f\u306e\u3067\u3001\u30b9\u30af\u30e9\u30c3\u30c1\u304b\u3089\u4f5c\u3063\u3066\u3001\u73fe\u72b6\u306e\u30c7\u30fc\u30bf\u3092\u30a2\u30c3\u30d7\u3059\u308b\u3064\u3082\u308a\u3002\u305d\u3053\u3067 \/var\/www\/owncloud\/config\/config.php \u3092\u6d88\u3057\u3066\u6700\u521d\u304b\u3089\u3084\u308a\u306a\u304a\u3059\u3068&#8230;<br><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"828\" src=\"http:\/\/charon.s1005.xrea.com\/wp-content\/uploads\/2020\/05\/Screenshot_20200524_143350.png\" alt=\"\" class=\"wp-image-116\" srcset=\"https:\/\/linux-walker.net\/wp-content\/uploads\/2020\/05\/Screenshot_20200524_143350.png 768w, https:\/\/linux-walker.net\/wp-content\/uploads\/2020\/05\/Screenshot_20200524_143350-278x300.png 278w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><\/figure>\n\n\n\n<p>\u306a\u3093\u3067\u3053\u3093\u306a\u306b\u3044\u308d\u3044\u308d\u8a00\u308f\u308c\u308b\u3093\u3060\u308d\uff1f<\/p>\n\n\n\n<p>\u3059\u3053\u3057\u3050\u3050\u3063\u3066<br>sudo systemctl reload apache2<br>\u3068\u3084\u308b\u3068\u5c11\u3057\u6e1b\u3063\u305f\u3051\u3069\u3001\u307e\u3060\u672c\u5f53\u306b\u3044\u308d\u3044\u308d\u8db3\u308a\u306a\u3044\u3089\u3057\u3044\u3002<\/p>\n\n\n\n<p>sudo apt install php7.1-zip php7.1-sqlite3 php7.1-xml php7.1-intl \u00a0php7.1-mbstring php7.1-gd php7.1-curl<br>\u3068\u5165\u308c\u305f\u3042\u3068\u3001reload\u3058\u3083\u3060\u3081\u306a\u5834\u5408\u3082\u3042\u308b\u306e\u3067<br>sudo systemctl restart apache2<br>\u3068\u3057\u307e\u3059\u3002<br><br>\u3057\u304b\u3057\u3001<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"360\" height=\"210\" src=\"http:\/\/charon.s1005.xrea.com\/wp-content\/uploads\/2020\/05\/Screenshot_20200524_145051.png\" alt=\"\" class=\"wp-image-117\" srcset=\"https:\/\/linux-walker.net\/wp-content\/uploads\/2020\/05\/Screenshot_20200524_145051.png 360w, https:\/\/linux-walker.net\/wp-content\/uploads\/2020\/05\/Screenshot_20200524_145051-300x175.png 300w\" sizes=\"auto, (max-width: 360px) 100vw, 360px\" \/><\/figure>\n\n\n\n<p>\u3068\u8a00\u308f\u308c\u307e\u3059\u305f\u3057\u304b\u306b\u4eca\u307e\u3067\u306fSQLite\u3060\u3063\u305f\u3051\u3069\u3001\u305d\u3053\u307e\u3067\u8a00\u308f\u308c\u3061\u3083\u3057\u3087\u3046\u304c\u306a\u3044<\/p>\n\n\n\n<p>sudo apt install php7.1-mysql<\/p>\n\n\n\n<p>\u3057\u3066\u304b\u3089<\/p>\n\n\n\n<p>sudo mysql<br>\u3067\u5165\u3063\u305f\u3042\u3068<br>CREATE DATABASE owncloud;<br>GRANT ALL PRIVILEGES ON owncloud.* TO &#8216;owncloud&#8217;@&#8217;localhost&#8217; identified by &#8216;xxxxxxxxx&#8217;;<br>\u306a\u3069\u3068\u3057\u3066\u304a\u304d\u307e\u3059<\/p>\n\n\n\n<p>\u3055\u3066\u3001\u6700\u8fd1\u306eownCloud\u304b\u3089\u5165\u3063\u305f\u3089\u3057\u3044\u3001Samba\u3092\u5916\u90e8\u30b9\u30c8\u30ec\u30fc\u30b8\u306b\u6307\u5b9a\u3059\u308b\u306e\u3092\u8a66\u3057\u307e\u3059\u3002Buffalo\u306eWiFi\u30eb\u30fc\u30bf\u306eUSB\u306bSSD\u3092\u633f\u3057\u3066\u7c21\u6613NAS\u306b\u3057\u3066\u3044\u308b\u306e\u3067\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"525\" src=\"http:\/\/charon.s1005.xrea.com\/wp-content\/uploads\/2020\/05\/Screenshot_20200524_162550-1024x525.png\" alt=\"\" class=\"wp-image-119\" srcset=\"https:\/\/linux-walker.net\/wp-content\/uploads\/2020\/05\/Screenshot_20200524_162550-1024x525.png 1024w, https:\/\/linux-walker.net\/wp-content\/uploads\/2020\/05\/Screenshot_20200524_162550-300x154.png 300w, https:\/\/linux-walker.net\/wp-content\/uploads\/2020\/05\/Screenshot_20200524_162550-768x394.png 768w, https:\/\/linux-walker.net\/wp-content\/uploads\/2020\/05\/Screenshot_20200524_162550.png 1446w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>\u305d\u3046\u3059\u308b\u3068\u3001\u30c8\u30c3\u30d7\u968e\u5c64\u306b\u300cSMB\u300d\u3068\u3057\u3066\u898b\u3048\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"449\" height=\"476\" src=\"http:\/\/charon.s1005.xrea.com\/wp-content\/uploads\/2020\/05\/Screenshot_20200524_163700.png\" alt=\"\" class=\"wp-image-121\" srcset=\"https:\/\/linux-walker.net\/wp-content\/uploads\/2020\/05\/Screenshot_20200524_163700.png 449w, https:\/\/linux-walker.net\/wp-content\/uploads\/2020\/05\/Screenshot_20200524_163700-283x300.png 283w\" sizes=\"auto, (max-width: 449px) 100vw, 449px\" \/><\/figure>\n\n\n\n<p>\u3060\u304c\u3057\u304b\u3057\u3001\u307e\u3060\u7d42\u308f\u3089\u306a\u3044\u3002Ubuntu\u306eownCloud\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u304c\u3059\u3050\u843d\u3061\u308b\u3093\u3067\u3059\u3088\u3002syslog\u306b\u306f\u4ee5\u4e0b\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c<\/p>\n\n\n\n<p>kernel: [119581.377081] traps: owncloud[2942] general protectio<br>n ip:7f490f66f436 sp:7ffed9a6b7e0 error:0 in libowncloudsync.so.2.4.1[7f490f5de000+119<br>000]<\/p>\n\n\n\n<p>\u3057\u3087\u3046\u304c\u306a\u3044\u306e\u3067<br>\/etc\/apt\/sources.list.d \u306b<br><br>deb http:\/\/download.owncloud.org\/download\/repositories\/10.2.1\/Ubuntu_18.04\/ \/<br><br>\u306e\u5185\u5bb9\u3067 owncloud.list \u3092\u5165\u308c\u3066owncloud\u3092\u6700\u65b0\u306b\u3057\u3066\u307f\u305f\u3082\u306e\u306e\u30c0\u30e1<\/p>\n\n\n\n<p>\u7d50\u5c40Ubuntu\u309218.04\u304b\u308920.04\u306b\u4e0a\u3052\u305f\u3089\u89e3\u6c7a\u3057\u307e\u3057\u305f\u3002\u5143\u3005\u4e0a\u3052\u308b\u3064\u3082\u308a\u3060\u3063\u305f\u304b\u3089\u3044\u3044\u3051\u3069\u3055\u3002<\/p>\n\n\n\n<p>\u2605\u2605\u2605\u2605\u2605\u2605\u2605\u2605\u2605\u2605\u2605\u2605\u2605\u2605\u2605\u2605<\/p>\n\n\n\n<p>\u3051\u308c\u3069\u3051\u308c\u3069\u3001\u306a\u3093\u304bSamba\u306e\u30c7\u30a3\u30b9\u30af\u306b\u4e0a\u3052\u3088\u3046\u3068\u3059\u308b\u3068\u3001\u3081\u3063\u3061\u3083\u9045\u304f\u3066\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u304c\u7d9a\u51fa\u3002<\/p>\n\n\n\n<p>\u7d50\u5c40Samba\u306f\u3042\u304d\u3089\u3081\u3001Raspberry Pi\u306bSDD\u3092\u3064\u306a\u304e\u76f4\u3057\u3001\u305d\u308c\u3092ownCloud\u306e\u30c7\u30fc\u30bf\u9818\u57df\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>Buffalo\u306eWiFi\u30eb\u30fc\u30bf\u306b\u306f\u30e1\u30c7\u30a3\u30a2\u30b5\u30fc\u30d0\u6a5f\u80fd\u304c\u3042\u3063\u3066\u4fbf\u5229\u3060\u3063\u305f\u306e\u3060\u3051\u3069\u3001\u307e\u305f\u6614\u306e\u3088\u3046\u306bRaspberry Pi\u306bminidlna\u3092\u5165\u308c\u3066\u97f3\u697d\u30b5\u30fc\u30d0\u306b\u3057\u307e\u3057\u305f\u3002\u3053\u3053\u3067\u3082\u30c8\u30e9\u30d6\u30eb\u304c\u3042\u3063\u305f\u306e\u3067\u307e\u305f\u5225\u306e\u9805\u3067\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u307e\u305f\u65e5\u304c\u958b\u3044\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u3002 ownCloud\u306e\u30c7\u30fc\u30bf\u306e\u30c7\u30a3\u30b9\u30af\u3092\u79fb\u52d5\u3057\u305f\u304f\u3001\u3064\u3044\u3067\u306bRaspberry Pi\u3067ownCloud\u309210.2\u304b\u308910.4\u306b\u4e0a\u3052\u3066\u307f\u308b\u3068\u3001PHP\u304c7.0\u3058\u3083\u3060\u3081\u30677.1\u304c\u8981\u308b\u3068\u3044\u3046\u3002Raspb&hellip; <a class=\"more-link\" href=\"https:\/\/linux-walker.net\/?p=115\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">ownCloud\u306e\u66f4\u65b0\u3068Samba\u5916\u4ed8\u3051\u30b9\u30c8\u30ec\u30fc\u30b8(\u7d50\u5c40\u5931\u6557)<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,11,10],"tags":[],"class_list":["post-115","post","type-post","status-publish","format-standard","hentry","category-owncloud","category-raspberry-pi","category-10","entry"],"_links":{"self":[{"href":"https:\/\/linux-walker.net\/index.php?rest_route=\/wp\/v2\/posts\/115","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linux-walker.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linux-walker.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linux-walker.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linux-walker.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=115"}],"version-history":[{"count":7,"href":"https:\/\/linux-walker.net\/index.php?rest_route=\/wp\/v2\/posts\/115\/revisions"}],"predecessor-version":[{"id":128,"href":"https:\/\/linux-walker.net\/index.php?rest_route=\/wp\/v2\/posts\/115\/revisions\/128"}],"wp:attachment":[{"href":"https:\/\/linux-walker.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=115"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linux-walker.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=115"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linux-walker.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=115"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}