{"id":607,"date":"2015-02-26T14:53:00","date_gmt":"2015-02-26T05:53:00","guid":{"rendered":"https:\/\/wp.zassoul.com\/?p=607"},"modified":"2015-02-26T14:53:00","modified_gmt":"2015-02-26T05:53:00","slug":"%e5%a4%96%e3%81%8b%e3%82%89owncloud%e3%81%b8%e3%82%a2%e3%82%af%e3%82%bb%e3%82%b9%e3%81%99%e3%82%8b","status":"publish","type":"post","link":"https:\/\/wp.zassoul.com\/?p=607","title":{"rendered":"\u5916\u304b\u3089ownCloud\u3078\u30a2\u30af\u30bb\u30b9\u3059\u308b"},"content":{"rendered":"<p>\u5bb6\u306e\u4e2d\u3067\u306f\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u305fownCloud\u3002<br \/>\u5f53\u7136\u5916\u304b\u3089\u3082\u30a2\u30af\u30bb\u30b9\u3057\u305f\u3044\u3002\u305d\u306e\u305f\u3081\u306bDMZ\u5e2f\u306b\u305f\u3066\u305f\u306e\u3060\u3057\u3002<\/p>\n<p>\u307e\u305f, \u5916\u306b\u3055\u3089\u3059\u306e\u3067\u30dd\u30fc\u30c8\u756a\u53f7\u306f\u5909\u3048\u305f\u3044\u3002(\u4f8b\u3048\u30708080\u7b49)<\/p>\n<p>ssl.conf &nbsp;\u3092\u7de8\u96c6\u3002<\/p>\n<p><span style=\"color: #666666; font-size: x-small;\">\/etc\/httpd\/conf.d\/ssl.conf<\/span><br \/><span style=\"color: #666666; font-size: x-small;\">\u30fb\u30fb\u30fb<\/span><br \/><span style=\"color: #666666; font-size: x-small;\">Listen 8080<\/span><br \/><span style=\"color: #666666; font-size: x-small;\">\u30fb\u30fb\u30fb<\/span><br \/><span style=\"color: #666666; font-size: x-small;\">&lt;VirtualHost _default_:8080&gt;<\/span><\/p>\n<p>\u203b \u4e8b\u524d\u306b\u30d6\u30ed\u30fc\u30c9\u30d0\u30f3\u30c9\u30eb\u30fc\u30bf\u5074\u3067Global IP Address\u3068\u30b5\u30fc\u30d0\u306eIP Address\u306eNAT\u8a2d\u5b9a\u306f\u3057\u3066\u304a\u304f<\/p>\n<table align=\"center\" cellpadding=\"0\" cellspacing=\"0\" style=\"margin-left: auto; margin-right: auto; text-align: center;\">\n<tbody>\n<tr>\n<td style=\"text-align: center;\"><a href=\"http:\/\/1.bp.blogspot.com\/-M_Tw75FPKaA\/VO6xkIIoKpI\/AAAAAAAAAC0\/l0bqWHq_05s\/s1600\/owncloud.jpg\" style=\"margin-left: auto; margin-right: auto;\"><img loading=\"lazy\" decoding=\"async\" border=\"0\" src=\"http:\/\/1.bp.blogspot.com\/-M_Tw75FPKaA\/VO6xkIIoKpI\/AAAAAAAAAC0\/l0bqWHq_05s\/s1600\/owncloud.jpg\" height=\"240\" width=\"320\" \/><\/a><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\">\u5927\u96d1\u628a\u306a\u69cb\u6210\u306f\u3053\u3093\u306a<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>httpd\u3092\u518d\u8d77\u52d5\u3057\u3066\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068, \u30dd\u30fc\u30c8\u756a\u53f7\u306f\u5909\u308f\u3063\u305f\u3082\u306e\u306e\u5916\u304b\u3089\u306e\u30a2\u30af\u30bb\u30b9\u304c\u3067\u304d\u306a\u3044\u3002<br \/>\u3067\u304d\u306a\u3044\u3068\u3044\u3046\u304b, SSL\u306e\u78ba\u7acb\u3067\u30c0\u30e1\u306b\u306a\u3063\u3066\u3044\u308b\u307f\u305f\u3044\u3002<br \/>\u30d1\u30b1\u30c3\u30c8\u306e\u30a2\u30c9\u30ec\u30b9\u306f\u5909\u63db\u3055\u308c\u308b\u304c, SSL\u306e\u30d8\u30c3\u30c0\u306b\u7d44\u307f\u8fbc\u307e\u308c\u305f\u30a2\u30c9\u30ec\u30b9\u304c\u5916\u306eGlobal IP Address\u306b\u306a\u3063\u3066\u3044\u3066, \u5b9b\u5148\u9055\u3046\u3058\u3083\u306a\u3044\u306e\u30fc\u3063\u3066\u611f\u3058\u3067\u30b5\u30fc\u30d0\u5074\u304b\u3089\u62d2\u5426\u3089\u308c\u3066\u3044\u308b\u3093\u3060\u308d\u3046\u3002(\u591a\u5206\u30fb\u30fb\u30fb)<\/p>\n<p>\u8abf\u3079\u3066\u307f\u308b\u3068trusted_domain\u3068\u3044\u3046\u8a2d\u5b9a\u304c\u52b9\u3044\u3066\u3044\u308b\u3089\u3057\u304f, \u3053\u3053\u3082\u624b\u3092\u52a0\u3048\u306a\u3044\u3068\u5916\u304b\u3089\u30a2\u30af\u30bb\u30b9\u51fa\u6765\u306a\u3044\u3002<br \/>\/var\/www\/html\/owncloud\/config \u914d\u4e0b\u306b\u3042\u308b&nbsp;config.php \u3092\u7de8\u96c6\u3059\u308b\u3002<\/p>\n<p><span style=\"color: #666666; font-size: x-small;\">\/var\/www\/html\/owncloud\/config\/config.php<\/span><br \/><span style=\"color: #666666; font-size: x-small;\">&lt;?php<\/span><br \/><span style=\"color: #666666; font-size: x-small;\">$CONFIG = array (<\/span><br \/><span style=\"color: #666666; font-size: x-small;\">\u30fb\u30fb\u30fb<\/span><br \/><span style=\"color: #666666; font-size: x-small;\">\u30fb\u30fb\u30fb<\/span><br \/><span style=\"color: #666666; font-size: x-small;\">&nbsp; &#8216;trusted_domains&#8217; =&gt;<\/span><br \/><span style=\"color: #666666; font-size: x-small;\">&nbsp; array (<\/span><br \/><span style=\"color: #666666; font-size: x-small;\">&nbsp; &nbsp; 0 =&gt; &#8216;192.168.2.50&#8217;, <i style=\"font-weight: bold;\">&#8216;globalIPAddress&#8217;, &nbsp; <\/i>\/** &nbsp;\u3053\u308c\u3092\u8ffd\u8a18 **\/<\/span><br \/><span style=\"color: #666666; font-size: x-small;\">&nbsp; ),<\/span><br \/><span style=\"color: #666666; font-size: x-small;\">&nbsp; &#8216;datadirectory&#8217; =&gt; &#8216;\/home\/owncloud&#8217;,<\/span><br \/><span style=\"color: #666666; font-size: x-small;\">&nbsp; &#8216;overwrite.cli.url&#8217; =&gt; &#8216;http:\/\/192.168.30.10\/owncloud&#8217;,<\/span><br \/><span style=\"color: #666666; font-size: x-small;\">&nbsp;\u30fb\u30fb\u30fb<\/span><br \/><span style=\"color: #666666; font-size: x-small;\">\u30fb\u30fb\u30fb<\/span><br \/><span style=\"color: #666666; font-size: x-small;\">&nbsp; &#8216;loglevel&#8217; =&gt; 1,<\/span><br \/><span style=\"color: #666666; font-size: x-small;\">);<\/span><\/p>\n<p>\u3064\u3044\u3067\u306b\u30e6\u30fc\u30b6\u30c7\u30fc\u30bf\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u6307\u5b9a\u3082\u3053\u3053\u3067\u5909\u3048\u3089\u308c\u308b\u304b\u3089\u5909\u3048\u305f\u3002<br \/>\u203b \u3053\u308c\u306f\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u306e\u90fd\u5408\u30fb\u30fb\u30fb<\/p>\n<p>\u3053\u3053\u3092\u5909\u3048\u305f\u5f8c\u306f\u3082\u3068\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u79fb\u884c\u3092\u3084\u3063\u3066\u304a\u304f\u3002<\/p>\n<p><span style=\"color: #666666; font-size: x-small;\">cp -rfa &nbsp; \/var\/www\/html\/owncloud\/data\/* &nbsp;\/home\/owncloud&nbsp;<\/span><\/p>\n<p>\u3067, \u6539\u3081\u3066httpd\u3092\u518d\u8d77\u52d5\u3057\u3066\u5b8c\u4e86\u3002<\/p>\n<p>\u4eca\u5ea6\u306f\u3046\u307e\u304f\u884c\u3063\u305f\u3002<\/p>\n<p>\u3046\u307e\u304f\u884c\u3063\u305f\u3068\u3044\u3063\u3066\u3082, \u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u5074\u3067\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u5916\u7528\uff0f\u4e2d\u7528\u30682\u3064\u4f5c\u3063\u3066\u30a4\u30c1\u30a4\u30c1\u5207\u308a\u66ff\u3048\u306a\u304f\u3066\u306f\u306a\u3089\u306a\u3044\u3002<br \/>\u306a\u3093\u304b\u3044\u3044\u65b9\u6cd5\u3042\u308b\u306e\u304b\u306a\u3002\u307e\u3041, \u30bf\u30c0\u3060\u3057\u6587\u53e5\u306f\u8a00\u3046\u307e\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5bb6\u306e\u4e2d\u3067\u306f\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u305fownCloud\u3002\u5f53\u7136\u5916\u304b\u3089\u3082\u30a2\u30af\u30bb\u30b9\u3057\u305f\u3044\u3002\u305d\u306e\u305f\u3081\u306bDMZ\u5e2f\u306b\u305f\u3066\u305f\u306e\u3060\u3057\u3002 \u307e\u305f, \u5916\u306b\u3055\u3089\u3059\u306e\u3067\u30dd\u30fc\u30c8\u756a\u53f7\u306f\u5909\u3048\u305f\u3044\u3002(\u4f8b\u3048\u30708080\u7b49) ssl.conf &nbsp;\u3092\u7de8\u96c6\u2026 <span class=\"read-more\"><a href=\"https:\/\/wp.zassoul.com\/?p=607\">\u7d9a\u304d\u3092\u8aad\u3080 &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,13,8],"tags":[],"class_list":["post-607","post","type-post","status-publish","format-standard","hentry","category-it","category-linux","category-8"],"_links":{"self":[{"href":"https:\/\/wp.zassoul.com\/index.php?rest_route=\/wp\/v2\/posts\/607","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.zassoul.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.zassoul.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.zassoul.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.zassoul.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=607"}],"version-history":[{"count":0,"href":"https:\/\/wp.zassoul.com\/index.php?rest_route=\/wp\/v2\/posts\/607\/revisions"}],"wp:attachment":[{"href":"https:\/\/wp.zassoul.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=607"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.zassoul.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=607"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.zassoul.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=607"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}