Truemag

  • Categories
    • Tips And Tricks
    • Internet
    • PHP
    • Javascript
    • CSharp
    • SQL Server
    • Linux
  • Lastest Videos
  • Our Demos
  • About
  • Contact
  • Home
  • Write With Us
  • Job Request
Home Linux Install CentOS in VirtualBox

Install CentOS in VirtualBox

This tutorial will take you through the process on How to install/setup CentOS in VirtalBox. Although this post is focusing on CentOS but it can be used to install any operating system through VirutalBox, I think.

First, you may need to know what’s CentOS and what’s VirutalBox.

CentOS Overview

CentOS is an Enterprise-class Linux Distribution derived from sources freely provided to the public by a prominent North American Enterprise Linux vendor. CentOS conforms fully with the upstream vendors redistribution policy and aims to be 100% binary compatible. (CentOS mainly changes packages to remove upstream vendor branding and artwork.) CentOS is free.

About VirtualBox

VirtualBox is a general-purpose full virtualizer for x86 hardware, targeted at server, desktop and embedded use.


Below are main steps to install CentOS in VirtualBox:

1. Download and Install VirtualBox

Go to VirtualBox download page to download a version that matches your current OS.
The VirtualBox’s setup wizard makes this step really easy to make it’s up and running on your machine.

2. Download a version of CentOS ISO that matches with your need.

3. After installed the VirtualBox and downloaded a CentOS ISO file, you’re ready to create a new Virtual Machine

These steps are also super easy to do. Just follow the New Virtual Machine Wizard:

+ Name: enter something really simple that describes your box.

+ OS Type: choose the a Operating System/version that matches with your need. For CentOS, choose Operating System: Linux and Version: Linux x.x (x.x is version number, I selected Linux 2.6 – 64 bit)

+ Memory: select the amount of base memory (RAM) in Megabytes to be allocated to your Virtual Machine. Whenever the virtual machine is on it will immediately take up all the memory it was given. For example, if your computer has 4GBs of memory and your virtual machine is set to use 2GBs of memory then as soon as your virtual machine turns on 50% of your memory is in use.

+ Virtual Hard Disk: select a virtual disk to be used as the boot hard disk of your virtual machine.

+ Follow the rest of last steps to finish installing your virtual machine.

When you finished, if you try to start the virtual machine, you will get an error telling that no bootable medium was found. This is because there is no OS installed.

To install an OS start (boot) the virtual machine: on the bottom right of the virtual machine’s window you should see a grayed out CD, right click this CD and choose something likes “Choose a virtual CD/DVD disk file …” and find the ISO file for your Operating System your downloaded, in this case it’s CentOS ISO file. Select that and then reboot the virtual machine.

Once your machine reboots you should be able to install the OS from the ISO you mounted. After your OS has installed you can use your new virtual machine as if it were a new computer.

Hope it’s help for someone.

Feb 28, 2011Hoan Huynh
Xcode get current date, month, yearInstall LAMP (Apache, MySQL and PHP in Linux) on CentOS
You Might Also Like:
  • VirtualBox Install Mac OS X Mavericks
  • Install LAMP (Apache, MySQL and PHP in Linux) on CentOS
  • CentOS install PHP Json Extension by using PECL
  • centos -bash pecl command not found
  • How to install PHP extension without re-compiling PHP
  • Ubuntu CentOS Clear Filesystem Memory Cache
  • CentOS -bash: wget: command not found
  • How To Check Linux OS Version
  • Downgrade Firefox 5 To Previous Version (Version 4 Or Version 3)
  • Simple PHP Code Send Email
Hoan Huynh

Hoan Huynh is the founder and head of 4rapiddev.com. Reach him at [email protected]

11 years ago LinuxCentOS, Virtual Machine, VirtualBox160
0
GooglePlus
0
Facebook
0
Twitter
0
Digg
0
Delicious
0
Stumbleupon
0
Linkedin
0
Pinterest
Most Viewed
PHP Download Image Or File From URL
24,451 views
Notepad Plus Plus Compare Plugin
How To Install Compare Text Plugin In Notepad Plus Plus
21,829 views
Microsoft SQL Server 2008 Attach Remove Log
Delete, Shrink, Eliminate Transaction Log .LDF File
17,646 views
JQuery Allow only numeric characters or only alphabet characters in textbox
14,984 views
C# Read Json From URL And Parse/Deserialize Json
11,710 views
4 Rapid Development is a central page that is targeted at newbie and professional programmers, database administrators, system admin, web masters and bloggers.
Recent Posts
  • Things to Learn about Installingderm Loan Type S
  • Online Photo Editor – Free Photoediting Software
  • A Guide to Finding the Best Paper Sellers
  • Photoediting in Home Isn’t Hard to Do!

  • Free Photo Editor Online
Categories
  • CSharp (45)
  • Facebook Graph API (19)
  • Google API (7)
  • Internet (87)
  • iPhone XCode (8)
  • Javascript (35)
  • Linux (27)
  • MySQL (16)
  • PHP (84)
  • Problem Issue Error (29)
  • Resources (32)
  • SQL Server (25)
  • Timeline (5)
  • Tips And Tricks (141)
  • Uncategorized (647)
Recommended
  • Custom Software Development Company
  • Online Useful Tools
  • Premium Themes
  • VPS
2014 © 4 Rapid Development