{"id":1518,"date":"2014-12-10T21:53:00","date_gmt":"2014-12-10T21:53:00","guid":{"rendered":"http:\/\/microsoftgeek.com\/?p=1518"},"modified":"2014-12-10T21:53:00","modified_gmt":"2014-12-10T21:53:00","slug":"how-to-create-a-test-lab-without-breaking-your-pc","status":"publish","type":"post","link":"https:\/\/microsoftgeek.com\/?p=1518","title":{"rendered":"How to Create a Test Lab (Without Breaking Your PC)"},"content":{"rendered":"<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"image\" alt=\"image\" src=\"http:\/\/cdn5.howtogeek.com\/wp-content\/uploads\/2013\/04\/image_thumb10.png\" width=\"656\" height=\"306\" border=\"0\" \/><\/p>\n<p>Our Geek School articles can get pretty complicated, and there\u2019s no reason to do a ton of crazy stuff on your own desktop PC. Instead, you can just VirtualBox like we do to create virtual machines for all of your testing. Here\u2019s how to do it.<\/p>\n<p>You can even network multiple virtual machines together, so as long as you have a decent amount of RAM in your PC, you can fully test a scenario without messing with your PC\u2019s settings at all. \u00a0It\u2019s a much safer way to learn!<\/p>\n<p>Before we get started there are a few things that we will\u00a0 need:<\/p>\n<ul>\n<li>A copy of VirtualBox which can be obtained\u00a0<a href=\"https:\/\/www.virtualbox.org\/\" rel=\"nofollow\">here<\/a>.<\/li>\n<li>A Windows 7 ISO which can be obtained\u00a0<a href=\"http:\/\/msft.digitalrivercontent.net\/win\/X17-59183.iso\" rel=\"nofollow\">here<\/a>.<\/li>\n<li>A Windows Server 2008 R2 ISO which can be obtained\u00a0<a href=\"http:\/\/www.microsoft.com\/en-za\/download\/details.aspx?id=11093\" rel=\"nofollow\">here<\/a>.<\/li>\n<\/ul>\n<h3>Setting Up Your Lab<\/h3>\n<p>The first thing we need to do is get VirtualBox installed, and since this is a next, next finish type of install we are confident you will be able to get it done in no time.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"image\" alt=\"image\" src=\"http:\/\/cdn5.howtogeek.com\/wp-content\/uploads\/2013\/04\/image33.png\" width=\"656\" height=\"300\" border=\"0\" \/><\/p>\n<p>Once the installation is complete we are ready to create our first virtual machine.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"image\" alt=\"image\" src=\"http:\/\/cdn5.howtogeek.com\/wp-content\/uploads\/2013\/04\/image34.png\" width=\"656\" height=\"300\" border=\"0\" \/><\/p>\n<p>Since we are going to have both clients and servers, we will call this one Windows 7 (Client) and select the Windows 7 operating system from the dropdown list, then click next.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"image\" alt=\"image\" src=\"http:\/\/cdn5.howtogeek.com\/wp-content\/uploads\/2013\/04\/image35.png\" width=\"656\" height=\"300\" border=\"0\" \/><\/p>\n<p>Next you are going to want to assign the VM a decent amount of memory, the minimum is 512MB but since I have quite a lot in my PC I decided to give my VM 2GB instead. A safe bet is probably 1GB though.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"image\" alt=\"image\" src=\"http:\/\/cdn5.howtogeek.com\/wp-content\/uploads\/2013\/04\/image36.png\" width=\"656\" height=\"300\" border=\"0\" \/><\/p>\n<p>At this point we still need to add a hard drive to our VM, so switch the radio button over to \u201cCreate a virtual hard drive now\u201d then click create.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"image\" alt=\"image\" src=\"http:\/\/cdn5.howtogeek.com\/wp-content\/uploads\/2013\/04\/image37.png\" width=\"656\" height=\"300\" border=\"0\" \/><\/p>\n<p>There are many types of virtual\u00a0 hard disks but the VDI option is just fine for our purposes.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"image\" alt=\"image\" src=\"http:\/\/cdn5.howtogeek.com\/wp-content\/uploads\/2013\/04\/image38.png\" width=\"656\" height=\"300\" border=\"0\" \/><\/p>\n<p>Fixed size disks give slightly better performance from a HDD point of view and quite frankly we need all the performance we can get. So flip the radio over to the Fixed size option, then click next.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"image\" alt=\"image\" src=\"http:\/\/cdn5.howtogeek.com\/wp-content\/uploads\/2013\/04\/image39.png\" width=\"656\" height=\"300\" border=\"0\" \/><\/p>\n<p>The minimum recommended space for Windows 7 is 25GB but if you have the extra space increasing it to 30GB doesn\u2019t hurt.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"image\" alt=\"image\" src=\"http:\/\/cdn5.howtogeek.com\/wp-content\/uploads\/2013\/04\/image40.png\" width=\"656\" height=\"300\" border=\"0\" \/><\/p>\n<p>Once VirtualBox has finished creating our drive we are good to go.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"image\" alt=\"image\" src=\"http:\/\/cdn5.howtogeek.com\/wp-content\/uploads\/2013\/04\/image41.png\" width=\"656\" height=\"300\" border=\"0\" \/><\/p>\n<p>We still need to configure some settings though, so before you get too excited click on the Machine menu and select the Settings\u2026. option.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"image\" alt=\"image\" src=\"http:\/\/cdn5.howtogeek.com\/wp-content\/uploads\/2013\/04\/image42.png\" width=\"656\" height=\"300\" border=\"0\" \/><\/p>\n<p>When the settings dialog opens, switch over to the storage section, then click on the empty IDE controller which can be found on the right-hand side.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"image\" alt=\"image\" src=\"http:\/\/cdn5.howtogeek.com\/wp-content\/uploads\/2013\/04\/image43.png\" width=\"656\" height=\"300\" border=\"0\" \/><\/p>\n<p>Now look even further to the right and click on the little icon of a CD, here you will want to choose to insert a virtual CD\\DVD into the drive.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"image\" alt=\"image\" src=\"http:\/\/cdn5.howtogeek.com\/wp-content\/uploads\/2013\/04\/image44.png\" width=\"656\" height=\"300\" border=\"0\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"image\" alt=\"image\" src=\"http:\/\/cdn5.howtogeek.com\/wp-content\/uploads\/2013\/04\/image45.png\" width=\"656\" height=\"300\" border=\"0\" \/><\/p>\n<p>Finally we want to head over to the network section and change the network settings from NAT to Internal Network.\u00a0This is very important.\u00a0If you don\u2019t do this, you can\u2019t create a network just for your virtual machines to talk to each other.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"image\" alt=\"image\" src=\"http:\/\/cdn5.howtogeek.com\/wp-content\/uploads\/2013\/04\/image46.png\" width=\"656\" height=\"300\" border=\"0\" \/><\/p>\n<p>Once you are done with all that you can go ahead and start the machine.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"image\" alt=\"image\" src=\"http:\/\/cdn5.howtogeek.com\/wp-content\/uploads\/2013\/04\/image47.png\" width=\"656\" height=\"300\" border=\"0\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"image\" alt=\"image\" src=\"http:\/\/cdn5.howtogeek.com\/wp-content\/uploads\/2013\/04\/image48.png\" width=\"656\" height=\"300\" border=\"0\" \/><\/p>\n<p>Once it has booted it will be just like any other Windows 7 installation. Now that we have a working virtual machine, you will want to go ahead and set up one or two more clients (running Windows 7) and perhaps a single virtual machine running Windows Server 2008 R2 for our upcoming Geek School articles covering Windows Server.<\/p>\n<h3>Configuration<\/h3>\n<p>Press the Windows + R keyboard combination to open a run box on your virtual machine, then type ncpa.cpl and press enter.<\/p>\n<p><a href=\"http:\/\/cdn5.howtogeek.com\/wp-content\/uploads\/2013\/04\/image58.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" alt=\"image\" src=\"http:\/\/cdn5.howtogeek.com\/wp-content\/uploads\/2013\/04\/image_thumb.png\" width=\"656\" height=\"306\" border=\"0\" \/><\/a><\/p>\n<p>Right click on your network adapter and open the properties.<\/p>\n<p><a href=\"http:\/\/cdn5.howtogeek.com\/wp-content\/uploads\/2013\/04\/image59.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" alt=\"image\" src=\"http:\/\/cdn5.howtogeek.com\/wp-content\/uploads\/2013\/04\/image_thumb1.png\" width=\"656\" height=\"306\" border=\"0\" \/><\/a><\/p>\n<p>Then select Internet Protocol Version 4 (TCP\/IPv4) and click the properties button.<\/p>\n<p><a href=\"http:\/\/cdn5.howtogeek.com\/wp-content\/uploads\/2013\/04\/image60.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" alt=\"image\" src=\"http:\/\/cdn5.howtogeek.com\/wp-content\/uploads\/2013\/04\/image_thumb2.png\" width=\"656\" height=\"306\" border=\"0\" \/><\/a><\/p>\n<p>Now change the radio button option to allow a static IP address assignment, then set your IP to 192.168.1.1 and your subnet mask to 255.255.255.0 before clicking OK to apply the settings.<\/p>\n<p><em>Note: For each virtual machine you bring on the network you will need to increment the last digit in the IP address by 1. That means your first virtual machine will be 192.168.1.1 and your second will be 192.168.1.2. The subnet mask must stay the same for all virtual machines.<\/em><\/p>\n<p><a href=\"http:\/\/cdn5.howtogeek.com\/wp-content\/uploads\/2013\/04\/image61.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" alt=\"image\" src=\"http:\/\/cdn5.howtogeek.com\/wp-content\/uploads\/2013\/04\/image_thumb3.png\" width=\"656\" height=\"306\" border=\"0\" \/><\/a><\/p>\n<p>You should now be able to ping any virtual machine from any other virtual machine.<\/p>\n<p><a href=\"http:\/\/cdn5.howtogeek.com\/wp-content\/uploads\/2013\/04\/image62.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" alt=\"image\" src=\"http:\/\/cdn5.howtogeek.com\/wp-content\/uploads\/2013\/04\/image_thumb4.png\" width=\"656\" height=\"306\" border=\"0\" \/><\/a><\/p>\n<p>That\u2019s all there is to it.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; Our Geek School articles can get pretty complicated, and there\u2019s no reason to do a ton of crazy stuff on your own desktop PC. Instead, you can just VirtualBox like we do to create virtual machines for all of your testing. Here\u2019s how to do it. You can even network multiple virtual machines together, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7,41,53],"tags":[],"class_list":["post-1518","post","type-post","status-publish","format-standard","hentry","category-computer-tech-stuff","category-virtual-box-open-source-software","category-virtualization-virtual"],"_links":{"self":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts\/1518","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1518"}],"version-history":[{"count":1,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts\/1518\/revisions"}],"predecessor-version":[{"id":1519,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts\/1518\/revisions\/1519"}],"wp:attachment":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1518"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1518"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1518"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}