{"id":245,"date":"2015-01-20T17:49:13","date_gmt":"2015-01-20T08:49:13","guid":{"rendered":"https:\/\/www.mubit.co.jp\/pb-blog\/?p=245"},"modified":"2015-04-10T10:22:50","modified_gmt":"2015-04-10T01:22:50","slug":"owncloud%e3%81%a7%e3%82%aa%e3%83%96%e3%82%b8%e3%82%a7%e3%82%af%e3%83%88%e3%82%b9%e3%83%88%e3%83%ac%e3%83%bc%e3%82%b8%e3%82%92%e4%bd%bf%e3%81%86%ef%bc%88%ef%bd%87%ef%bd%8d%ef%bd%8f%e3%82%af%e3%83%a9","status":"publish","type":"post","link":"https:\/\/www.mubit.co.jp\/pb-blog\/?p=245","title":{"rendered":"ownCloud\u3067\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u30b9\u30c8\u30ec\u30fc\u30b8\u3092\u4f7f\u3046\uff08\uff27\uff2d\uff2f\u30af\u30e9\u30a6\u30c9\u306e\u5834\u5408\uff09"},"content":{"rendered":"<p>Powered BLUE\u4e0a\u306eownCloud\u304b\u3089\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u30fb\u30b9\u30c8\u30fc\u30ec\u30b8\u3092\u4f7f\u3046\u5834\u5408\u306e\u8a2d\u5b9a\u3067\u3059\u3002ownCloud\u306e\u904b\u7528\u5834\u6240\u306f\u3069\u3053\u3067\u3082\u69cb\u3044\u307e\u305b\u3093\u3002<\/p>\n<p>\u69cb\u6210\u4f8b<\/p>\n<ul>\n<li>ownCloud \u30b5\u30fc\u30d0\u30fc \u00a0 IP=192.168.1.2\u3000\uff08\u30ed\u30fc\u30ab\u30eb\uff09<\/li>\n<li>Object Storage\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u3000 GMO\u30af\u30e9\u30a6\u30c9<\/li>\n<\/ul>\n<p>Amazon S3\u3067\u306fAmazon \u306eGUI\u304b\u3089Bucket\u3092\u751f\u6210\u51fa\u6765\u307e\u3059\u304c\u3001GUI\u304b\u3089Bucket\u3092\u751f\u6210\u3067\u304d\u306a\u3044\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u30b9\u30c8\u30ec\u30fc\u30b8\u30b5\u30fc\u30d3\u30b9\uff08GMO\u30af\u30e9\u30a6\u30c9\u306a\u3069\uff09\u3092\u5229\u7528\u306e\u5834\u5408\u306b\u306f\u3001\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u306e\u64cd\u4f5c\u3067\u3001\u4e8b\u524d\u306bObject Storage\u7528\u306eBucket\u3092\u751f\u6210\u3057\u3066\u304a\u304f\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<h4>GMO\u30af\u30e9\u30a6\u30c9\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u30b9\u30c8\u30ec\u30fc\u30b8\u306e\u5834\u5408<\/h4>\n<p>S3\u30b3\u30de\u30f3\u30c9\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/p>\n<p>ownCloud\u3092\u904b\u7528\u3057\u3066\u3044\u308bPowered BLUE\u30b5\u30fc\u30d0\u30fc\u306bS3\u30b3\u30de\u30f3\u30c9\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002S3\u95a2\u9023\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5\u306f\u3001GMO\u30af\u30e9\u30a6\u30c9\u793e\u306eHP\u304b\u3089\u306e\u629c\u7c8b\u3067\u3059<\/p>\n<p># yum install python-dateutil python-magic<\/p>\n<p># wget http:\/\/downloads.sourceforge.net\/project\/s3tools\/s3cmd\/1.5.0-rc1\/s3cmd-1.5.0-rc1.tar.gz<\/p>\n<p># tar xvf s3cmd-1.5.0-rc1.tar.gz<\/p>\n<p># cd s3cmd-1.5.0-rc1<\/p>\n<p># python setup.py install<\/p>\n<p># s3cmd \u00a0 &#8211; &#8211;configure<\/p>\n<pre>Enter new values or accept defaults in brackets with Enter.\r\nRefer to user manual for detailed description of all options.\r\n\r\nAccess key and Secret key are your identifiers for Amazon S3. Leave them empty for using the env variables.\r\nAccess Key: &lt;- \u30a2\u30af\u30bb\u30b9\u30ad\u30fc\u3092\u5165\u529b\r\nSecret Key: &lt;- \u30b7\u30fc\u30af\u30ec\u30c3\u30c8\u30ad\u30fc\u3092\u5165\u529b\r\n\r\nEncryption password is used to protect your files from reading\r\nby unauthorized persons while in transfer to S3\r\nEncryption password: &lt;-\u300cEnter\u300d\r\nPath to GPG program [\/usr\/bin\/gpg]: &lt;-\u300cEnter\u300d\r\n\r\nWhen using secure HTTPS protocol all communication with Amazon S3\r\nservers is protected from 3rd party eavesdropping. This method is\r\nslower than plain HTTP and can't be used if you're behind a proxy\r\nUse HTTPS protocol [No]: &lt;-\u300cEnter\u300d\r\n\r\nOn some networks all internet access must go through a HTTP proxy.\r\nTry setting it here if you can't connect to S3 directly\r\nHTTP Proxy server name: &lt;-\u300cEnter\u300d\r\n\r\nNew settings:\r\n  Access Key: xxx\r\n  Secret Key: xxx\r\n  Encryption password:\r\n  Path to GPG program: \/usr\/bin\/gpg\r\n  Use HTTPS protocol: False\r\n  HTTP Proxy server name:\r\n  HTTP Proxy server port: 0\r\n\r\nTest access with supplied credentials? [Y\/n] n\r\n\r\nSave settings? [y\/N] y\r\nConfiguration saved to '\/root\/.s3cfg'<\/pre>\n<p>\u203b\u30a2\u30af\u30bb\u30b9\u30ad\u30fc\u3068\u30b7\u30fc\u30af\u30ec\u30c3\u30c8\u30ad\u30fc\u306fGOM\u30af\u30e9\u30a6\u30c9\u306e\u30dd\u30fc\u30bf\u30eb\u753b\u9762\u3088\u308a\u3054\u78ba\u8a8d\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u306f\u30b3\u30de\u30f3\u30c9\u3067\u8a2d\u5b9a\u3067\u304d\u306a\u3044\u305f\u3081\u3001\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u66f8\u304d\u63db\u3048\u307e\u3059\u3002<\/p>\n<p>\u30db\u30fc\u30e0\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n<div class=\"columnframe_command\">\n<div class=\"column_command\">\n<p># cd<\/p>\n<\/div>\n<\/div>\n<p>\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6\u3057\u3001\u300camazonaws.com\u300d\u3092\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u306e\u30c9\u30e1\u30a4\u30f3\u540d\u306b\u7f6e\u304d\u63db\u3048\u307e\u3059\u3002\u3053\u3053\u3067\u306f\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u3092st.gmocloudtest.com\u3068\u3057\u307e\u3059\u3002<\/p>\n<div class=\"columnframe_command\">\n<div class=\"column_command\">\n<p># vi .s3cfg<\/p>\n<\/div>\n<\/div>\n<p>&lt;\u5909\u66f4\u524d&gt;<br \/>\nhost_base = s3.amazonaws.com<br \/>\nhost_bucket = %(bucket)s.s3.amazonaws.com<\/p>\n<p>&lt;\u5909\u66f4\u5f8c&gt;<br \/>\nhost_base = st.gmocloudtest.com<br \/>\nhost_bucket = %(bucket)s.st.gmocloudtest.com<\/p>\n<p>\u5b9f\u969b\u306b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u30ea\u30b9\u30c8\u3092\u53d6\u5f97\u3057\u3066\u3001\u52d5\u4f5c\u78ba\u8a8d\u3092\u3057\u307e\u3059\u3002<\/p>\n<div class=\"columnframe_command\">\n<div class=\"column_command\">\n<p># s3cmd \u3000ls<\/p>\n<\/div>\n<\/div>\n<p>\u6700\u521d\u306f\u7a7a\u306a\u306e\u3067\u3001\u4f55\u3082\u8868\u793a\u3055\u308c\u307e\u305b\u3093\u3002\u30a8\u30e9\u30fc\u304c\u51fa\u306a\u3051\u308c\u3070OK\u3067\u3059\u3002<\/p>\n<p>ownCloud\u306eGUI\u304b\u3089\u306e\u8a2d\u5b9a\u3000\u5916\u90e8\u30b9\u30c8\u30ec\u30fc\u30b8\uff08external storage support )\u3092\u6709\u52b9\u306b\u3057\u307e\u3059<a href=\"https:\/\/www.mubit.co.jp\/pb-blog\/wp-content\/uploads\/2015\/01\/owncloud-external-storage-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-249\" src=\"https:\/\/www.mubit.co.jp\/pb-blog\/wp-content\/uploads\/2015\/01\/owncloud-external-storage-1-1024x621.png\" alt=\"owncloud-external-storage-1\" width=\"625\" height=\"379\" srcset=\"https:\/\/www.mubit.co.jp\/pb-blog\/wp-content\/uploads\/2015\/01\/owncloud-external-storage-1-1024x621.png 1024w, https:\/\/www.mubit.co.jp\/pb-blog\/wp-content\/uploads\/2015\/01\/owncloud-external-storage-1-300x182.png 300w, https:\/\/www.mubit.co.jp\/pb-blog\/wp-content\/uploads\/2015\/01\/owncloud-external-storage-1-624x378.png 624w, https:\/\/www.mubit.co.jp\/pb-blog\/wp-content\/uploads\/2015\/01\/owncloud-external-storage-1.png 1031w\" sizes=\"auto, (max-width: 625px) 100vw, 625px\" \/><\/a><\/p>\n<p>Amazon S3 \u4e92\u63db\u30b9\u30c8\u30ec\u30fc\u30b8\u3092\u9078\u629e\u3057\u307e\u3059<\/p>\n<ul>\n<li>\u30d5\u30a9\u30eb\u30c0\u540d\u3000(\u4f8b\u3000gmo-cloud)<\/li>\n<li>\u30a2\u30af\u30bb\u30b9\u30ad\u30fc\u3000\uff08\u6307\u5b9a\u306e\u5024\uff1aGMO\u30af\u30e9\u30a6\u30c9\u306e\u30dd\u30fc\u30bf\u30eb\u753b\u9762\u3067\u78ba\u8a8d\uff09<\/li>\n<li>\u30b7\u30fc\u30af\u30ec\u30c3\u30c8\u30ad\u30fc\u3000\uff08\u6307\u5b9a\u306e\u5024\uff1aGMO\u30af\u30e9\u30a6\u30c9\u306e\u30dd\u30fc\u30bf\u30eb\u753b\u9762\u3067\u78ba\u8a8d\uff09<\/li>\n<li>\u30d1\u30b1\u30c3\u30c8\u540d\u3000\uff08st.gmocloud.com\uff09<\/li>\n<li>\u30db\u30b9\u30c8\u540d\u3000\uff08st.gmocloud.com\uff09<\/li>\n<\/ul>\n<p>\u3092\u5165\u529b\u3057\u307e\u3059<a href=\"https:\/\/www.mubit.co.jp\/pb-blog\/wp-content\/uploads\/2015\/01\/owncloud-external-storage-21.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-251\" src=\"https:\/\/www.mubit.co.jp\/pb-blog\/wp-content\/uploads\/2015\/01\/owncloud-external-storage-21-1024x637.png\" alt=\"owncloud-external-storage-2\" width=\"625\" height=\"388\" srcset=\"https:\/\/www.mubit.co.jp\/pb-blog\/wp-content\/uploads\/2015\/01\/owncloud-external-storage-21-1024x637.png 1024w, https:\/\/www.mubit.co.jp\/pb-blog\/wp-content\/uploads\/2015\/01\/owncloud-external-storage-21-300x186.png 300w, https:\/\/www.mubit.co.jp\/pb-blog\/wp-content\/uploads\/2015\/01\/owncloud-external-storage-21-624x388.png 624w, https:\/\/www.mubit.co.jp\/pb-blog\/wp-content\/uploads\/2015\/01\/owncloud-external-storage-21.png 1029w\" sizes=\"auto, (max-width: 625px) 100vw, 625px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>\u8a2d\u5b9a\u304c\u6b63\u3057\u3044\u5834\u5408\u306b\u306f\u3001\u5916\u90e8\u30b9\u30c8\u30ec\u30fc\u30b8\u30d5\u30a9\u30eb\u30c0\u306e\u5de6\u5074\u306e\u3007\u304c\u30b0\u30ea\u30fc\u30f3\u306b\u5909\u308f\u308a\u307e\u3059<a href=\"https:\/\/www.mubit.co.jp\/pb-blog\/wp-content\/uploads\/2015\/01\/owncloud-external-storage-31.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-253\" src=\"https:\/\/www.mubit.co.jp\/pb-blog\/wp-content\/uploads\/2015\/01\/owncloud-external-storage-31-1024x979.png\" alt=\"owncloud-external-storage-3\" width=\"625\" height=\"597\" srcset=\"https:\/\/www.mubit.co.jp\/pb-blog\/wp-content\/uploads\/2015\/01\/owncloud-external-storage-31-1024x979.png 1024w, https:\/\/www.mubit.co.jp\/pb-blog\/wp-content\/uploads\/2015\/01\/owncloud-external-storage-31-300x286.png 300w, https:\/\/www.mubit.co.jp\/pb-blog\/wp-content\/uploads\/2015\/01\/owncloud-external-storage-31-624x596.png 624w, https:\/\/www.mubit.co.jp\/pb-blog\/wp-content\/uploads\/2015\/01\/owncloud-external-storage-31.png 1032w\" sizes=\"auto, (max-width: 625px) 100vw, 625px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>ownCloud\u306eGUI\u3078\u30a2\u30af\u30bb\u30b9<\/p>\n<p>\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u30b9\u30c8\u30ec\u30fc\u30b8\u306e\u30d5\u30a9\u30eb\u30c0\u3000gmo-cloud\u00a0 \u304c\u8868\u793a\u3055\u308c\u3066\u3044\u307e\u3059<a href=\"https:\/\/www.mubit.co.jp\/pb-blog\/wp-content\/uploads\/2015\/01\/owncloud-external-storage-41.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-260\" src=\"https:\/\/www.mubit.co.jp\/pb-blog\/wp-content\/uploads\/2015\/01\/owncloud-external-storage-41.png\" alt=\"owncloud-external-storage-4\" width=\"1017\" height=\"647\" srcset=\"https:\/\/www.mubit.co.jp\/pb-blog\/wp-content\/uploads\/2015\/01\/owncloud-external-storage-41.png 1017w, https:\/\/www.mubit.co.jp\/pb-blog\/wp-content\/uploads\/2015\/01\/owncloud-external-storage-41-300x190.png 300w, https:\/\/www.mubit.co.jp\/pb-blog\/wp-content\/uploads\/2015\/01\/owncloud-external-storage-41-624x396.png 624w\" sizes=\"auto, (max-width: 1017px) 100vw, 1017px\" \/><\/a><\/p>\n<p>\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u30b9\u30c8\u30ec\u30fc\u30b8\u306e\u30d5\u30a9\u30eb\u30c0\u3000gmo-cloud \u3000\u306b\u30d5\u30a1\u30a4\u30eb\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9<a href=\"https:\/\/www.mubit.co.jp\/pb-blog\/wp-content\/uploads\/2015\/01\/owncloud-external-storage-5.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-264\" src=\"https:\/\/www.mubit.co.jp\/pb-blog\/wp-content\/uploads\/2015\/01\/owncloud-external-storage-5-1024x405.png\" alt=\"owncloud-external-storage-5\" width=\"625\" height=\"247\" srcset=\"https:\/\/www.mubit.co.jp\/pb-blog\/wp-content\/uploads\/2015\/01\/owncloud-external-storage-5-1024x405.png 1024w, https:\/\/www.mubit.co.jp\/pb-blog\/wp-content\/uploads\/2015\/01\/owncloud-external-storage-5-300x118.png 300w, https:\/\/www.mubit.co.jp\/pb-blog\/wp-content\/uploads\/2015\/01\/owncloud-external-storage-5-624x247.png 624w, https:\/\/www.mubit.co.jp\/pb-blog\/wp-content\/uploads\/2015\/01\/owncloud-external-storage-5.png 1207w\" sizes=\"auto, (max-width: 625px) 100vw, 625px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>\u203b\u672c\u8a18\u4e8b\u306e\u5185\u5bb9\u306f\u3001\u6d3b\u7528\u65b9\u6cd5\u306e\u4f8b\u3092\u793a\u3057\u305f\u3082\u306e\u3067\u3042\u308a\u3001\u3054\u5229\u7528\uff06\u8a2d\u5b9a\u306a\u3069\u306b\u969b\u3057\u3066\u306f\u3001\u3054\u5229\u7528\u8005\u69d8\u306e\u8cac\u4efb\u306b\u304a\u3044\u3066\u3054\u6d3b\u7528\u304f\u3060\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Powered BLUE\u4e0a\u306eownCloud\u304b\u3089\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u30fb\u30b9\u30c8\u30fc\u30ec\u30b8\u3092\u4f7f\u3046\u5834\u5408\u306e\u8a2d\u5b9a\u3067\u3059\u3002ownCloud\u306e\u904b\u7528\u5834\u6240\u306f\u3069\u3053\u3067\u3082\u69cb\u3044\u307e\u305b\u3093\u3002 \u69cb\u6210\u4f8b ownCloud \u30b5\u30fc\u30d0\u30fc \u00a0 IP=192.168.1.2\u3000\uff08\u30ed\u30fc [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,2,5],"tags":[],"class_list":["post-245","post","type-post","status-publish","format-standard","hentry","category-amazon-aws","category-cloudstack","category-owncloud"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.mubit.co.jp\/pb-blog\/index.php?rest_route=\/wp\/v2\/posts\/245","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mubit.co.jp\/pb-blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mubit.co.jp\/pb-blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mubit.co.jp\/pb-blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mubit.co.jp\/pb-blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=245"}],"version-history":[{"count":10,"href":"https:\/\/www.mubit.co.jp\/pb-blog\/index.php?rest_route=\/wp\/v2\/posts\/245\/revisions"}],"predecessor-version":[{"id":1122,"href":"https:\/\/www.mubit.co.jp\/pb-blog\/index.php?rest_route=\/wp\/v2\/posts\/245\/revisions\/1122"}],"wp:attachment":[{"href":"https:\/\/www.mubit.co.jp\/pb-blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=245"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mubit.co.jp\/pb-blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=245"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mubit.co.jp\/pb-blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=245"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}