{"id":1127,"date":"2015-01-13T04:35:37","date_gmt":"2015-01-13T04:35:37","guid":{"rendered":"http:\/\/kraftek.com\/blog\/?p=1127"},"modified":"2015-01-15T04:43:45","modified_gmt":"2015-01-15T04:43:45","slug":"vagrant","status":"publish","type":"post","link":"\/blog\/index.php\/vagrant\/","title":{"rendered":"Vagrant"},"content":{"rendered":"<p>install virtualbox and vagrant first, then create a working directory<\/p>\n<pre>\r\n# mkdir \/opt\/vagrant\r\n# cd \/opt\/vagrant\/\r\n<\/pre>\n<p>Initialize the environment in the directory, in this case we&#8217;ll download a ubuntu precise vm<\/p>\n<pre>\r\n# vagrant box add precise32 http:\/\/files.vagrantup.com\/precise32.box\r\n# vagrant box list\r\n<\/pre>\n<p>Edit Vagrantfile and make sure the vm points to &#8220;precise32&#8221; instead of &#8220;base&#8221;:<\/p>\n<pre>\r\n  config.vm.box = \"precise32\"\r\n<\/pre>\n<p>Start the vm<\/p>\n<pre>\r\n# vagrant init\r\n# vagrant up\r\n<\/pre>\n<p>Connect to the vm<\/p>\n<pre>\r\n# vagrant ssh\r\n<\/pre>\n<p>Additional&#8230;<br \/>\nfor a centos6.5 you can find a vm here:<\/p>\n<pre>\r\n# vagrant box add centos65 http:\/\/opscode-vm-bento.s3.amazonaws.com\/vagrant\/virtualbox\/opscode_centos-6.5-i386_chef-provisionerless.box\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>install virtualbox and vagrant first, then create a working directory # mkdir \/opt\/vagrant # cd \/opt\/vagrant\/ Initialize the environment in the directory, in this case we&#8217;ll download a ubuntu precise vm # vagrant box add precise32 http:\/\/files.vagrantup.com\/precise32.box # vagrant box list Edit Vagrantfile and make sure the vm points to &#8220;precise32&#8221; instead of &#8220;base&#8221;: config.vm.box [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1127","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1127","targetHints":{"allow":["GET"]}}],"collection":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=1127"}],"version-history":[{"count":3,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1127\/revisions"}],"predecessor-version":[{"id":1130,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1127\/revisions\/1130"}],"wp:attachment":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=1127"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=1127"},{"taxonomy":"post_tag","embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=1127"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}