Installation of CentOS in VirtualBox. Installation of CentOS in VirtualBox
Follow the steps:-
1. Install VirtualBox latest version (if not already installed.)
Note: In BIOS, you must enable "Enable Intel Virtualization Technology (also known as Intel VT) or AMD-V depending on the brand of the processor."
2. Create "New" virtual machine with name ind-sim-lnx-15 with "Linux" & "Other Linux 64"...Next
3. Select "Memory Size" (i.e. RAM 512 MB or suitable to run your models)...Next
4. "Hard Drive" (Create virtual hard drive now)...Create
5. Select default "VDI"...Next
6. Select "Dynamically allocated" if you are short of hard disk space but it is bit slow. If you have enough disk space then select "Fixed Size"...Next
(Note: On next page you can select the location where virtual disk will be saved. Hence, you can use any location.)
7. Select the location where the virtual hard disk will be stored and specify the suitable size of the disk...Create
(Note: With fixed size, it will reserve the specified disk space right away and would take more time to create.)
8. Now, Start virtual machine.
9. When, it asks for Linux DVD, select CENTOS dvd at "Z:\Softwares\Linux\CentOS".
10. Now you can refer to visual screen shots on following site along with instructions:
11. Select Install or Upgrade existing system options.
12. Choose skip media test as it may take long time to check media.
13. CentOS 6.3 Welcome Screen press Next.
14. Language Selection (default).
15. Select appropriate Keyboard (default).
16. Select "Basic Storage Device" (Applicable since if your hard drive is attached locally.)
17. You may get Storage Device warning, you can click Yes, discard any data button to Continue.
18. Give a Hostname to the server and click on Configure Network button if you want to configure network while installation.
- HostName Hint : ind-sim-lnx-15
- Network: Configure network with Ip v4 settings.
- Switch ON connect automatically.
- Select "Automatic (DHCP)"
- Switch ON "Require IPV4 addressing for this ...."
19. Select Time Zone (Asia/Kolkata)...Next.
20. Give a root password...Next.
21. Select partitioning:
- "Use All space"
- Switch ON "Review and modify partitioning layout"
22. Verify filesystem. Here, you can edit (Advanced user) filesystem if you want...Next
23. Disk Format Warning, click on "Format".
24. Select Write Changes to disk...Next
25. Hard Drive is Formatting message...
26. Do **NOT** provide any boot loader password...Next
27. Select the applications you want to install, you can choose "Customize now" at the bottom and click Next.
28. Select the applications you want to install and click Next.
- Select KDE desktop in Desktop
- Select Eclipse under development
- Select anyother softwares to install
29. Installation started, this may take several minutes as per selection of packages.
30. Reboots the system after installation finish.
31. Accept license aggreement...Forward
32. Provide the username and password for your regualar work (Note: It is separate from root password.)...Forward
33. Set date-time (Enable synhronize if you wish.)
34. Enable Kdump.
35. Reboots machine.
36. Installing Guest Additions: On virtual box file menu bar
- Click "Devices -- Install guest additions" on virtual box machine menu bar (not in Linux).
- Select defaults to install guest additions (It will ask root password).
37. Shut down the system ("System -- Shut Down" on Linux menu bar.).
38. Mount (Auto Mount) drives using "Shared Folder":
- Open virtual machine settings.
- Goto "Shared Folders".
- Select "Machine Folders" and hit "Add i.e. +" button on right.
- With "Folder Path" click combo and select "Other Folders" and browse to the folder to mount.
- Select "Auto Mount" so that everytime it is mounted.
- Selct if you want to make it "Read Only"
39. Switch on the machine.
40. Select "KDE" at the bottom combo-box and then login.
41. Enable Shared Clipboard using "Deivces -- Shared Clipboard -- Bidirectional" so that you can copy text between host and guest.
42. Goto "KickOff App. Launcher" on left-bottom similar to windows start and then "Applications -- Utilities -- Terminal".
(Note: Right click on "Terminal" option and "Add to desktop" so that it is handy later.)
Tags: Installation of CentOS in VirtualBox