{"id":1576,"date":"2015-06-09T23:13:17","date_gmt":"2015-06-09T14:13:17","guid":{"rendered":"http:\/\/www.prime-architect.co.jp\/myblog\/?p=1576"},"modified":"2015-06-09T23:18:52","modified_gmt":"2015-06-09T14:18:52","slug":"%e5%85%88%e6%97%a5ec-cube3%e3%81%ae%ce%b2%e7%89%88%e3%81%8c%e3%83%aa%e3%83%aa%e3%83%bc%e3%82%b9%e3%81%95%e3%82%8c%e3%81%9f%e3%81%ae%e3%81%a7vagrant%e3%81%a7%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88","status":"publish","type":"post","link":"https:\/\/www.prime-architect.co.jp\/myblog\/ec-cube-1576","title":{"rendered":"\u5148\u65e5EC-CUBE3\u306e\u03b2\u7248\u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u305f\u306e\u3067Vagrant\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u307f\u305f\u3002"},"content":{"rendered":"<p>EC-CUBE\u306e\u65b0\u3057\u3044\u30d0\u30fc\u30b8\u30e7\u30f3\u3067\u3042\u308bEC-CUBE3\u306e\u958b\u767a\u3082\u7740\u3005\u3068\u9032\u3093\u3067\u3044\u308b\u3088\u3046\u3067\u3059\u3002<\/p>\n<p>\u5148\u65e5\u3064\u3044\u306b\u03b2\u7248\u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u305f\u306e\u3067\u3001\u5b9f\u969b\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<p>\u30c7\u30d5\u30a9\u30eb\u30c8\u30c7\u30b6\u30a4\u30f3\u306f\u898b\u305f\u76ee\u304c\u304b\u306a\u308a\u30aa\u30b7\u30e3\u30ec\u306a\u611f\u3058\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u7ba1\u7406\u753b\u9762\u306e\u30c7\u30b6\u30a4\u30f3\u3082\u5927\u5e45\u306b\u5909\u308f\u3063\u3066\u3044\u307e\u3057\u305f\u3002\u3053\u3061\u3089\u306fBootstrap\u30d9\u30fc\u30b9\u306e\u3088\u3046\u3067\u3057\u305f\u3002<\/p>\n<p>\u3068\u3044\u3046\u3053\u3068\u3067\u3001Vagrant\u3092\u4f7f\u3063\u3066\u74b0\u5883\u69cb\u7bc9\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<p>\u305b\u3063\u304b\u304f\u306a\u306e\u3067\u307e\u3060\u4f7f\u3063\u305f\u3053\u3068\u306e\u7121\u3044\u3001nginx\u3067\u69cb\u7bc9\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<p>\u74b0\u5883\u306f\u4ee5\u4e0b\u3067\u3059\u3002<\/p>\n<p>CentOS6.5<\/p>\n<p>nginx<\/p>\n<p>php5.5<\/p>\n<p>mysql<\/p>\n<p>\u57fa\u672c\u7684\u306b\u306fchef\u3092\u4f7f\u3063\u3066\u69cb\u7bc9\u3057\u307e\u3057\u305f\u3002chef\u306f\u4ee5\u524d\u306a\u3093\u3068\u306a\u304f\u4f7f\u3063\u3066\u3044\u305f\u306e\u3067\u3059\u304c\u3001\u307b\u3068\u3093\u3069\u5fd8\u308c\u3066\u3057\u307e\u3063\u3066\u3044\u308b\u306e\u3067<\/p>\n<p>\u518d\u5ea6\u30c1\u30e3\u30ec\u30f3\u30b8\u3067\u3059\u3002chef\u3067\u3084\u3063\u3066\u307f\u308b\u3068\u4fbf\u5229\u306a\u306e\u304c\u524d\u306b\u4f7f\u3063\u305f\u30ec\u30b7\u30d4\u304c\u305d\u306e\u307e\u307e\u4f7f\u3046\u3053\u3068\u304c\u51fa\u6765\u308b\u3093\u3067\u3059\u306d\u3002<\/p>\n<p>\u306a\u308b\u307b\u3069\u306a\u308b\u307b\u3069\u3002\u5c11\u3057\u305a\u3064chef\u3082\u7406\u89e3\u3057\u3066\u304d\u307e\u3057\u305f\u3002<\/p>\n<p>\u305d\u3093\u306a\u308f\u3051\u3067nginx\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/p>\n<p>\u7d9a\u3044\u3066php5.5\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/p>\n<p>\u3053\u3061\u3089\u306f\u666e\u901a\u306byum\u3092\u5b9f\u884c\u3059\u308bphp5.3\u306b\u306a\u3063\u3066\u3057\u307e\u3046\u305f\u3081\u3001remi\u3084\u3089rpm\u3084\u3089\u3092\u5165\u308c\u3066\u304b\u3089php\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u3053\u3067\u3001php-fpm\u306fnginx\u3067\u30b5\u30fc\u30d0\u3092\u7acb\u3066\u308b\u5834\u5408\u3001\u5165\u308c\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u305d\u3057\u3066\u3001php-xml\u304c\u5b9f\u306f\u5fc5\u9808\u3067\u3001\u3053\u308c\u304c\u7121\u3044\u3068\u3001ec-cube3\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u969b\u306b\u4f7f\u3046composer\u3067\u30b3\u30b1\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n<p>\u305d\u3057\u3066mysql\u3082\u3055\u304f\u3063\u3068yum\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u3067\u30b5\u30fc\u30d0\u306e\u6e96\u5099\u306fOK\u3067\u3001\u7d9a\u3044\u3066\u8272\u3005\u3068\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<p>\u307e\u305a\u306fnginx\u306econf\u30d5\u30a1\u30a4\u30eb\u3067\u3059\u3002<\/p>\n<p>www.conf\u306euser\u3068group\u306e\u8a2d\u5b9a\u3092nginx\u306b\u5909\u66f4\u3057\u307e\u3059\u3002<\/p>\n<p>\u7d9a\u3044\u3066\u3001ec3.conf\u30d5\u30a1\u30a4\u30eb\u3092\u65b0\u305f\u306b\u4f5c\u6210\u3057\u3066\u3001\u30d0\u30fc\u30c1\u30e3\u30eb\u30d5\u30a1\u30a4\u30eb\u8a2d\u5b9a\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\nserver {\r\n\r\n    # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000\r\n    #\r\n    listen  80;\r\n    server_name  ec3_local.com;\r\n\r\n    location \/ {\r\n                    root \/var\/www\/html\/html;\r\n                    index index.html index.php;\r\n                }\r\n\r\n\r\n    location ~ \\.php$ {\r\n        root      \/var\/www\/html\/html;\r\n   \t    fastcgi_pass   127.0.0.1:9000;\r\n        fastcgi_index  index.php;\r\n        fastcgi_param  SCRIPT_FILENAME  \/var\/www\/html\/html\/$fastcgi_script_name;\r\n        include        fastcgi_params;\r\n    }\r\n}\r\n<\/pre>\n<p>\u6700\u5f8c\u306bmysql\u306eroot\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002\u3053\u308c\u3092\u3057\u3066\u304a\u304b\u306a\u3044\u3068\u8272\u3005\u3068\u9762\u5012\u306a\u306e\u3067\u3001\u9069\u5f53\u306b\u8a2d\u5b9a\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u3067\u30b5\u30fc\u30d0\u5074\u306fOK<\/p>\n<p>\u305d\u3057\u3066\u3001\u3044\u3088\u3044\u3088EC-CUBE3\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u3059\u304c\u3001\u5f93\u6765\u306e\u3088\u3046\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u753b\u9762\u306f\u307e\u3060\u7528\u610f\u3055\u308c\u3066\u3044\u306a\u3044\u305f\u3081\u3001<\/p>\n<p>eccube_install.sh\u3068\u3044\u3046\u30b7\u30a7\u30eb\u30d5\u30a1\u30a4\u30eb\u3092\u5b9f\u884c\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u3053\u306e\u30d5\u30a1\u30a4\u30eb\u306bURL\u3084DB\u63a5\u7d9a\u60c5\u5831\u306a\u3069\u3092\u66f8\u304d\u63db\u3048\u3066\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n# Configuration\r\n#-- Shop Configuration\r\nCONFIG_PHP=&quot;app\/config\/eccube\/config.php&quot;\r\nCONFIG_YML=&quot;app\/config\/eccube\/config.yml&quot;\r\nADMIN_MAIL=${ADMIN_MAIL:-&quot;admin@example.com&quot;}\r\nSHOP_NAME=${SHOP_NAME:-&quot;EC-CUBE SHOP&quot;}\r\nHTTP_URL=${HTTP_URL:-&quot;http:\/\/ec3_local.com\/&quot;}\r\nHTTPS_URL=${HTTPS_URL:-&quot;http:\/\/ec3_local.com\/&quot;}\r\nROOT_URLPATH=${ROOT_URLPATH:-&quot;\/&quot;}\r\nDOMAIN_NAME=${DOMAIN_NAME:-&quot;ec3_local.com&quot;}\r\nADMIN_DIR=${ADMIN_DIR:-&quot;admin&quot;}\r\n\r\nDBSERVER=${DBSERVER-&quot;127.0.0.1&quot;}\r\nDBNAME=${DBNAME:-&quot;ec3&quot;}\r\nDBUSER=${DBUSER:-&quot;root&quot;}\r\nDBPASS=${DBPASS:-&quot;xxxx&quot;}\r\n<\/pre>\n<p>\u3053\u308c\u3067\u3057\u3070\u3089\u304f\u5f85\u3066\u3070\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u5b8c\u4e86\u3057\u307e\u3059\u3002<\/p>\n<p>\u305d\u3057\u3066\u3001\u30c8\u30c3\u30d7\u753b\u9762\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u307f\u308b\u3068\u3002\u3002\u3002<\/p>\n<p>\u304a\u30fc\u3001\u30e2\u30c0\u30f3\u3067\u304b\u3063\u3053\u3044\u301c\u3002<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" title=\"\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8 2015-06-09 23.10.43.png\" src=\"https:\/\/www.prime-architect.co.jp\/myblog\/wp-content\/uploads\/2015\/06\/a27537001533bc517c68e48a368d38b1.png\" alt=\"\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8 2015 06 09 23 10 43\" width=\"599\" height=\"429\" border=\"0\" \/><\/p>\n<p>\u305d\u3057\u3066\u7ba1\u7406\u753b\u9762\u306f\u3002\u3002\u3002<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" title=\"\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8 2015-06-09 23.11.35.png\" src=\"https:\/\/www.prime-architect.co.jp\/myblog\/wp-content\/uploads\/2015\/06\/1edb5cdd27c0e60a1a04a589596191e9.png\" alt=\"\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8 2015 06 09 23 11 35\" width=\"598\" height=\"346\" border=\"0\" \/><\/p>\n<p>\u3053\u3061\u3089\u3082\u30aa\u30b7\u30e3\u30ec\u3067\u3059\u3002<\/p>\n<p>\u3057\u304b\u3057\u3001\u307e\u3060\u5168\u7136\u52d5\u304b\u306a\u3044\u3088\u3046\u3067\u3059\u3002<\/p>\n<p>\u6b63\u5f0f\u7248\u304c\u697d\u3057\u307f\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>EC-CUBE\u306e\u65b0\u3057\u3044\u30d0\u30fc\u30b8\u30e7\u30f3\u3067\u3042\u308bEC-CUBE3\u306e\u958b\u767a\u3082\u7740\u3005\u3068\u9032\u3093\u3067\u3044\u308b\u3088\u3046\u3067\u3059\u3002 \u5148\u65e5\u3064\u3044\u306b\u03b2\u7248\u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u305f\u306e\u3067\u3001\u5b9f\u969b\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u307f\u307e\u3057\u305f\u3002 \u30c7\u30d5\u30a9\u30eb\u30c8\u30c7\u30b6\u30a4\u30f3\u306f\u898b\u305f\u76ee\u304c\u304b\u306a\u308a\u30aa\u30b7\u30e3\u30ec\u306a\u611f\u3058\u306b\u306a\u3063\u3066\u3044\u307e &hellip; <a href=\"https:\/\/www.prime-architect.co.jp\/myblog\/ec-cube-1576\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;\u5148\u65e5EC-CUBE3\u306e\u03b2\u7248\u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u305f\u306e\u3067Vagrant\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u307f\u305f\u3002&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0},"categories":[4],"tags":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.prime-architect.co.jp\/myblog\/wp-json\/wp\/v2\/posts\/1576"}],"collection":[{"href":"https:\/\/www.prime-architect.co.jp\/myblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.prime-architect.co.jp\/myblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.prime-architect.co.jp\/myblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.prime-architect.co.jp\/myblog\/wp-json\/wp\/v2\/comments?post=1576"}],"version-history":[{"count":3,"href":"https:\/\/www.prime-architect.co.jp\/myblog\/wp-json\/wp\/v2\/posts\/1576\/revisions"}],"predecessor-version":[{"id":1580,"href":"https:\/\/www.prime-architect.co.jp\/myblog\/wp-json\/wp\/v2\/posts\/1576\/revisions\/1580"}],"wp:attachment":[{"href":"https:\/\/www.prime-architect.co.jp\/myblog\/wp-json\/wp\/v2\/media?parent=1576"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.prime-architect.co.jp\/myblog\/wp-json\/wp\/v2\/categories?post=1576"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.prime-architect.co.jp\/myblog\/wp-json\/wp\/v2\/tags?post=1576"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}