{"id":199,"date":"2012-10-22T23:01:58","date_gmt":"2012-10-23T04:01:58","guid":{"rendered":"http:\/\/nodakengineering.com\/?page_id=199"},"modified":"2015-11-03T21:07:28","modified_gmt":"2015-11-04T03:07:28","slug":"virtualization","status":"publish","type":"page","link":"https:\/\/nodakengineering.com\/?page_id=199","title":{"rendered":"Virtualization"},"content":{"rendered":"<p>In computing,\u00a0<a title=\"Virtualization on Wikipedia\" href=\"http:\/\/en.wikipedia.org\/wiki\/Virtualization\" target=\"_blank\"><strong>virtualization<\/strong><\/a>\u00a0(or\u00a0<strong>virtualisation<\/strong>) is the creation of a virtual (rather than actual) version of something, such as a hardware platform,\u00a0<a title=\"Operating system\" href=\"http:\/\/en.wikipedia.org\/wiki\/Operating_system\">operating system<\/a>\u00a0(OS), storage device, or network resources.<\/p>\n<figure id=\"attachment_322\" aria-describedby=\"caption-attachment-322\" style=\"width: 290px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/nodakengineering.com\/wp-content\/uploads\/2012\/10\/virtualization.gif\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-322\" title=\"virtualization\" src=\"http:\/\/nodakengineering.com\/wp-content\/uploads\/2012\/10\/virtualization-300x224.gif\" alt=\"\" width=\"300\" height=\"224\" srcset=\"https:\/\/nodakengineering.com\/wp-content\/uploads\/2012\/10\/virtualization-300x224.gif 300w, https:\/\/nodakengineering.com\/wp-content\/uploads\/2012\/10\/virtualization.gif 392w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-322\" class=\"wp-caption-text\">Virtualization<\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n<h2><a title=\"Optimizing XP for VM\" href=\"http:\/\/nodakengineering.com\/?page_id=68\">Optimizing XP for a Virtual Machine<\/a><\/h2>\n<p>Create a barebones installation of Windows XP for installation inside a VM. Why, do you ask? Well, as you know a default install of XP can top a couple gigs and the boot is not terribly quick. My optimized XP has a footprint of approximately 300 MB installed and boots in about 15 seconds in VirtualBox on my 2011 MacBook Air\u2026not too shabby.<\/p>\n<p>A quick look at what you\u2019ll need:<\/p>\n<ul>\n<li><a title=\"Windows eXperience\" href=\"http:\/\/windows.microsoft.com\/en-US\/windows\/products\/windows-xp\" target=\"_blank\">Windows XP<\/a>\u00a0(CD or ISO)<\/li>\n<li><a title=\"Deployment Tool for the Bootable Unattended Windows ISO\" href=\"http:\/\/www.nliteos.com\/\" target=\"_blank\">nLite<\/a><\/li>\n<li>Computer running VM (<a title=\"Oracle VirtualBox\" href=\"https:\/\/www.virtualbox.org\/\" target=\"_blank\">VirtualBox<\/a>\u00a0is recommended)<\/li>\n<\/ul>\n<p><strong>NOTE:<\/strong>\u00a0\u00a0My xpLite ISO came in at a slim 82 MB!<\/p>\n<p>&nbsp;<\/p>\n<h2><a title=\"Installing Optimized XP in VirtualBox\" href=\"http:\/\/nodakengineering.com\/?page_id=371\">Installing Optimized XP in VirtualBox<\/a><\/h2>\n<p>Last week I demonstrated how to create a custom Microsoft Windows XP setup ISO optimized for installation in a virtual machine environment using\u00a0<a title=\"Deployment Tool for the Bootable Unattended Windows ISO\" href=\"http:\/\/www.nliteos.com\/\" target=\"_blank\">nLite<\/a>. We started with an approximate 500 MB ISO and removed components\/services using the nLite utility and pared that down to less than 80 MB. This week I\u2019ll show you how well the unattended install works in\u00a0<a title=\"VirtualBox Website\" href=\"https:\/\/www.virtualbox.org\/\" target=\"_blank\">VirtualBox<\/a>\u00a0and the benefits of doing so.<\/p>\n<p>If you haven\u2019t done so yet, head over to the\u00a0<a title=\"VirtualBox Website\" href=\"https:\/\/www.virtualbox.org\/\" target=\"_blank\">VirtualBox<\/a>\u00a0website and get the binaries needed installed:<\/p>\n<p><a title=\"VirtualBox Downloads\" href=\"https:\/\/www.virtualbox.org\/wiki\/Downloads\" target=\"_blank\">https:\/\/www.virtualbox.org\/wiki\/Downloads<\/a><\/p>\n<h2><a title=\"CentOS Vagrant Base Box\" href=\"http:\/\/nodakengineering.com\/?page_id=852\">CentOS Vagrant Base Box<\/a><\/h2>\n<p>I will show how to create a headless\u00a0<a title=\"The Community ENTerprise Operating System\" href=\"http:\/\/www.centos.org\/\" target=\"_blank\"><strong>CentOS<\/strong>\u00a0<\/a>minimal installation \u201cbox\u201d using\u00a0<a title=\"Development environments made easy.\" href=\"http:\/\/www.vagrantup.com\/\" target=\"_blank\"><strong>Vagrant<\/strong>\u00a0<\/a>and\u00a0<strong><a href=\"https:\/\/www.virtualbox.org\/\" target=\"_blank\">VirtualBox<\/a><\/strong>. Similar results can be accomplished without Vagrant, but I find that with a little extra work, Vagrant adds enough value to make the effort worth it. According to their website:<\/p>\n<p>Vagrant is a tool for building complete development environments. With an easy-to-use workflow and focus on automation, Vagrant lowers development environment setup time, increases development\/production parity, and makes the \u201cworks on my machine\u201d excuse a relic of the past.<\/p>\n<p>Here\u2019s what you\u2019ll need (version used in this tutorial):<\/p>\n<ul>\n<li>Latest version of\u00a0<strong><a title=\"VirtualBox Downloads\" href=\"https:\/\/www.virtualbox.org\/wiki\/Downloads\" target=\"_blank\">VirtualBox<\/a>\u00a0<\/strong>(4.2.18)<\/li>\n<li><a title=\"CentOS 6.4 i386 minimal install\" href=\"http:\/\/mirrors.kernel.org\/centos\/6.4\/isos\/i386\/\" target=\"_blank\"><strong>CentOS<\/strong>\u00a0<\/a>Linux operating system\u201332-bit minimal installation ISO (6.4)<\/li>\n<li><strong><a title=\"Vagrant Downloads\" href=\"http:\/\/downloads.vagrantup.com\/\" target=\"_blank\">Vagrant<\/a>\u00a0<\/strong>(1.3.3)<\/li>\n<li><a title=\"Download PuTTY\" href=\"http:\/\/www.chiark.greenend.org.uk\/~sgtatham\/putty\/download.html\" target=\"_blank\"><strong>PuTTY<\/strong>\u00a0<\/a>(0.62) or\u00a0<strong><a href=\"http:\/\/git-scm.com\/\" target=\"_blank\">Git<\/a>\u00a0<\/strong>(1.8.4)<\/li>\n<\/ul>\n<p>Keep in mind, while I did this in Windows 7, the same can be accomplished in OSX and Linux. So let\u2019s get started and see how it\u2019s done. Click\u00a0<strong><a title=\"CentOS Vagrant Base Box\" href=\"http:\/\/nodakengineering.com\/?page_id=852\">here<\/a>\u00a0<\/strong>for the tutorial.<\/p>\n<p>Note: If all you want is the Vagrant box you can download it\u00a0<a title=\"CentOS 6.4 minimal Vagrant box\" href=\"http:\/\/nodakengineering.com\/wp-content\/uploads\/2013\/09\/centos64-32.box\" target=\"_blank\"><strong>here<\/strong><\/a>.<\/p>\n<h2><a title=\"Optimizing CrunchBang Linux for VirtualBox\" href=\"http:\/\/nodakengineering.com\/?page_id=940\">Optimizing CrunchBang Linux for VirtualBox<\/a><\/h2>\n<p><a title=\"CrunchBang Linux\" href=\"http:\/\/crunchbang.org\/\" target=\"_blank\">CrunchBang<\/a>\u00a0is an excellent version of Linux to run in\u00a0<a title=\"VirtualBox\" href=\"https:\/\/www.virtualbox.org\/\" target=\"_blank\">VirtualBox<\/a>\u00a0due to the fact that it\u2019s a nimble<a title=\"Openbox\" href=\"http:\/\/openbox.org\/\" target=\"_blank\">Openbox<\/a>\u00a0Linux distribution. That being said, the OS still requires tweaking after install in a VM to get the most performance and satisfaction out of it. I\u2019ve put together a guide to walk one through the installation and optimization settings. So take this opportunity to grab the requisite softwares:<\/p>\n<ul>\n<li><a title=\"VirtualBox Downloads\" href=\"https:\/\/www.virtualbox.org\/wiki\/Downloads\" target=\"_blank\">VirtualBox 4.3.8<\/a><\/li>\n<li><a title=\"CrunchBang Linux Downloads\" href=\"http:\/\/crunchbang.org\/download\/\" target=\"_blank\">CrunchBang Linux<\/a>\u00a0(recommend the 32-bit non-PAE)<\/li>\n<\/ul>\n<p>And then click\u00a0<strong><a title=\"Optimizing CrunchBang Linux for VirtualBox\" href=\"http:\/\/nodakengineering.com\/?page_id=940\">here<\/a>\u00a0<\/strong>to see how it\u2019s done.<\/p>\n<h2 class=\"title\"><a title=\"Permalink to Enable Auto Login in CrunchBang++\" href=\"http:\/\/nodakengineering.com\/?p=1186\">Enable Auto Login in CrunchBang++<\/a><\/h2>\n<div class=\"entry\">\n<p>Now that a suitable replacement for CrunchBang has come along, you can use my previous guide <strong><a href=\"http:\/\/nodakengineering.com\/?page_id=940\" target=\"_blank\">here<\/a><\/strong> for optimizing the lightweight <a href=\"http:\/\/crunchbangplusplus.org\/\" target=\"_blank\"><strong>CrunchBang++<\/strong><\/a> Linux operating system as a guest virtual machine. One difference you will find is how to enable auto-login now that the core Debian base has changed in Jessie. The easy method of using a GUI is no longer available, but fret not as the changes required are only minor to enable the auto-login functionality. See below for how it is done:<\/p>\n<ol>\n<li>Open a terminal window and run the following command to edit the proper config file:\n<ul>\n<li>\n<pre>$ sudo geany \/etc\/slim.conf<\/pre>\n<\/li>\n<\/ul>\n<\/li>\n<li>On line 37 delete the part of the login command after exec and up to the ampersand so the line now looks like this:\n<ul>\n<li>\n<pre>login_cmd          exec \/bin\/bash -login \/etc\/X11\/Xsession %session<\/pre>\n<\/li>\n<\/ul>\n<\/li>\n<li>Uncomment line 70 and change <strong>simone<\/strong> to your username:\n<ul>\n<li>\n<pre>default_user       nodakbarnes<\/pre>\n<\/li>\n<\/ul>\n<\/li>\n<li>Uncomment line 78 and change to <strong>yes<\/strong> to enable auto-login:\n<ul>\n<li>\n<pre>auto_login\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 yes<\/pre>\n<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p>That\u2019s it! Now save the file and reboot and enjoy not having to login in every time to your VM.<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>In computing,\u00a0virtualization\u00a0(or\u00a0virtualisation) is the creation of a virtual (rather than actual) version of something, such as a hardware platform,\u00a0operating system\u00a0(OS), storage device, or network resources. &nbsp; Optimizing XP for a Virtual Machine Create a barebones installation of Windows XP for installation inside a VM. Why, do you ask? Well, as you know a default install &#8230; <a title=\"Virtualization\" class=\"read-more\" href=\"https:\/\/nodakengineering.com\/?page_id=199\" aria-label=\"Read more about Virtualization\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":25,"menu_order":2,"comment_status":"closed","ping_status":"open","template":"page-without-sidebar.php","meta":{"footnotes":""},"class_list":["post-199","page","type-page","status-publish"],"_links":{"self":[{"href":"https:\/\/nodakengineering.com\/index.php?rest_route=\/wp\/v2\/pages\/199","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nodakengineering.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/nodakengineering.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/nodakengineering.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nodakengineering.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=199"}],"version-history":[{"count":18,"href":"https:\/\/nodakengineering.com\/index.php?rest_route=\/wp\/v2\/pages\/199\/revisions"}],"predecessor-version":[{"id":331,"href":"https:\/\/nodakengineering.com\/index.php?rest_route=\/wp\/v2\/pages\/199\/revisions\/331"}],"up":[{"embeddable":true,"href":"https:\/\/nodakengineering.com\/index.php?rest_route=\/wp\/v2\/pages\/25"}],"wp:attachment":[{"href":"https:\/\/nodakengineering.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=199"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}