Translate

Friday 21 March 2014

BUILD YOUR OWN LINUX BOX USING VMWARE


1. Install the VMWARE WORKSTATION ( Not Covered in this post ).

2. Create a New Virtual machine

3. Click on Create a New Virtual Machine


4. Click Next. Click on the Browse Button and Select your Operating system


click Next

5. Select the location & name of your VM


click Next

6. Allocate Space for your VM. 


Click Next

7. Finalize your options



To customize choose Customize Hardware




After you customize click close.



Click Finish

8. Enterprise Linux Screen appears



Press Enter

Linux Server Boots & you get the welcome screen





toggle your keys and select skip



Press enter


At any point if you would like to return to your windows select ctrl+alt

9. Installation of Linux






Click Next






Select Yes




when the above screen pops up use the drop down list and select "Create Custom Layout"


Select Next


Click New Buttoon


Sample File System Layout

/ - 9GB
/tmp -2GB
/u01 - 10GB
/data-20GB
Swap - Depends on your Memory Allocated



Click Next



Click Next

If you want the SYSTEM to assign IPADDRESS go for DHCP


Click Next



Click Next

Enter the Root Password




Click Next


If you would like to customize by adding some package/features to your os please select the Customize Now radio button and click Next 


Click Next


Select each and every option on your left side. On your right side you get the rpm packages which will install the components that are required for your OS.





Click Optional Packages & select your optional packages.



Optional : If you want to install oracle database the below options are useful


If you are building an Oracle Box then the above options are very much useful. After selecting all the required rpms & components click close.


Click Next


Click Next


Click Next





Click Continue & Select the CD's when prompted.






When you get this screen you should select the second disc. 



Double click the CD button in Tray being displayed.


click Browse



Click ok

Note : CD button should show green button as it is seen in the above screenshot. Click ok

Similarly when it prompts for each & every CD use the same method.


Perform similar steps as you did for CD 2.


Perform similar steps as you did for CD 2.




Click Reboot 








Click Forward


Click Forward

Disable the Firewall




Click Yes 

Disable the SELinux


Click Forward & Yes



Click Forward


Click Forward

Create Users if Required



Click Forward


Click Finish

Click ok to Reboot the System




Right Click & open Terminal


Modify the Hostname


Click Network

Go to DNS tab and enter the Hotsname


Click Yes to save the Settings


Restart the Network


Open a New Terminal to view the hostname



Install VM Ware Tools for Copying files from local to Server, Changing the Display Settings.






VMWARE tools gets mounted



Copy VMWare Tools to Tmp and extract and install


tar -xvf filename

Install VMWare tools

./vmware-install.pl


Just press enter and go on until you get the below.

Note : If you get the same message for gcc then give no and proceed

Select the Screen Resolution




Install successful. 

Reboot the machine

init 6 as root user to reboot. 

Login to the Server



Server Install successful..


How to Use Putty like SSH Client to connect from  windows.

1. Download Putty

2. go to Server /sbin/ifconfig -a


ipaddress is the one which is present in eth0, eth0 being the network interface

3. Open your Putty and just enter the ip address and you can connect









Finally we have built a linux server.


No comments:

Post a Comment