{"id":1185,"date":"2016-10-17T21:53:45","date_gmt":"2016-10-17T12:53:45","guid":{"rendered":"http:\/\/blog.moramcnt.com\/?p=1185"},"modified":"2019-12-04T13:11:55","modified_gmt":"2019-12-04T04:11:55","slug":"alicloud-oss-ecs%ec%97%b0%eb%8f%99-%eb%b0%a9%eb%b2%95%ec%9a%94%ec%95%bd","status":"publish","type":"post","link":"http:\/\/blog.moramcnt.com\/?p=1185","title":{"rendered":"AliCloud OSS-ECS\uc5f0\ub3d9 \ubc29\ubc95(\uc694\uc57d)"},"content":{"rendered":"<p>* OSS \uc124\uce58 (Ubuntu 14.04 \uc774\uc0c1 \ubc84\uc804 \uc124\uce58 \ubc29\ubc95)<br \/>\nsudo apt-get install automake autotools-dev g++ git libcurl4-gnutls-dev \\<br \/>\nlibfuse-dev libssl-dev libxml2-dev make pkg-config<\/p>\n<p>git clone https:\/\/github.com\/aliyun\/ossfs.git<\/p>\n<p>.\/cd ossfs<br \/>\n.\/autogen.sh<br \/>\n.\/configure<br \/>\nmake<br \/>\nmake install<\/p>\n<p>* AccessKey \uc815\ubcf4<br \/>\naccessKeyId : LTAIvIBzIOFtn87i<br \/>\nAccess Key Secret : KnYfUqOnPEvaiVTh6qNIh8V2dbcajo<br \/>\necho web-repository:LTAIvIBzIOFtn87i: KnYfUqOnPEvaiVTh6qNIh8V2dbcajo&gt; \/ etc \/ passwd-ossfs<br \/>\necho dbms-repository:LTAIvIBzIOFtn87i: KnYfUqOnPEvaiVTh6qNIh8V2dbcajo&gt; \/ etc \/ passwd-ossfs<\/p>\n<p>su &#8211; root<\/p>\n<p>chmod 640 \/etc\/passwd-ossfs<\/p>\n<p>ossfs web-repository \/home\/ubuntu\/lixing\/Service\/Data -ourl=oss-cn-shanghai-internal.aliyuncs.com<\/p>\n<p><strong> ossfs web-repository \/home\/ubuntu\/lixing\/Service\/Data -ourl=oss-cn-shanghai-internal.aliyuncs.com -o allow_other<\/strong><\/p>\n<p>ossfs dbms-repository \/home\/lixing\/DBRepository -ourl=oss-cn-shanghai-internal.aliyuncs.com<\/p>\n<p><strong>ossfs dbms-repository \/home\/lixing\/DBRepository -ourl=oss-cn-shanghai-internal.aliyuncs.com -o allow_other<\/strong><\/p>\n<p>-o allow_other : \ub2e4\ub978 User\ub3c4 \uc0ac\uc6a9 \uac00\ub2a5(\ub9cc\uc57d, \uc774 \uc635\uc158\uc774 \uc5c6\uc73c\uba74, Root \uad8c\ud55c\ub9cc \uc811\uadfc\uac00\ub2a5\ud568.)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>* OSS \uc124\uce58 (Ubuntu 14.04 \uc774\uc0c1 \ubc84\uc804 \uc124\uce58 \ubc29\ubc95) sudo apt-get install automake autotools-dev g++ git libcurl4-gnutls-dev \\ libfuse-dev libssl-dev libxml2-dev make pkg-config git clone https:\/\/github.com\/aliyun\/ossfs.git .\/cd ossfs .\/autogen.sh .\/configure make make install * AccessKey \uc815\ubcf4 accessKeyId : LTAIvIBzIOFtn87i Access Key Secret : KnYfUqOnPEvaiVTh6qNIh8V2dbcajo echo web-repository:LTAIvIBzIOFtn87i: KnYfUqOnPEvaiVTh6qNIh8V2dbcajo&gt; \/ etc \/ passwd-ossfs echo dbms-repository:LTAIvIBzIOFtn87i: KnYfUqOnPEvaiVTh6qNIh8V2dbcajo&gt; \/ [&hellip;]<\/p>\n","protected":false},"author":16,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[180],"tags":[],"class_list":["post-1185","post","type-post","status-publish","format-standard","hentry","category-cloud"],"_links":{"self":[{"href":"http:\/\/blog.moramcnt.com\/index.php?rest_route=\/wp\/v2\/posts\/1185","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/blog.moramcnt.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.moramcnt.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.moramcnt.com\/index.php?rest_route=\/wp\/v2\/users\/16"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.moramcnt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1185"}],"version-history":[{"count":4,"href":"http:\/\/blog.moramcnt.com\/index.php?rest_route=\/wp\/v2\/posts\/1185\/revisions"}],"predecessor-version":[{"id":2013,"href":"http:\/\/blog.moramcnt.com\/index.php?rest_route=\/wp\/v2\/posts\/1185\/revisions\/2013"}],"wp:attachment":[{"href":"http:\/\/blog.moramcnt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1185"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.moramcnt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1185"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.moramcnt.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1185"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}