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.
Step 2 – Click on the downloaded Cygwin file and install it.
Step 3 – You can choose the install from internet option and click on next.
Step 4 – Select the Root Directory Path where you want to install Cygwin on your DRIVE and Click on Next – >
Step 5 – Select the Local Package Directory path to install cygwin on your pc and click on Next ->
Step 6 – Select Your Internet Connection type – It’s best to choose the Direct Connection Option, and click on Next.>
Step 7 – Select the download site – http:// cygwin.mirrors.hoobly.com and click on Next.
Step 8 – Select the Packages and check any updates that you want to install and click on Next.
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.
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.
Step 2 – Click on the Advanced System Settings and select Environment variable under the Advanced tab in System Properties.
Step 3 – After Selecting the Environment Variable, select the User Variables and the System 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.
Run the Cygwin64 terminal.
Step 1 – First download Virtualbox. from https://www.virtualbox.org/wiki/Downloads.
Step 2 – Click on Next to start installation setup of virtualbox.
Step 3 – On the Ready to install setup wizard, click on “Install”
Step – 4 – This will open the VM virtualbox setup wizard and start your installation.
Step 5 – After the installation completes, “Click the Finish Button To Exit The Setup Wizard” and click on Finish.
Step 6 – This will open the New Oracle VM VirtualboxManager. Click on New icon to create a virtualbox.
Step 7 – On the Create Virtual Machine Panel, add the Name and Type and Version andclick on Next.
Step 8 – Allocate the appropriate Memory Size and click on Next
Step 9 – After allocating the memory size, select the “Create a virtual Hard Disk now” and click on Create >
Step 10 – After creating a virtual hard disk. Choose the file type of file such as VDI “Virtual Disk Image” and click on Next
Step 11 – Select ”Dynamically Allocated” on the Storage on Physical Hard Disk and Click on Next
Step 12 – Finally Allocate the File Location And Size. Click on Create to start creating the virtual box.
Step 13 – This will bring you to the Oracle VM VirtualBox demo, on this panel Click on the Start button to Run Created Virtualbox.
Step 14 – This Oracle VM Virtualbox Manager shows the running “ubuntu_default_1” VM Virtualbox.
Step 15 – Then run Vagrant on new ubuntu_default_1 VM Window.
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!