{"id":156,"date":"2016-07-18T17:28:43","date_gmt":"2016-07-18T08:28:43","guid":{"rendered":"http:\/\/medicalfields.jp\/blog\/?p=156"},"modified":"2017-03-02T14:00:41","modified_gmt":"2017-03-02T05:00:41","slug":"centos-6-5-x64%e3%81%abcouchdb%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/medicalfields.jp\/blog\/vps\/centos-6-5-x64%e3%81%abcouchdb%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/","title":{"rendered":"CentOS 6.5 x64\u306bCouchDB\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"<div class=\"container\">\u4e3b\u306b<\/div>\n<div class=\"container\">https:\/\/www.digitalocean.com\/community\/tutorials\/how-to-install-couchdb-from-source-on-a-centos-6-x64-vps<\/div>\n<div class=\"container\">\u3068<\/div>\n<div class=\"container\">http:\/\/www.tecmint.com\/install-apache-couchdb-in-rhel-centos-debian-and-ubuntu\/<\/div>\n<div class=\"container\">\u3092\u53c2\u8003\u306b\u3057\u3066\u3084\u3063\u305f\u3002<\/div>\n<div class=\"container\">\u307b\u3068\u3093\u3069\u30b3\u30d4\u30da\u3067\u3059\u3002<\/div>\n<div class=\"content-body tutorial-content tutorial-content-legacy\" data-growable-markdown=\"\">\n<h2 id=\"introduction\"><\/h2>\n<h2 id=\"step-1-install-the-build-tools-on-your-vps\">Step 1 &#8211; \u30d3\u30eb\u30c9\u30c4\u30fc\u30eb\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n<p>CouchDB\u3092\u30bd\u30fc\u30b9\u304b\u3089\u30b3\u30f3\u30d1\u30a4\u30eb\u3059\u308b\u3068\u304d\u306b\u5fc5\u8981\u306a\u30c4\u30fc\u30eb\u3092\u5165\u308c\u308b<\/p>\n<p>\u3068\u308a\u3042\u3048\u305a\u6700\u65b0\u7248\u306b:<\/p>\n<pre class=\"code-pre \"><code>sudo yum -y update\r\n<\/code><\/pre>\n<p>\u6b21\u306b Development Tools\u3092\u5165\u308c\u308b:<\/p>\n<pre class=\"code-pre \"><code>sudo yum -y groupinstall \"Development Tools\"\r\n<\/code><\/pre>\n<p>CouchDB\u306e\u30b3\u30f3\u30d1\u30a4\u30eb\u306b\u5fc5\u8981\u306adependencies\u3082\u3044\u308c\u308b: Erlang \u3068 SpiderMoney:<\/p>\n<pre class=\"code-pre \"><code>sudo yum -y install libicu-devel curl-devel ncurses-devel libtool libxslt fop java-1.6.0-openjdk java-1.6.0-openjdk-devel unixODBC unixODBC-devel openssl-devel\r\n<\/code><\/pre>\n<div data-unique=\"step-2-installing-erlang\"><\/div>\n<h2 id=\"step-2-installing-erlang\">Step 2 &#8211; Erlang\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n<p><strong>Erlang<\/strong> \u306f CouchDB\u306b\u3068\u3063\u3066\u5fc5\u8981. \u3060\u3051\u3069CentOS\u30c1\u30fc\u30e0\u306f\u516c\u5f0f\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u63d0\u4f9b\u3057\u3066\u306a\u3044\u3002\u3056\u3093\u306d\u3093\u3002\u3060\u304b\u3089\u81ea\u5206\u3067\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u306a\u3044\u3068\u306d\u3002<\/p>\n<p>\u6700\u521d\u306b\u00a0<a href=\"http:\/\/www.erlang.org\/download.html\">www.erlang.org\/download.html<\/a>\u00a0\u306b\u3044\u3063\u3066\u6700\u65b0\u30b3\u30fc\u30c9\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9.<\/p>\n<pre class=\"code-pre \"><code>wget http:\/\/erlang.org\/download\/otp_src_19.0.tar.gz\r\n<\/code><\/pre>\n<p>\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u5b8c\u4e86\u3057\u305f\u3089,\u89e3\u51cd\u3059\u308b:<\/p>\n<pre class=\"code-pre \"><code>tar zxvf otp_src_19.0.tar.gz\r\n<\/code><\/pre>\n<p>\u89e3\u51cd\u3067\u6765\u305f\u3089,\u30b3\u30f3\u30d1\u30a4\u30eb\u3059\u308b:<\/p>\n<pre class=\"code-pre \"><code>cd otp_src_19.0\r\n.\/configure &amp;&amp; make\r\n<\/code><\/pre>\n<p>\u6b21\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb.\u6a19\u6e96\u3067\u306f, Erlang\u306f <em>\/usr\/local\u3000\u306b\u3042\u308b\u3088<\/em>:<\/p>\n<pre class=\"code-pre \"><code>sudo make install\r\n<\/code><\/pre>\n<div data-unique=\"step-3-installing-the-spidermonkey-js-engine\"><\/div>\n<h2 id=\"step-3-installing-the-spidermonkey-js-engine\">Step 3 &#8211; \u00a0SpiderMonkey JS Engine\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n<p>Mozilla&#8217;s SpiderMoney JavaScript Engine \u306f \u6b63\u5e38\u306bCouchDB \u3092\u30b3\u30f3\u30d1\u30a4\u30eb\u3059\u308b\u305f\u3081\u306b\u5fc5\u8981\u306a\u3093\u3060\u3088.<\/p>\n<p>CouchDB \u306f Mozilla&#8217;s SpiderMoney version 1.8.5\u304c\u5fc5\u8981,\u3053\u3053\u306e\u00a0<a href=\"http:\/\/ftp.mozilla.org\/pub\/mozilla.org\/js\/\">FTP<\/a>\u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066:<\/p>\n<pre class=\"code-pre \"><code>wget http:\/\/ftp.mozilla.org\/pub\/mozilla.org\/js\/js-1.8.0-rc1.tar.gz\r\n<\/code><\/pre>\n<p>\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u5b8c\u4e86\u3057\u305f\u3089,\u89e3\u51cd\u3059\u308b:<\/p>\n<pre class=\"code-pre \"><code>tar -zxvf js-1.8.0-rc1.tar.gz\r\n<\/code><\/pre>\n<p>\u89e3\u51cd\u3067\u6765\u305f\u3089,\u30b3\u30f3\u30d1\u30a4\u30eb\u3059\u308b:<\/p>\n<pre class=\"code-pre \"><code>cd js-1.8.0-rc1\/js\/src\r\n.\/configure &amp;&amp; make\r\nsudo make install<\/code><\/pre>\n<p>\u306a\u3093\u304b\u3046\u307e\u304f\u3044\u304b\u306a\u3044\u5834\u5408\u306fd\uff49\uff52\u3067\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u307f\u3066\u3061\u3083\u3093\u3068\u89e3\u51cd\u3067\u304d\u3066\u308b\u304b\u898b\u3088\u3046<\/p>\n<p>\u306a\u3093\u304b<\/p>\n<pre class=\"code-pre \"><code>wget http:\/\/ftp.mozilla.org\/pub\/mozilla.org\/js\/js185-1.0.0.tar.gz\r\ncd js-1.8.5\/js\/src     (\u306a\u3093\u304b\u3053\u308c\u3067\u3044\u3044\u304b\u306fdir\u3067\u898b\u308b)\r\n.\/configure &amp;&amp; make\r\nsudo make install\r\n<\/code><\/pre>\n<p>\u3067\u3046\u307e\u304f\u3044\u3051\u308b\u304b\u3082<\/p>\n<h3>Step \uff14: CouchDB\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n<p>\u6700\u5f8c\u306bCouchDB\u306e\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb:<\/p>\n<pre># wget http:\/\/mirror.tcpdiag.net\/apache\/couchdb\/source\/1.6.1\/apache-couchdb-1.6.1.tar.gz\r\n# tar -xvf apache-couchdb-1.6.1.tar.gz\r\n# cd apache-couchdb-1.6.1\r\n# .\/configure\r\n# make &amp;&amp; make install<\/pre>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u4e3b\u306b https:\/\/www.digitalocean.com\/community\/tutorials\/how-to-install-couchdb-from-source-on-a-centos-6-x64-vps \u3068 &hellip; <a href=\"https:\/\/medicalfields.jp\/blog\/vps\/centos-6-5-x64%e3%81%abcouchdb%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/\" class=\"more-link\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">CentOS 6.5 x64\u306bCouchDB\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u65b9\u6cd5<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false},"categories":[11],"tags":[],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p6kJO0-2w","_links":{"self":[{"href":"https:\/\/medicalfields.jp\/blog\/wp-json\/wp\/v2\/posts\/156"}],"collection":[{"href":"https:\/\/medicalfields.jp\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/medicalfields.jp\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/medicalfields.jp\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/medicalfields.jp\/blog\/wp-json\/wp\/v2\/comments?post=156"}],"version-history":[{"count":5,"href":"https:\/\/medicalfields.jp\/blog\/wp-json\/wp\/v2\/posts\/156\/revisions"}],"predecessor-version":[{"id":162,"href":"https:\/\/medicalfields.jp\/blog\/wp-json\/wp\/v2\/posts\/156\/revisions\/162"}],"wp:attachment":[{"href":"https:\/\/medicalfields.jp\/blog\/wp-json\/wp\/v2\/media?parent=156"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/medicalfields.jp\/blog\/wp-json\/wp\/v2\/categories?post=156"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/medicalfields.jp\/blog\/wp-json\/wp\/v2\/tags?post=156"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}