{"id":133,"date":"2020-05-31T13:52:09","date_gmt":"2020-05-31T04:52:09","guid":{"rendered":"http:\/\/charon.s1005.xrea.com\/?p=133"},"modified":"2020-05-31T13:58:26","modified_gmt":"2020-05-31T04:58:26","slug":"owncloud%e3%81%ae%e3%82%bb%e3%82%ad%e3%83%a5%e3%83%aa%e3%83%86%e3%82%a3%e3%82%bb%e3%83%83%e3%83%88%e3%82%a2%e3%83%83%e3%83%97%e8%ad%a6%e5%91%8a","status":"publish","type":"post","link":"https:\/\/linux-walker.net\/?p=133","title":{"rendered":"ownCloud\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3&#038;\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u8b66\u544a"},"content":{"rendered":"\n<p>ownCloud\u306e\u7ba1\u7406\u2192\u4e00\u822c\u306b\u884c\u304f\u3068\u3053\u3093\u306a\u8b66\u544a\u304c\u51fa\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"has-inline-color has-vivid-red-color\">\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\uff06\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u8b66\u544a<\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li><span class=\"has-inline-color has-vivid-red-color\">\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u306b\u3088\u308b\u30d5\u30a1\u30a4\u30eb\u306e\u30ed\u30c3\u30af\u306f\u3001\u65e2\u5b9a\u306e\u4f4e\u901f\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u3088\u308b\u30ed\u30c3\u30af\u3067\u306f\u306a\u304f\u3001\u30e1\u30e2\u30ea\u30d9\u30fc\u30b9\u306b\u3088\u308b\u30ed\u30c3\u30af\u3092\u4f7f\u7528\u3059\u308b\u3088\u3046\u306b\u69cb\u6210\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u8a73\u7d30\u306b\u3064\u3044\u3066\u306f\u3001<a rel=\"noreferrer noopener\" target=\"_blank\" href=\"https:\/\/doc.owncloud.org\/server\/10.4\/go.php?to=admin-transactional-locking\">\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u2197<\/a>\u00a0\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/span><\/li><\/ul>\n\n\n\n<ul class=\"wp-block-list\"><li><span class=\"has-inline-color has-vivid-red-color\">HTTP \u30d8\u30c3\u30c0 \u306e &#8220;Strict-Transport-Security&#8221; \u304c\u5c11\u306a\u304f\u3068\u3082 &#8220;15552000&#8221; \u79d2\u306b\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002 \u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u3092\u5f37\u5316\u3059\u308b\u305f\u3081\u3001<a href=\"https:\/\/192.168.11.2\/owncloud\/index.php\/settings\/admin?sectionid=general\">\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3Tips<\/a>\u3092\u53c2\u7167\u3057\u3066\u3001HSTS \u3092\u6709\u52b9\u306b\u3059\u308b\u3053\u3068\u3092\u304a\u3059\u3059\u3081\u3057\u307e\u3059\u3002<\/span><\/li><li><span class=\"has-inline-color has-vivid-red-color\">\u30e1\u30e2\u30ea\u30ad\u30e3\u30c3\u30b7\u30e5\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3092\u5411\u4e0a\u3059\u308b\u305f\u3081\u306b\u3001\u53ef\u80fd\u3067\u3042\u308c\u3070 memcache \u3092\u8a2d\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002 \u3088\u308a\u8a73\u3057\u3044\u60c5\u5831\u306b\u3064\u3044\u3066\u306f\u3001<a rel=\"noreferrer noopener\" target=\"_blank\" href=\"https:\/\/doc.owncloud.org\/server\/10.4\/go.php?to=admin-performance\">\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/a><\/span><\/li><\/ul>\n\n\n\n<p><span class=\"has-inline-color has-vivid-red-color\"><a rel=\"noreferrer noopener\" target=\"_blank\" href=\"https:\/\/doc.owncloud.org\/server\/10.4\/go.php?to=admin-install\">\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30ac\u30a4\u30c9 \u2197<\/a>\u3092\u3082\u3046\u4e00\u5ea6\u30c1\u30a7\u30c3\u30af\u3057\u3066\u3001<a href=\"https:\/\/192.168.11.2\/owncloud\/index.php\/settings\/admin?sectionid=general#log-section\">\u30ed\u30b0<\/a>\u00a0\u306b\u3042\u308b\u30a8\u30e9\u30fc\u307e\u305f\u306f\u8b66\u544a\u306b\u3064\u3044\u3066\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/span><\/p>\n\n\n\n<p>\u3057\u304b\u3057\u3001\u4f55\u3092\u3069\u3046\u3057\u308d\u3063\u3066\u306e\u304c\u3088\u304f\u308f\u304b\u3089\u306a\u3044\u306e\u3067\u8abf\u3079\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u6700\u521d\u306e\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u306b\u3088\u308b\u30d5\u30a1\u30a4\u30eb\u306e\u30ed\u30c3\u30af\u306f\u30de\u30cb\u30e5\u30a2\u30eb\u306b\u3088\u308b\u3068\u3001&nbsp;If your ownCloud server still has the File Locking app, you&nbsp;<strong>must<\/strong>&nbsp;visit your Apps page to verify that it is disabled; the File Locking app and Transactional File Locking cannot both operate at the same time. \u3068\u3044\u3046\u3053\u3068\u3060\u3051\u3069\u3001Apps\u306b\u884c\u3063\u3066\u3082\u305d\u3093\u306a\u3082\u3093\u306f\u306a\u3044\u3002\u7d50\u5c40\u4e09\u3064\u3081\u306e\u30e1\u30e2\u30ea\u30ad\u30e3\u30c3\u30b7\u30e5\u3092\u8a2d\u5b9a\u3057\u305f\u3089\u306a\u304a\u308a\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u4e8c\u3064\u3081\u306eStrict-Transport-Security\u306b\u95a2\u3057\u3066\u306f\u3001<a href=\"https:\/\/doc.owncloud.com\/server\/10.4\/admin_manual\/configuration\/server\/harden_server.html#enable-http-strict-transport-security\">https:\/\/doc.owncloud.com\/server\/10.4\/admin_manual\/configuration\/server\/harden_server.html#enable-http-strict-transport-security<\/a> \u306b\u5f93\u3044\u3001\/etc\/apache2\/sites-enabled\/default-ssl.conf \u306e\u6700\u5f8c\u306e\u307b\u3046\u306b<\/p>\n\n\n\n<p><span class=\"has-inline-color has-vivid-cyan-blue-color\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&lt;IfModule mod_headers.c><br>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Header always set Strict-Transport-Security &#8220;max-age=15552000; includeSubDomains&#8221;<br>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&lt;\/IfModule><br>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&lt;\/VirtualHost><br>&lt;\/IfModule><\/span><\/p>\n\n\n\n<p>\u3068\u3057\u3066\u304b\u3089apache2\u3092\u30ea\u30b9\u30bf\u30fc\u30c8\u3057\u3066\u89e3\u6c7a\u3002<\/p>\n\n\n\n<p>\u307f\u3063\u3064\u3081\u306f\u3068\u3066\u3082\u82e6\u52b4\u3057\u307e\u3057\u305f\u3002PHP7.1\u3068PHP7.3\u304c\u6df7\u5728\u3057\u3066\u305f\u3053\u3068\u3082\u3084\u3084\u3053\u3057\u304f\u3057\u3066\u305f\u3051\u3069\u3001\u3068\u308a\u3042\u3048\u305a\u3084\u3063\u305f\u3053\u3068\u3092\u5217\u6319\u3057\u3066\u304a\u304d\u307e\u3059\u3002\u305f\u3076\u3093\u5fc5\u8981\u306a\u3044\u3053\u3068\u3082\u542b\u3081\u3002\u57fa\u672c\u306e\u30de\u30cb\u30e5\u30a2\u30eb\u306f <a href=\"https:\/\/doc.owncloud.org\/server\/10.4\/admin_manual\/configuration\/server\/caching_configuration.html#memcached\">https:\/\/doc.owncloud.org\/server\/10.4\/admin_manual\/configuration\/server\/caching_configuration.html#memcached<\/a> \u3067\u3059\u3002<\/p>\n\n\n\n<p><span class=\"has-inline-color has-vivid-green-cyan-color\">sudo apt install php-apcu redis-server redis<br>sudo phpenmod apcu<br>sudo phpenmod redis<br>sudo systemctl restart apache2<\/span><\/p>\n\n\n\n<p>\u3053\u3053\u3067<br>sudo -u www-data php \/var\/www\/owncloud\/occ integrity:check-core<br>\u3068\u3057\u3066\u4f55\u3082\u30a8\u30e9\u30fc\u304c\u51fa\u306a\u3051\u308c\u3070OK\u3002\u3042\u3068\u306f \/var\/www\/owncloud\/config\/config.php \u306e\u6700\u5f8c\u306b<\/p>\n\n\n\n<p><span class=\"has-inline-color has-vivid-cyan-blue-color\">\u00a0&#8216;memcache.local&#8217; => &#8216;\\OC\\Memcache\\APCu&#8217;,<br>\u00a0&#8216;memcache.locking&#8217; => &#8216;\\OC\\Memcache\\Redis&#8217;,<br>\u00a0&#8216;redis&#8217; => [<br>\u00a0\u00a0\u00a0&#8216;host&#8217; => &#8216;localhost&#8217;,<br>\u00a0\u00a0\u00a0&#8216;port&#8217; => 6379,<br>\u00a0],<\/span><\/p>\n\n\n\n<p>\u3068\u8ffd\u52a0\u3057\u3066\u304a\u3051\u3070\u3044\u3044\u3067\u3059\u3002\u305d\u3057\u3066\u518d\u5ea6apache2\u3092\u30ea\u30b9\u30bf\u30fc\u30c8\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>ownCloud\u306e\u7ba1\u7406\u2192\u4e00\u822c\u306b\u884c\u304f\u3068\u3053\u3093\u306a\u8b66\u544a\u304c\u51fa\u307e\u3059\u3002 \u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\uff06\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u8b66\u544a \u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u306b\u3088\u308b\u30d5\u30a1\u30a4\u30eb\u306e\u30ed\u30c3\u30af\u306f\u3001\u65e2\u5b9a\u306e\u4f4e\u901f\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u3088\u308b\u30ed\u30c3\u30af\u3067\u306f\u306a\u304f\u3001\u30e1\u30e2\u30ea\u30d9\u30fc\u30b9\u306b\u3088\u308b\u30ed\u30c3\u30af\u3092\u4f7f\u7528\u3059\u308b\u3088\u3046\u306b\u69cb\u6210&hellip; <a class=\"more-link\" href=\"https:\/\/linux-walker.net\/?p=133\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">ownCloud\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3&#038;\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u8b66\u544a<\/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],"tags":[],"class_list":["post-133","post","type-post","status-publish","format-standard","hentry","category-owncloud","entry"],"_links":{"self":[{"href":"https:\/\/linux-walker.net\/index.php?rest_route=\/wp\/v2\/posts\/133","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=133"}],"version-history":[{"count":5,"href":"https:\/\/linux-walker.net\/index.php?rest_route=\/wp\/v2\/posts\/133\/revisions"}],"predecessor-version":[{"id":138,"href":"https:\/\/linux-walker.net\/index.php?rest_route=\/wp\/v2\/posts\/133\/revisions\/138"}],"wp:attachment":[{"href":"https:\/\/linux-walker.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=133"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linux-walker.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=133"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linux-walker.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=133"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}