This post shows you how to create a Ubuntu virtual machine that runs on a Mac, giving you the ability to use Linux without needing extra hardware.
Useful photo step by step: https://photos.app.goo.gl/oMUz4dC7teMkEaif9
I have soma, but not totally, info
- I get help from here:
- And from here:
Introduction
VMware Fusion is a desktop virtualisation program that lets me run multiple different operating systems on main Mac at the same time. This is useful because I can test mine software.
It’s also good for creating virtual Labs to test the design of IT infrastructure, or to get hands-on experience with new technology when practicing for a certification.
In this post, I’ll use VMware Fusion to create a Ubuntu Server 18.04 VM so I can run Linux on mine Mac without needing extra hardware.
Before starting to Install I have to download Ubuntu Server 18.04.4 LTS.
Minimum system requirement for Ubuntu 18.04 Server
- 2 GB RAM
- 20 GB hard disk Space
- Dual core Processor (2 GHZ)
- Installer Media (USB / DVD)
I will install with this system requirement but I will try to change, make smaller, after totally installing it, depending on the project I use.
Step 1. Create the Ubuntu VM
Useful photo step by step: https://photos.app.goo.gl/oMUz4dC7teMkEaif9
- Open VMware Fusion, click + then New… . Then select Create a custom virtual machine then click Continue.
- Select Linux > Ubuntu 64-bit then click Continue.
- Leave the firmware on Legacy BIOS then click Continue.
- Select Create a new virtual disk then click Continue.
- Click Customize Settings.
Give the virtual machine a name, for example ubuntu, select a location on your Mac to save its files, then click Save. After this I go to the next step.
- The virtual machine Settings screen will load, and from here, I can change the virtual hardware before powering it on. But first thing I decide is to clicking on Processors & Memory and chose the minimum given value.
Verify ad discover that the amount of memory is to 2048 MB, chose 2 processors then click Show All to view all the settings again.
I also need to attach the Ubuntu ISO to the CD/DVD ROM drive so that when I power on the VM, the installer is loaded. I’ll do that now by clicking on CD/DVD (SATA).
- Select Choose a disc or disc image… from the dropdown.
- Browse to the location of the Ubuntu image located on your Mac, then click Open. Then… Tick the Connect CD/DVD Drive option so that the drive is connected to the VM at startup then close the Settings scr
- Next click the play button to start the VM.
- The Ubuntu Server installer should load and I’m now ready to install the operating system.
Step 2. Installing Ubuntu
I keep all that was already chased and I just go farther. I also install the OpenSSH server, so I can connect to the VM from the Mac terminal using SSH.
- Continue without updating …
- Done …
- Done …
- Done …
- Done …
- Use An Entire Disk …
- Local disk 20 G
- Done …
- Continue …
- Done …
- Done …
- Go full down …
- Change upgrade and reboot …
- I do not wait to make upgrade because I want to decide when to make upgrade. I go farther …
- The final power-on screen …
Useful photo step by step: https://photos.app.goo.gl/oMUz4dC7teMkEaif9
Final thoughts
In this installation I learned some of the reasons why I might want to use virtualisation to run a Linux virtual machine on mine Mac. I used VMware Fusion to create a Ubuntu 18.04 VM.