{"id":187,"date":"2015-11-16T12:41:30","date_gmt":"2015-11-16T12:41:30","guid":{"rendered":"http:\/\/cloudkul.com\/blog\/?p=187"},"modified":"2017-06-14T11:34:35","modified_gmt":"2017-06-14T11:34:35","slug":"lets-use-windows-through-vagrant-2","status":"publish","type":"post","link":"https:\/\/cloudkul.com\/blog\/lets-use-windows-through-vagrant-2\/","title":{"rendered":"Let&#8217;s use windows through Vagrant"},"content":{"rendered":"<p>In the world of virtualization, if we have opensource OS like RHEL, Ubuntu, mint, centos etc then we have Microsoft Windows too, Yes ofcourse i talked about Microsoft Windows. Today if we will work on windows then we would have to pay some amount as its licensing cost or something like that. Today i would like to introduce you windows os with the opensource vagrant virtualization tool. Yes, you can use windows OS legally for testing environment without paying anything with the help of vagrant for atleast 30 days.<\/p>\n<p>Let&#8217;s talk about how we can use windows with vagrant tool ?<\/p>\n<p>As i have written one of my <a href=\"http:\/\/cloudkul.com\/blog\/vagrant-implementation\/\" target=\"_blank\">previous blog<\/a> on vagrant, Installation process is same.<\/p>\n<p>After Installation now lets get the vagrant box for windows os from its official site:<\/p>\n<p><span style=\"color: #000000\"><strong><a style=\"color: #000000\" href=\"http:\/\/www.vagrantbox.es\/\" target=\"_blank\">http:\/\/www.vagrantbox.es\/<\/a><\/strong><\/span><\/p>\n<p>Hit the url and search for windows box, you will get all the windows os flavour like windows xp, windows 7 32 bit, windows 8 32 bit with its different IE versions.<\/p>\n<p>Download the box what you want to download by hitting the command:-<\/p>\n<pre class=\"brush:shell\">vagrant box add \u201cbox_name\u201d \u201cwindows_box_URL_what_you_copied_from_its_site\u201d<\/pre>\n<p>After downloading, just exit from root user, if you will not exit from root user then you will not get your os in virtualbox and now if you are on your local user then make a directory by hitting:-<\/p>\n<pre class=\"lang:default decode:true \">mkdir -p windows_box<\/pre>\n<p>Now enter in the directory what you just have made by hitting:-<\/p>\n<pre class=\"brush:shell\">cd windows_box\r\n<\/pre>\n<p><span style=\"line-height: 1.5\">Initialize vagrant in the directory by hitting:-<\/span><\/p>\n<pre class=\"brush:shell\">vagrant init<\/pre>\n<p>Now you will get a file called Vagrant file, just open it and search the line named <strong>config.vm.box = \u201cbase\u201d and change that &#8220;base&#8221; word with the name of your box<\/strong> what you gave at the time of downloading the vagrant box.<\/p>\n<p>Now hit the command to get the windows os in virtualbox:-<\/p>\n<pre class=\"brush:shell\">Vagrant up<\/pre>\n<p><span style=\"color: #000000\"><strong><span style=\"text-decoration: underline\">Note<\/span>:- Now no need to change anything in Vagrant file because you will get the complete os in Virtualbox.<\/strong><\/span><\/p>\n<p>Now open the virtual box installed in your system and use your windows operating system, run whatever you want to run on it, test whatever you want to test on it, you will get its trial version which will be valid for 30 day only&#8230;.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: center\"><strong><a href=\"http:\/\/cloudkul.com\/contact\/\" target=\"_blank\">FOR ANY TYPE OF QUERY OR HELP, KINDLY CONTACT US<\/a><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the world of virtualization, if we have opensource OS like RHEL, Ubuntu, mint, centos <a class=\"text-primary\" title=\"read more\" href=\"https:\/\/cloudkul.com\/blog\/lets-use-windows-through-vagrant-2\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":4,"featured_media":321,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[1],"tags":[11,7],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Let&#039;s use windows through Vagrant - Cloudkul<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/cloudkul.com\/blog\/lets-use-windows-through-vagrant-2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Let&#039;s use windows through Vagrant - Cloudkul\" \/>\n<meta property=\"og:description\" content=\"In the world of virtualization, if we have opensource OS like RHEL, Ubuntu, mint, centos [...]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/cloudkul.com\/blog\/lets-use-windows-through-vagrant-2\/\" \/>\n<meta property=\"og:site_name\" content=\"Cloudkul\" \/>\n<meta property=\"article:published_time\" content=\"2015-11-16T12:41:30+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2017-06-14T11:34:35+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2015\/11\/Microsoft-Run-Through-Vagrant.png\" \/>\n\t<meta property=\"og:image:width\" content=\"848\" \/>\n\t<meta property=\"og:image:height\" content=\"422\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Prashant Arora\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/cloudkul.com\/blog\/lets-use-windows-through-vagrant-2\/\",\"url\":\"https:\/\/cloudkul.com\/blog\/lets-use-windows-through-vagrant-2\/\",\"name\":\"Let's use windows through Vagrant - Cloudkul\",\"isPartOf\":{\"@id\":\"https:\/\/cloudkul.com\/blog\/#website\"},\"datePublished\":\"2015-11-16T12:41:30+00:00\",\"dateModified\":\"2017-06-14T11:34:35+00:00\",\"author\":{\"@id\":\"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/0f130d5c45f7a843f035c2b26dfd8822\"},\"breadcrumb\":{\"@id\":\"https:\/\/cloudkul.com\/blog\/lets-use-windows-through-vagrant-2\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/cloudkul.com\/blog\/lets-use-windows-through-vagrant-2\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/cloudkul.com\/blog\/lets-use-windows-through-vagrant-2\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/cloudkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Let&#8217;s use windows through Vagrant\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/cloudkul.com\/blog\/#website\",\"url\":\"https:\/\/cloudkul.com\/blog\/\",\"name\":\"Cloudkul\",\"description\":\"Host your eCommerce Store on AWS with Optimized Performance\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/cloudkul.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/0f130d5c45f7a843f035c2b26dfd8822\",\"name\":\"Prashant Arora\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/ffd3d12ef1ac706011cfd6f835707402?s=96&d=https%3A%2F%2Fs.gravatar.com%2Favatar%2F6148c37469011bc2f8e491ca8f5de495%3Fs%3D80&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/ffd3d12ef1ac706011cfd6f835707402?s=96&d=https%3A%2F%2Fs.gravatar.com%2Favatar%2F6148c37469011bc2f8e491ca8f5de495%3Fs%3D80&r=g\",\"caption\":\"Prashant Arora\"},\"url\":\"https:\/\/cloudkul.com\/blog\/author\/prashant089\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Let's use windows through Vagrant - Cloudkul","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/cloudkul.com\/blog\/lets-use-windows-through-vagrant-2\/","og_locale":"en_US","og_type":"article","og_title":"Let's use windows through Vagrant - Cloudkul","og_description":"In the world of virtualization, if we have opensource OS like RHEL, Ubuntu, mint, centos [...]","og_url":"https:\/\/cloudkul.com\/blog\/lets-use-windows-through-vagrant-2\/","og_site_name":"Cloudkul","article_published_time":"2015-11-16T12:41:30+00:00","article_modified_time":"2017-06-14T11:34:35+00:00","og_image":[{"width":848,"height":422,"url":"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2015\/11\/Microsoft-Run-Through-Vagrant.png","type":"image\/png"}],"author":"Prashant Arora","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/cloudkul.com\/blog\/lets-use-windows-through-vagrant-2\/","url":"https:\/\/cloudkul.com\/blog\/lets-use-windows-through-vagrant-2\/","name":"Let's use windows through Vagrant - Cloudkul","isPartOf":{"@id":"https:\/\/cloudkul.com\/blog\/#website"},"datePublished":"2015-11-16T12:41:30+00:00","dateModified":"2017-06-14T11:34:35+00:00","author":{"@id":"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/0f130d5c45f7a843f035c2b26dfd8822"},"breadcrumb":{"@id":"https:\/\/cloudkul.com\/blog\/lets-use-windows-through-vagrant-2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/cloudkul.com\/blog\/lets-use-windows-through-vagrant-2\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/cloudkul.com\/blog\/lets-use-windows-through-vagrant-2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/cloudkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Let&#8217;s use windows through Vagrant"}]},{"@type":"WebSite","@id":"https:\/\/cloudkul.com\/blog\/#website","url":"https:\/\/cloudkul.com\/blog\/","name":"Cloudkul","description":"Host your eCommerce Store on AWS with Optimized Performance","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/cloudkul.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/0f130d5c45f7a843f035c2b26dfd8822","name":"Prashant Arora","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/ffd3d12ef1ac706011cfd6f835707402?s=96&d=https%3A%2F%2Fs.gravatar.com%2Favatar%2F6148c37469011bc2f8e491ca8f5de495%3Fs%3D80&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ffd3d12ef1ac706011cfd6f835707402?s=96&d=https%3A%2F%2Fs.gravatar.com%2Favatar%2F6148c37469011bc2f8e491ca8f5de495%3Fs%3D80&r=g","caption":"Prashant Arora"},"url":"https:\/\/cloudkul.com\/blog\/author\/prashant089\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/posts\/187"}],"collection":[{"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/comments?post=187"}],"version-history":[{"count":10,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/posts\/187\/revisions"}],"predecessor-version":[{"id":432,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/posts\/187\/revisions\/432"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/media\/321"}],"wp:attachment":[{"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/media?parent=187"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/categories?post=187"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/tags?post=187"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}