<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Ejiroghene</title>
    <description>The latest articles on DEV Community by Ejiroghene (@jiroghene).</description>
    <link>https://dev.to/jiroghene</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F239416%2F0f9fb28b-4511-4078-8ca7-95a1fbd4dcef.jpg</url>
      <title>DEV Community: Ejiroghene</title>
      <link>https://dev.to/jiroghene</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/jiroghene"/>
    <language>en</language>
    <item>
      <title>How to Run Linux OS - Ubuntu on MacBook using VirtualBox</title>
      <dc:creator>Ejiroghene</dc:creator>
      <pubDate>Thu, 18 Jun 2026 16:42:43 +0000</pubDate>
      <link>https://dev.to/jiroghene/how-to-run-linux-os-ubuntu-on-macbook-using-virtualbox-2216</link>
      <guid>https://dev.to/jiroghene/how-to-run-linux-os-ubuntu-on-macbook-using-virtualbox-2216</guid>
      <description>&lt;p&gt;P.S. I documented this as a guide which I can always come back to in case I forget, as well as to help anyone in similar situation.&lt;/p&gt;

&lt;p&gt;I just recently started out in Devops and one thing i realised is that the primary environment of operation when it comes to Devops is Linux based systems. I use a MacBook and i didn't want to go through the stress of dual-booting so i opted for the best alternative which is installing a VirtualBox and creating a virtual machine ontop which the OS will be installed. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Key definition&lt;/strong&gt;;&lt;/p&gt;

&lt;p&gt;VirtualBox - A software that allows you to run multiple operating systems on a single computer. It acts like a computer within a computer by creating an isolated environment in which an operating system can run.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;STEP 1 - Download VirtualBox&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Goto &lt;a href="https://www.virtualbox.org/wiki/Downloads" rel="noopener noreferrer"&gt;https://www.virtualbox.org/wiki/Downloads&lt;/a&gt; to download the VirtualBox software.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Under VirtualBox platform packages, select and click your type of system; I’ll be selecting macOs/Intel hosts as my system platform.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F5vo5z1ksucul45vrn58s.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F5vo5z1ksucul45vrn58s.png" width="800" height="374"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;This begins downloading the application for the platform you chose. After downloading, double click on the application to install on your system.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;STEP 2 - Download Ubuntu ISO image&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Goto &lt;a href="https://ubuntu.com/download/server" rel="noopener noreferrer"&gt;https://ubuntu.com/download/server&lt;/a&gt; and click download. This will download the Ubuntu ISO image which we’ll later install after setting up our virtual machine. &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;STEP 3 - Creating the VM&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Launch the VirtualBox application&lt;/li&gt;
&lt;li&gt;On the toolbar, click on New - this will open a window modal where you enter the name and select the type of Operating system you wish to install; See image below.

&lt;ul&gt;
&lt;li&gt;Name: Give it a descriptive name&lt;/li&gt;
&lt;li&gt;Type: Linux&lt;/li&gt;
&lt;li&gt;Version: Ubuntu (64 - bit)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fswmvnypbrbamhg5hx6q8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fswmvnypbrbamhg5hx6q8.png" width="800" height="468"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Click continue; The memory size you allocate is dependent on how much memory you have on your host machine. If your system has a memory of 8GB, you can allocate a the memory size of 4GB for the OS on your virtual box, else, use the recommended size&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F6dlgtgd41nri859jzm68.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F6dlgtgd41nri859jzm68.png" width="800" height="478"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Create virtual hard disk - VDI format - Dynamically allocated (at least 25GB)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fqa1d6m5w5fi2acb4lf9d.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fqa1d6m5w5fi2acb4lf9d.png" width="800" height="533"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;After the VM has been created, “Primary Ubuntu” in this case;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;On the toolbar, navigate to Settings → Systems → Processors, give it 2 CPUs&lt;/li&gt;
&lt;li&gt;Under Settings → Display, set Video Memory to 128MB and enable 3D acceleration if available&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Flj7o1z6e4epj3985z27x.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Flj7o1z6e4epj3985z27x.png" width="800" height="470"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F527y1dysic8uhkpp5b5z.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F527y1dysic8uhkpp5b5z.png" width="800" height="753"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fh4itdfxdnnz56h7y889p.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fh4itdfxdnnz56h7y889p.png" width="800" height="755"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;STEP 4 - Installing the Ubuntu ISO image&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Next, we’ll be installing Ubuntu on the virtual machine we just configured. &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Navigate to Settings → Storage → click the empty optical drive → select the Ubuntu ISO you downloaded&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fcz0homph0asxhlbuo7rz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fcz0homph0asxhlbuo7rz.png" width="800" height="687"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F55hdvr4au832tce6o3de.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F55hdvr4au832tce6o3de.png" width="800" height="685"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Click on ok, and then start the VM by clicking the start icon on the tool bar, or double clicking on the VM  — it'll boot into the Ubuntu installer&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ftylwmjww0mmktnlqhpvk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ftylwmjww0mmktnlqhpvk.png" width="799" height="469"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Select the first option - Try and install Ubuntu and follow the prompts.&lt;/li&gt;
&lt;li&gt;Choose "Normal installation", select "Erase disk and install Ubuntu" (this only erases the virtual disk, not your Mac)&lt;/li&gt;
&lt;li&gt;Follow prompts for username/password, then let it install and reboot&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I hope you find the above guide helpful :)&lt;/p&gt;

</description>
      <category>devops</category>
      <category>ubuntu</category>
      <category>virtualmachine</category>
      <category>tutorial</category>
    </item>
  </channel>
</rss>
