{"id":911,"date":"2010-12-18T22:00:52","date_gmt":"2010-12-19T03:00:52","guid":{"rendered":"http:\/\/blog.timeoff.org\/rick\/?p=911"},"modified":"2010-12-28T00:43:19","modified_gmt":"2010-12-28T05:43:19","slug":"virtualbox-on-the-64-bit-ubuntu-server-10-10","status":"publish","type":"post","link":"https:\/\/blog.timeoff.org\/rick\/2010\/12\/18\/virtualbox-on-the-64-bit-ubuntu-server-10-10\/","title":{"rendered":"VirtualBox on the 64-bit Ubuntu Server 10.10"},"content":{"rendered":"<p><em>I recently set out to upgrade a virtual host server from VMware Server to Oracle&#8217;s VirtualBox. The upgrade was a huge success. This is one of several articles where I talk about various aspects of that upgrade, hopefully helping others along the way. You might want to go back and read the introductory article <a title=\"article: Virtualization Revisited\" href=\"https:\/\/blog.timeoff.org\/rick\/2010\/12\/13\/virtualization-revisited\/\" target=\"_self\">Virtualization Revisited<\/a>.<\/em><\/p>\n<p>Installing <a title=\"Ubuntu home page\" href=\"http:\/\/www.ubuntu.com\/\" target=\"_blank\">Ubuntu<\/a> Server 10.10 is very fast and straightforward \u00e2\u20ac\u201c maybe 10 minutes tops. There&#8217;s no shortage of coverage of the install procedure so I won&#8217;t bother with it again.<\/p>\n<p>But in case you&#8217;re not familiar, I&#8217;ll mention that the Ubuntu installer will offer to configure the server with a selection of packages right off the bat.\u00c2\u00a0Like many others, I prefer to do those configurations myself in order to tailor the instance exactly to my needs. I make an exception with Open SSH so I that can reach the server from the comfort of my desk by the time it&#8217;s booted itself for the first time.<\/p>\n<p>So let&#8217;s assume you&#8217;ve just finished the IPL, popped the install media, booted for the first time and logged in. The very first thing to do is catch up on any pending updates.<\/p>\n<p><code>$ sudo apt-get update<br \/>\n$ sudo apt-get upgrade<\/code><\/p>\n<p>For the sake of completeness, if anything is shown as <em>kept back<\/em> you should probably do a distribution upgrade followed by a reboot. If not, skip ahead.<\/p>\n<p><code>$ sudo apt-get dist-upgrade<br \/>\n$ sudo shutdown -r now<\/code><\/p>\n<p>Next I install <a title=\"Lugaru Software's home page\" href=\"http:\/\/www.lugaru.com\/\" target=\"_blank\">Lugaru\u00e2\u20ac\u2122s epsilon<\/a> editor, a very capable emacs-like editor that I run on all my boxes. Believe me: there\u00e2\u20ac\u2122s great value in having one editor that behaves in exactly the same way no matter what keyboard&#8217;s under your fingers! I\u00e2\u20ac\u2122ve been a Lugaru customer since the 80s and I&#8217;m pleased to recommend their rock-solid product. Go test fly their unrestricted trial-ware. Anyway, the epsilon installation needs to build a few things and installing this bit first allows that (as well as other routine software builds that might be needed in the future) to simply happen.<\/p>\n<p><code>$ sudo apt-get install build-essential<\/code><\/p>\n<h4>To The Business At Hand: Installing VirtualBox<\/h4>\n<p>Download the key and register the repository for VirtualBox. The key has changed recently, so what you see here might be different from other articles.<\/p>\n<p><code>$ wget -q http:\/\/download.virtualbox.org\/virtualbox\/debian\/oracle_vbox.asc -O- | sudo apt-key add -<\/code><\/p>\n<p>The key fingerprint is<\/p>\n<p><code>7B0F AB3A 13B9 0743 5925  D9C9 5442 2A4B 98AB 5139<br \/>\nOracle Corporation (VirtualBox archive signing key) info@virtualbox.org<\/code><\/p>\n<p>Edit the file <code>\/etc\/apt\/sources.list<\/code> to add the following lines, which simply adds the appropriate repository.<\/p>\n<p><code># VirtualBox 3.2.10 VirtualBox for Ubuntu 10.10 Maverick Meerkat<br \/>\ndeb http:\/\/download.virtualbox.org\/virtualbox\/debian maverick non-free<\/code><\/p>\n<p>Make your system aware of the newly added repository.<\/p>\n<p><code>$ sudo apt-get update<br \/>\n$ sudo apt-get upgrade<\/code><\/p>\n<p>Now you\u00e2\u20ac\u2122re ready for the actual VirtualBox install.<\/p>\n<p><code>$ sudo apt-get install virtualbox-3.2<\/code><\/p>\n<p>Finally, add any users that will need to run VirtualBox to the <code>vboxusers<\/code> group.<\/p>\n<p><strong>Don&#8217;t forget the <code>-a<\/code> flag<\/strong> in the command! This is <em>especially<\/em> important if you&#8217;re manipulating your administrator account. (The flag indicates that the group should be <em>added<\/em> to the the account, rather than <em>replacing<\/em> any\/all existing groups.)<\/p>\n<p><code>$ sudo usermod -a -G vboxusers &lt;username&gt;<\/code><\/p>\n<p>And that&#8217;s all there is to it!<\/p>\n<p>[ed. Appended later&#8230;]<\/p>\n<p>There have been a couple of comments in email about networking setup. &#8220;You must not be making your VMs visible to your LAN. There&#8217;s nothing mentioned about bridge adapters&#8230;&#8221;<\/p>\n<p>In fact I <em>am<\/em> using bridged adapters in my VMs! Last time I looked at VirtualBox it was quite the pain to set up that way. When I came to that part I just gave it a WTF and tried to simply bridge <code>eth0<\/code>. It works just fine!<\/p>\n<p>Thanks for asking.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I recently set out to upgrade a virtual host server from VMware Server to Oracle&#8217;s VirtualBox. The upgrade was a huge success. This is one of several articles where I talk about various aspects of that upgrade, hopefully helping others along the way. You might want to go back and read the introductory article Virtualization &hellip; <a href=\"https:\/\/blog.timeoff.org\/rick\/2010\/12\/18\/virtualbox-on-the-64-bit-ubuntu-server-10-10\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">VirtualBox on the 64-bit Ubuntu Server 10.10<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[4],"tags":[51,8,7,81],"_links":{"self":[{"href":"https:\/\/blog.timeoff.org\/rick\/wp-json\/wp\/v2\/posts\/911"}],"collection":[{"href":"https:\/\/blog.timeoff.org\/rick\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.timeoff.org\/rick\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.timeoff.org\/rick\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.timeoff.org\/rick\/wp-json\/wp\/v2\/comments?post=911"}],"version-history":[{"count":0,"href":"https:\/\/blog.timeoff.org\/rick\/wp-json\/wp\/v2\/posts\/911\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.timeoff.org\/rick\/wp-json\/wp\/v2\/media?parent=911"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.timeoff.org\/rick\/wp-json\/wp\/v2\/categories?post=911"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.timeoff.org\/rick\/wp-json\/wp\/v2\/tags?post=911"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}