{"id":428,"date":"2021-01-30T14:57:49","date_gmt":"2021-01-30T19:57:49","guid":{"rendered":"https:\/\/carminebufano.com\/?p=428"},"modified":"2021-01-30T15:03:43","modified_gmt":"2021-01-30T20:03:43","slug":"install-virtual-box-on-ubuntu-16-04-on-a-digitalocean-droplet","status":"publish","type":"post","link":"https:\/\/carminebufano.com\/index.php\/2021\/01\/30\/install-virtual-box-on-ubuntu-16-04-on-a-digitalocean-droplet\/","title":{"rendered":"How to Install Oracle Virtual Box on Ubuntu 16.04 on a DigitalOcean Droplet"},"content":{"rendered":"\n<p>I wanted to circumvent my residential FIOS with my one dynamic public ip in my home lab without upgrading to a commercial account with Verizon. Right now I&#8217;m enjoying 1Gig up and down. One look at commercial prices and its a small fortune for static ip&#8217;s and the same residential speed..<\/p>\n\n\n\n<p>I had the idea of tunneling public ip&#8217;s from a public cloud to my home lab. Once i get this working I will post the steps to re create this scenario. <\/p>\n\n\n\n<p>However in my testing I want to run a hypervisor and openvswitch on Digital Ocean to test a software vtep with openvswitch as its base. These are the steps to install a headless Virtual Box. I created two of them. One instance of Virtual Box is running nested on ESXi 6.7 in a Ubuntu 16.04 server vm and the other on Digital Ocean.<\/p>\n\n\n\n<p><strong><span style=\"text-decoration: underline;\"><span class=\"has-inline-color has-vivid-green-cyan-color\">These are the steps to install VirtualBox on a Digital Ocean Ubuntu server 16.04 Droplet.<\/span><\/span><\/strong><\/p>\n\n\n\n<p>Log into your instance using a ssh client.<\/p>\n\n\n\n<p>type as root or use sudo:<\/p>\n\n\n\n<pre class=\"\">sudo apt-get -y install gcc make linux-headers-$(uname -r) dkms<\/pre>\n\n\n\n<p>Next, these commands will add the Vbox repository and key:<\/p>\n\n\n\n<pre class=\"\">wget -q https:\/\/www.virtualbox.org\/download\/oracle_vbox_2016.asc -O- | sudo apt-key add - <\/pre>\n\n\n\n<pre class=\"\">wget -q https:\/\/www.virtualbox.org\/download\/oracle_vbox.asc -O- | sudo apt-key add -<\/pre>\n\n\n\n<pre class=\"\">sh -c 'echo \"deb http:\/\/download.virtualbox.org\/virtualbox\/debian $(lsb_release -sc) contrib\" >> \/etc\/apt\/sources.list'<\/pre>\n\n\n\n<p>Next update and install<\/p>\n\n\n\n<pre class=\"\">sudo apt-get update<\/pre>\n\n\n\n<pre class=\"\">sudo apt-get install virtualbox-5.2<\/pre>\n\n\n\n<p>Oracle Virtualbox is now installed! <\/p>\n\n\n\n<p>However lets also install the extension pack.<\/p>\n\n\n\n<pre class=\"\">curl -O http:\/\/download.virtualbox.org\/virtualbox\/5.2.4\/Oracle_VM_VirtualBox_Extension_Pack-5.2.4-119785.vbox-extpack<\/pre>\n\n\n\n<pre class=\"\">sudo VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-5.2.4-119785.vbox-extpack<\/pre>\n\n\n\n<p>Tada! you can test the install with VboxManage -v<\/p>\n\n\n\n\n\n\n\n\n","protected":false},"excerpt":{"rendered":"<p>I wanted to circumvent my residential FIOS with my one dynamic public ip in my home lab without upgrading to a commercial account with Verizon. Right now I&#8217;m enjoying 1Gig up and down. One look at commercial prices and its a small fortune for static ip&#8217;s and the same residential speed.. I had the idea&hellip; <a class=\"read-more\" href=\"https:\/\/carminebufano.com\/index.php\/2021\/01\/30\/install-virtual-box-on-ubuntu-16-04-on-a-digitalocean-droplet\/\">Read More<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[90,91,15],"tags":[85,79,55,80,84,86,22,81,87,56,83,89,60,46,47,78,82,88],"class_list":["post-428","post","type-post","status-publish","format-standard","hentry","category-openvswitch","category-virtualbox","category-walkthroughs","tag-16-04","tag-box","tag-digital","tag-digitalocean","tag-do","tag-headless","tag-how","tag-install","tag-nested","tag-ocean","tag-on","tag-oracle","tag-server","tag-to","tag-ubuntu-2","tag-virtual","tag-virtualbox","tag-virtualization"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":698,"url":"https:\/\/carminebufano.com\/index.php\/2024\/09\/20\/quality-free-resources-to-learn-programming\/","url_meta":{"origin":428,"position":0},"title":"Top 3 Online Resources to Learn Coding","author":"Carmine Bufano","date":"September 20, 2024","format":false,"excerpt":"Learn to write your own applications for fun and profit. Here are quality free resources online that I can personally vouch for. I get nothing for suggesting these websites.","rel":"","context":"In &quot;Announcements&quot;","block_context":{"text":"Announcements","link":"https:\/\/carminebufano.com\/index.php\/category\/announcements\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/carminebufano.com\/wp-content\/uploads\/2024\/09\/usefull-sites-learn-to-code.jpeg?fit=1200%2C686&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/carminebufano.com\/wp-content\/uploads\/2024\/09\/usefull-sites-learn-to-code.jpeg?fit=1200%2C686&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/carminebufano.com\/wp-content\/uploads\/2024\/09\/usefull-sites-learn-to-code.jpeg?fit=1200%2C686&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/carminebufano.com\/wp-content\/uploads\/2024\/09\/usefull-sites-learn-to-code.jpeg?fit=1200%2C686&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/carminebufano.com\/wp-content\/uploads\/2024\/09\/usefull-sites-learn-to-code.jpeg?fit=1200%2C686&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":709,"url":"https:\/\/carminebufano.com\/index.php\/2024\/11\/02\/how-to-fix-openstack-horizon-dashboard-on-centos-stream-9-error-invalidcachebackenderror\/","url_meta":{"origin":428,"position":1},"title":"How to Fix Openstack Horizon Dashboard on Centos Stream 9 error: InvalidCacheBackendError","author":"Carmine Bufano","date":"November 2, 2024","format":false,"excerpt":"If you have recently deployed Openstack Caracal with RDO Packstack you may run into a problem when you first load the Horizon Dashboard. If you get the \"Something went wrong\" text instead of the regular login page even though Packstack finished successfully check the following. Try the following: Login to\u2026","rel":"","context":"In &quot;Microstack&quot;","block_context":{"text":"Microstack","link":"https:\/\/carminebufano.com\/index.php\/category\/openstack\/microstack\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/carminebufano.com\/wp-content\/uploads\/2024\/11\/image-1.png?fit=1024%2C768&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/carminebufano.com\/wp-content\/uploads\/2024\/11\/image-1.png?fit=1024%2C768&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/carminebufano.com\/wp-content\/uploads\/2024\/11\/image-1.png?fit=1024%2C768&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/carminebufano.com\/wp-content\/uploads\/2024\/11\/image-1.png?fit=1024%2C768&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":100,"url":"https:\/\/carminebufano.com\/index.php\/2014\/09\/19\/how-to-install-oracle-java-7-on-ubuntu-14-04\/","url_meta":{"origin":428,"position":2},"title":"How to install Oracle Java 7 on Ubuntu 14.04","author":"Carmine Bufano","date":"September 19, 2014","format":false,"excerpt":"","rel":"","context":"In &quot;Walkthroughs&quot;","block_context":{"text":"Walkthroughs","link":"https:\/\/carminebufano.com\/index.php\/category\/walkthroughs\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":251,"url":"https:\/\/carminebufano.com\/index.php\/2014\/08\/25\/how-to-configure-many-web-servers-behind-one-public-ip\/","url_meta":{"origin":428,"position":3},"title":"How to self host many web servers with different domains &#038; URLs with one public IP","author":"Carmine Bufano","date":"August 25, 2014","format":false,"excerpt":"","rel":"","context":"In &quot;Ubuntu&quot;","block_context":{"text":"Ubuntu","link":"https:\/\/carminebufano.com\/index.php\/category\/ubuntu\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/carminebufano.com\/wp-content\/uploads\/2014\/08\/Pound-Proxy.vsdx_.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/carminebufano.com\/wp-content\/uploads\/2014\/08\/Pound-Proxy.vsdx_.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/carminebufano.com\/wp-content\/uploads\/2014\/08\/Pound-Proxy.vsdx_.jpg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/carminebufano.com\/wp-content\/uploads\/2014\/08\/Pound-Proxy.vsdx_.jpg?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":283,"url":"https:\/\/carminebufano.com\/index.php\/2017\/12\/26\/digital-ocean-how-to-download-a-copy-or-snapshot-of-your-droplet-or-vm-locally-and-run-it-on-your-own-server\/","url_meta":{"origin":428,"position":4},"title":"Digital Ocean How to download a copy or snapshot of your droplet or vm locally and run it on your own server","author":"Carmine Bufano","date":"December 26, 2017","format":false,"excerpt":"","rel":"","context":"In &quot;Announcements&quot;","block_context":{"text":"Announcements","link":"https:\/\/carminebufano.com\/index.php\/category\/announcements\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":187,"url":"https:\/\/carminebufano.com\/index.php\/2016\/02\/11\/how-to-password-protect-an-apache-apache2-web-page-or-directory\/","url_meta":{"origin":428,"position":5},"title":"How to Password Protect an Apache, Apache2 web page or Directory","author":"Carmine Bufano","date":"February 11, 2016","format":false,"excerpt":"","rel":"","context":"In &quot;Walkthroughs&quot;","block_context":{"text":"Walkthroughs","link":"https:\/\/carminebufano.com\/index.php\/category\/walkthroughs\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_shortlink":"https:\/\/wp.me\/p70MUT-6U","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/carminebufano.com\/index.php\/wp-json\/wp\/v2\/posts\/428","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/carminebufano.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/carminebufano.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/carminebufano.com\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/carminebufano.com\/index.php\/wp-json\/wp\/v2\/comments?post=428"}],"version-history":[{"count":9,"href":"https:\/\/carminebufano.com\/index.php\/wp-json\/wp\/v2\/posts\/428\/revisions"}],"predecessor-version":[{"id":437,"href":"https:\/\/carminebufano.com\/index.php\/wp-json\/wp\/v2\/posts\/428\/revisions\/437"}],"wp:attachment":[{"href":"https:\/\/carminebufano.com\/index.php\/wp-json\/wp\/v2\/media?parent=428"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/carminebufano.com\/index.php\/wp-json\/wp\/v2\/categories?post=428"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/carminebufano.com\/index.php\/wp-json\/wp\/v2\/tags?post=428"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}