{"id":98,"date":"2019-11-08T15:46:10","date_gmt":"2019-11-08T06:46:10","guid":{"rendered":"https:\/\/ta539.com\/bokumemo\/?p=98"},"modified":"2019-11-08T15:46:10","modified_gmt":"2019-11-08T06:46:10","slug":"virtualbox-vagrant","status":"publish","type":"post","link":"https:\/\/ta539.com\/bokumemo\/2019\/11\/08\/virtualbox-vagrant\/","title":{"rendered":"VirtualBox + vagrant"},"content":{"rendered":"<p>vagrant box add Ubuntu-12.10-Quantal-x86_64 https:\/\/github.com\/downloads\/roderik\/VagrantQuantal64Box\/quantal64.box<br \/>\n\u30db\u30fc\u30e0\u30d5\u30a9\u30eb\u30c0\u306b\u300e.vagrant.d\u300f<\/p>\n<p>vagrant box list<br \/>\n\u4e00\u89a7\u304c\u8868\u793a(\u3042\u308c\u3070\u3001\u4e0a\u306ebox add\u306f\u3044\u3089\u306a\u3044\uff1f)<\/p>\n<p>cd \\xampp\\htdocs<br \/>\nmkdir ztest<br \/>\ncd ztest<br \/>\nvagrant init puphpet\/centos65-x64<br \/>\n(vagrant box list\u3067\u51fa\u3066\u304f\u308b\u3084\u3064\u306e\u3069\u308c\u304b)<\/p>\n<p>Vagrantfile\u4fee\u6b63(\u4e0b\u8a18\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u89e3\u9664)<br \/>\nconfig.vm.network &#8220;private_network&#8221;, ip: &#8220;192.168.33.10&#8221;<\/p>\n<p>vagrant up<\/p>\n<p>tera term\u3068\u304b\u3067\u63a5\u7d9a<br \/>\n127.0.0.1<br \/>\n2222<br \/>\nid pass \u21d2 vagrant<\/p>\n<p>\u63a5\u7d9a\u306fhttp:\/\/192.168.33.10\/test.html<br \/>\n(\/var\/www\/html\/\u306btest.html\u3092\u7f6e\u3044\u3066\u304a\u304f)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>vagrant box add Ubuntu-12.10-Quantal-x86_64 https:\/\/github.com\/downloads\/roderik\/VagrantQuantal64Box\/quantal64.box \u30db\u30fc\u30e0\u30d5\u30a9\u30eb\u30c0\u306b\u300e.vagrant.d\u300f vagrant box list \u4e00\u89a7\u304c\u8868\u793a(\u3042\u308c\u3070\u3001\u4e0a\u306ebox add\u306f\u3044\u3089\u306a\u3044\uff1f) cd \\xampp\\htdocs mkdir ztest cd ztest vagrant init puphpet\/centos65-x64 (vagrant box list\u3067\u51fa\u3066\u304f\u308b\u3084\u3064\u306e\u3069\u308c\u304b) Vagrantfile\u4fee\u6b63(\u4e0b\u8a18\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u89e3\u9664) config.vm.network &#8220;private_network&#8221;, ip: &#8220;192.168.33.10&#8221; vagrant up tera term\u3068\u304b\u3067\u63a5\u7d9a 127.0.0.1 2222 id pass \u21d2 vagrant \u63a5\u7d9a\u306fhttp:\/\/192.168.33.10\/test.html (\/var\/www\/html\/\u306btest.html\u3092\u7f6e\u3044\u3066\u304a\u304f)<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[13],"tags":[14,15],"class_list":["post-98","post","type-post","status-publish","format-standard","hentry","category-vm","tag-virtualbox","tag-vagrant"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ta539.com\/bokumemo\/wp-json\/wp\/v2\/posts\/98","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ta539.com\/bokumemo\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ta539.com\/bokumemo\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ta539.com\/bokumemo\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ta539.com\/bokumemo\/wp-json\/wp\/v2\/comments?post=98"}],"version-history":[{"count":0,"href":"https:\/\/ta539.com\/bokumemo\/wp-json\/wp\/v2\/posts\/98\/revisions"}],"wp:attachment":[{"href":"https:\/\/ta539.com\/bokumemo\/wp-json\/wp\/v2\/media?parent=98"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ta539.com\/bokumemo\/wp-json\/wp\/v2\/categories?post=98"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ta539.com\/bokumemo\/wp-json\/wp\/v2\/tags?post=98"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}