If you are a Linux/Unix expert and would prefer to use a commandline user interface to run/use Linux,
may be Vagrant is for you!
(On the other hand, if you would prefer to have a "desktop" user interface, then Vagrant would be wrong for you.)
Even with a commandline user interface, you can run applications with graphical user interfaces. But this would require you to run an X11 Window System. Therefore, before you install and run Vagrant, you need to first install X11 on your machine. All examples below will assume that you have a 64-bit machine since it's more common these days. Although inside a virtual machine, we will run a 32-bit Linux system (Ubuntu 16.04) since our assignments will be graded on a 32-bit Ubuntu 16.04 system.
The first step is to install X11 on Windows. My recommendation is to install
Cygwin, which is a Unix-like system that can be configured to run with an X11 server.
Please follow these steps to install Cygwin before proceeding.
Here are the quick and dirty steps to install Vagrant with VirtualBox:
Mac Os X is running Unix, but it's not running X11. Therefore, you need to first install X11.
Download and install XQuartz, which includes X11 server and client software.
After it's installed, run XQuartz.app from the Utilities folder in Applications.
You should get a window with "xterm" in the titlebar. This is your "terminal" window running a Unix "shell".
The rest of the procedure is the same as for Windows! The only difference is that instead of using a Cygwin Terminal, you will be using a "terminal/xterm". |