Installing Linux OS on Virtual Box

In order to prepare a node to install Hadoop  , you can either install Linux on Virtual Box or VMware Player /VMware Fusion .

Let follow the steps to install the Linux OS on Virtual Box.

STEP 1

You can download the current version of Virtual box for Linux ,Window or Mac as per your requirement  HERE .

The current version of Linux ubuntu can be downloaded from HERE .(I personally prefer the server version.)

STEP 2

Let’s start with a new virtual machine creation on the Oracle VM virtual box that you should have already installed following the instruction from  Virtual box download link.

img2_LI

img1_LI

Provide the name to your machine and select the create a new virtual hard disk. As we are installing a Linux OS ,go ahead and select the Linux type and the version that you are going to install. Click Create.

STEP 3

img3 (3)_LI

Here you are creating a fixed size virtual Hard disk . 8 GB the minimum suggested RAM for any node on Hadoop cluster. You can increase the size for better performance. Click Create and the system will create the fixed storage medium.

 

img5 (2)

STEP 4

The previous step creates your node but you still have an empty node without any Operating system.

 

img6 (3)_LI

Select the Node  that was created and go into the Settings.

Select Storage.you should find that the controller : IDE is empty .

img7 (2)_LI

Select the drop down and from the folder choose the iso you would have downloaded from the Linux website earlier.(In my case , I have installed the ubuntu server 64 bit version.).Click Ok.

STEP 5

Start the node and follow the installation steps to install the OS in case of  real hard drive.

img10 (2)

 

Provide the Node with a hostname and also an alternate user name than the root.

VirtualBox_Ubuntu1_10_04_2017_13_59_48

STEP 6

 

As I am going to install MapR on this node , a mandatory step is creating mapr user account.

VirtualBox_Ubuntu1_10_04_2017_14_00_47

VirtualBox_Ubuntu1_10_04_2017_14_14_24

Test logging in the node.

STEP 7

img11 (2)

Also make sure that you test that the IDE is empty again so that it does not load from the CD/DVD device or iso again and again,

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s