{"id":16744,"date":"2014-12-11T08:00:21","date_gmt":"2014-12-10T23:00:21","guid":{"rendered":"http:\/\/www.sssg.org\/blogs\/hiro345\/?p=16744"},"modified":"2014-12-11T08:11:59","modified_gmt":"2014-12-10T23:11:59","slug":"centos7%e3%81%aevagrant%e3%81%a7curl%e3%81%ae%e3%82%a8%e3%83%a9%e3%83%bc%e3%81%ab%e3%81%aa%e3%82%8b","status":"publish","type":"post","link":"https:\/\/www.hiro345.net\/blogs\/hiro345\/archives\/16744.html","title":{"rendered":"CentOS7\u306evagrant\u3067curl\u306e\u30a8\u30e9\u30fc\u306b\u306a\u308b"},"content":{"rendered":"<p>CentOS7\u3067\u300c<a href=\"http:\/\/vccw.cc\/\">VCCW &#8211; A WordPress development environment.<\/a>\u300d\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3088\u3046\u3068\u3057\u305f\u3068\u3053\u308d\u3001curl\u3067\u30a8\u30e9\u30fc\u306b\u306a\u308a\u307e\u3059\u3002vagrant 1.7.0 \u3092\u4f7f\u3063\u3066\u3044\u307e\u3059\u3002<br \/>\n<!--more--><br \/>\n\u6700\u521d\u3001VCCW\u306eVagrant\u30d5\u30a1\u30a4\u30eb\u306b\u554f\u984c\u304c\u3042\u308b\u306e\u304b\u3068\u601d\u3063\u305f\u306e\u3067\u3059\u304c\u3001chef\/centos-6.6\u3067\u3082\u540c\u69d8\u306a\u3053\u3068\u304c\u304a\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; gutter: true\">\r\n$ vagrant box add chef\/centos-6.6\r\n==&gt; box: Loading metadata for box &#039;chef\/centos-6.6&#039;\r\n    box: URL: https:\/\/atlas.hashicorp.com\/chef\/centos-6.6\r\nThis box can work with multiple providers! The providers that it\r\ncan work with are listed below. Please review the list and choose\r\nthe provider you will be working with.\r\n\r\n1) virtualbox\r\n2) vmware_desktop\r\n\r\nEnter your choice: 1\r\n==&gt; box: Adding box &#039;chef\/centos-6.6&#039; (v1.0.0) for provider: virtualbox\r\n    box: Downloading: https:\/\/atlas.hashicorp.com\/chef\/boxes\/centos-6.6\/versions\/1.0.0\/providers\/virtualbox.box\r\nAn error occurred while downloading the remote file. The error\r\nmessage, if any, is reproduced below. Please fix this error and try\r\nagain.\r\n\r\nSSL certificate problem: unable to get local issuer certificate\r\nMore details here: http:\/\/curl.haxx.se\/docs\/sslcerts.html\r\n\r\ncurl performs SSL certificate verification by default, using a &quot;bundle&quot;\r\n of Certificate Authority (CA) public keys (CA certs). If the default\r\n bundle file isn&#039;t adequate, you can specify an alternate file\r\n using the --cacert option.\r\nIf this HTTPS server uses a certificate signed by a CA represented in\r\n the bundle, the certificate verification probably failed due to a\r\n problem with the certificate (it might be expired, or the name might\r\n not match the domain name in the URL).\r\nIf you&#039;d like to turn off curl&#039;s verification of the certificate, use\r\n the -k (or --insecure) option.\r\n<\/pre>\n<p>HTTPS\u306e\u30c1\u30a7\u30c3\u30af\u3067\u30a8\u30e9\u30fc\u306b\u306a\u3063\u3066\u3044\u308b\u3088\u3046\u3067\u3059\u3002vagrant\u30b3\u30de\u30f3\u30c9\u306e\u554f\u984c\u306e\u3088\u3046\u306a\u6c17\u3082\u3057\u307e\u3059\u3002\u3088\u304f\u308f\u304b\u308a\u307e\u305b\u3093\u304c\u3001curl\u30b3\u30de\u30f3\u30c9\u3092\u666e\u901a\u306b\u4f7f\u3046\u5206\u306b\u306f\u5927\u4e08\u592b\u3060\u304b\u3089\u3067\u3059\u3002<\/p>\n<pre class=\"brush: bash; gutter: true\">\r\n$ curl -L https:\/\/vagrantcloud.com\/miya0001\/boxes\/vccw\/versions\/1.9.5\/providers\/virtualbox.box &gt; miya0001_vccw.box\r\n<\/pre>\n<p>\u6700\u521d\u308f\u304b\u3089\u306a\u304f\u3066\u3001curl\u30b3\u30de\u30f3\u30c9\u3092\u300c<a href=\"http:\/\/curl.haxx.se\/latest.cgi?curl=tar.bz2\">cURL: tar.bz2 from Mirrors<\/a>\u300d\u304b\u3089\u5165\u624b\u3057\u3066\u6700\u65b0\u7248\u306b\u3057\u3066\u307f\u305f\u308a\u3082\u3057\u307e\u3057\u305f\u304c\u3001\u95a2\u4fc2\u3042\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u3002<\/p>\n<pre class=\"brush: bash; gutter: true\">\r\n$ sudo yum install openssl-devel\r\n$ wget http:\/\/curl.haxx.se\/download\/curl-7.39.0.tar.bz2\r\n$ tar xf curl-7.39.0.tar.bz2\r\n$ cd curl-7.39.0\r\n$ .\/configure --enable-libcurl-option --prefix=$HOME\/applications\/curl-7.39.0\r\n$ make\r\n$ make install\r\n$ export PATH=$HOME\/applications\/curl-7.39.0\/bin:$PATH\r\n$ curl --version\r\ncurl 7.39.0 (x86_64-unknown-linux-gnu) libcurl\/7.39.0 OpenSSL\/1.0.1e zlib\/1.2.7\r\nProtocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp smtp smtps telnet tftp \r\nFeatures: IPv6 Largefile NTLM NTLM_WB SSL libz\r\n<\/pre>\n<p>\u4ed5\u65b9\u306a\u3044\u306e\u3067\u3001curl\u30b3\u30de\u30f3\u30c9\u3067miya0001_vccw.box\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u304b\u3089\u3001vagrant box add \u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u30ed\u30fc\u30ab\u30eb\u306b\u5165\u308c\u3066\u304b\u3089VCCW\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u3057\u305f\u3068\u3053\u308d\u3067\u304d\u307e\u3057\u305f\u3002git clone\u3059\u308b\u3068\u304d\u306b\u3001git@github.com:miya0001\/vccw.git \u3092\u4f7f\u3046\u3068git\u30a2\u30ab\u30a6\u30f3\u30c8\u304c\u5fc5\u8981\u306b\u306a\u308b\u306e\u3067\u3001https \u306e\u65b9\u306b\u3057\u3066\u3042\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; gutter: true\">\r\n$ git clone https:\/\/github.com\/miya0001\/vccw.git\r\n$ cd vccw\r\n$ cp Vagrantfile.sample Vagrantfile\r\n$ curl -L https:\/\/vagrantcloud.com\/miya0001\/boxes\/vccw\/versions\/1.9.5\/providers\/virtualbox.box &gt; miya0001_vccw.box\r\n$ vagrant box add &quot;miya0001\/vccw&quot; miya0001_vccw.box\r\n$ vagrant up\r\n<\/pre>\n<p>\u3068\u308a\u3042\u3048\u305a\u51fa\u6765\u305f\u306e\u3067\u3088\u304b\u3063\u305f\u3067\u3059\u3002<\/p>\n<p>Vagrant, Chef, VCCW\u306b\u8208\u5473\u304c\u3042\u308b\u3068\u304d\u306f\u4e0b\u8a18\u66f8\u7c4d\u304c\u53c2\u8003\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<ul>\n<li><a type=\"amzn\" asin=\"4873116651\">\u5b9f\u8df5 Vagrant <\/a><\/li>\n<li><a type=\"amzn\" asin=\"477416500X\">Chef\u5b9f\u8df5\u5165\u9580 ~\u30b3\u30fc\u30c9\u306b\u3088\u308b\u30a4\u30f3\u30d5\u30e9\u69cb\u6210\u306e\u81ea\u52d5\u5316 (WEB+DB PRESS plus) <\/a><\/li>\n<li><a type=\"amzn\" asin=\"4797373520\">\u30b5\u30a4\u30c8\u306e\u62e1\u5f35\u6027\u3092\u98db\u8e8d\u7684\u306b\u9ad8\u3081\u308b WordPress\u30d7\u30e9\u30b0\u30a4\u30f3\u958b\u767a\u306e\u30d0\u30a4\u30d6\u30eb <\/a><\/li>\n<\/ul>\n<div>\n<iframe loading=\"lazy\" style=\"width: 120px; height: 240px;\" src=\"\/\/rcm-jp.amazon.co.jp\/e\/cm?t=hiro345-22&amp;o=9&amp;p=8&amp;l=as1&amp;asins=4873116651&amp;ref=tf_til&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr\" height=\"240\" width=\"320\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><iframe loading=\"lazy\" style=\"width: 120px; height: 240px;\" src=\"\/\/rcm-jp.amazon.co.jp\/e\/cm?t=hiro345-22&amp;o=9&amp;p=8&amp;l=as1&amp;asins=477416500X&amp;ref=tf_til&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr\" height=\"240\" width=\"320\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><iframe loading=\"lazy\" style=\"width: 120px; height: 240px;\" src=\"\/\/rcm-jp.amazon.co.jp\/e\/cm?t=hiro345-22&amp;o=9&amp;p=8&amp;l=as1&amp;asins=4797373520&amp;ref=tf_til&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr\" height=\"240\" width=\"320\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>CentOS7\u3067\u300cVCCW &#8211; A WordPress development environment.\u300d\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3088\u3046\u3068\u3057\u305f\u3068\u3053\u308d\u3001curl\u3067\u30a8\u30e9\u30fc\u306b\u306a\u308a\u307e\u3059\u3002vagrant 1.7.0 \u3092\u4f7f\u3063\u3066\u3044\u307e &hellip; <a href=\"https:\/\/www.hiro345.net\/blogs\/hiro345\/archives\/16744.html\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[1104,437,1209,907,1123],"class_list":["post-16744","post","type-post","status-publish","format-standard","hentry","category-linux","tag-centos7","tag-curl","tag-linux","tag-vagrant","tag-vccw"],"_links":{"self":[{"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/posts\/16744","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/comments?post=16744"}],"version-history":[{"count":1,"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/posts\/16744\/revisions"}],"predecessor-version":[{"id":16745,"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/posts\/16744\/revisions\/16745"}],"wp:attachment":[{"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/media?parent=16744"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/categories?post=16744"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/tags?post=16744"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}