Learn How To Install Cygwin & Virtualbox

0
201
Install Cygwin & Virtualbox

Cygwin is a command line interface for Microsoft Windows. It provides windows based applications, data, and other system resources. The installation directory (by default, c:\cygwin) is the root of the Unix-like file system, which contains bins, home, tmp, and usr directories that you would usually find on a GNU/Linux or other Unix systems. VirtualBox is deceptively simple yet also very powerful cross-platform virtualization application. It can run everywhere from small embedded systems or desktop class machines all the way up to data center deployments and even Cloud environments.

VirtualBox allows you to run more than one operating system at a time.

Cygwin and VirtualBox are extremely useful for developers who are looking to ramp up their production to the next level. It is also great for creating applications that you want to run on multiple platforms using one set of coding.

In this article, you will learn how to install Cygwin & Virtualbox tools in a simple manner.

Step 1 – First install Cygwin from https://cygwin.com/install.html. And select the appropriate system setting.

install Cygwin

Step 2 – Click on the downloaded Cygwin file and install it.

Cygwin Setup

Step 3 – You can choose the install from internet option and click on next.

install from internet

Step 4 – Select the Root Directory Path where you want to install Cygwin on your DRIVE and Click on Next – >

Root Directory Path

Step 5 – Select the Local Package Directory path to install cygwin on your pc and click on Next ->

Local Package Directory path

Step 6 – Select Your Internet Connection type – It’s best to choose the Direct Connection Option, and click on Next.>

Select Your Internet Connection Type

Step 7 – Select the download site – http:// cygwin.mirrors.hoobly.com and click on Next.

cygwin.mirrors

Step 8 – Select the Packages and check any updates that you want to install and click on Next.

Select the Packages

Step 9 – After the installation is complete, click on the Create Icon On Desktop and Finish the installation. You have now successfully installed Cygwin on your system.

Create Icon On Desktop

Let’s now move on to Setting Up Windows Environment

Steps To Setting Up The Environment:

Step 1 – Open the Control Panel and choose your System.

Control Panel

Step 2 – Click on the Advanced System Settings and select Environment variable under the Advanced tab in System Properties.

Advanced System Settings

Step 3 – After Selecting the Environment Variable, select the User Variables and the System Variable.

Environment Variable

Step 4 – Edit “System Variable” to as follows:

Variable Name to Path and add”; C:\cygwin\bin” to the Variable value: (semicolon is very important). Click Ok.

System Variable
Run the Cygwin64 terminal.

Run Cygwin64 terminal

Installing Virtualbox-

Step 1 – First download Virtualbox. from https://www.virtualbox.org/wiki/Downloads.

Virtualbox

Step 2 – Click on Next to start installation setup of virtualbox.

setup of virtualbox

Step 3 – On the Ready to install setup wizard, click on “Install”

install setup wizard

Step – 4 – This will open the VM virtualbox setup wizard and start your installation.

VM virtualbox setup wizard

Step 5 – After the installation completes, “Click the Finish Button To Exit The Setup Wizard” and click on Finish.

05

Step 6 – This will open the New Oracle VM VirtualboxManager. Click on New icon to create a virtualbox.

Oracle VM Virtualbox Manager

Step 7 – On the Create Virtual Machine Panel, add the Name and Type and Version andclick on Next.

Create Virtual Machine Panel

Step 8 – Allocate the appropriate Memory Size and click on Next

Memory Size

Step 9 – After allocating the memory size, select the “Create a virtual Hard Disk now” and click on Create >

Create a virtual Hard Disk now

Step 10 – After creating a virtual hard disk. Choose the file type of file such as VDI “Virtual Disk Image” and click on Next

Virtual Disk Image

Step 11 – Select ”Dynamically Allocated” on the Storage on Physical Hard Disk and Click on Next

Dynamically Allocated

Step 12 – Finally Allocate the File Location And Size. Click on Create to start creating the virtual box.

File Location And Size

Step 13 – This will bring you to the Oracle VM VirtualBox demo, on this panel Click on the Start button to Run Created Virtualbox.

Oracle VM VirtualBox demo

Step 14 – This Oracle VM Virtualbox Manager shows the running “ubuntu_default_1” VM Virtualbox.

Oracle VM Virtualbox Manager

Step 15 – Then run Vagrant on new ubuntu_default_1 VM Window.

ubuntu_default_1

Congratulations, your new Linux and Virtual Containers are successfully running on your system. Now, all you need to do is go ahead and start coding!

LEAVE A REPLY

Please enter your comment!
Please enter your name here