VirtualBox (Oracle VM VirtualBox) is an application that allows us to create a system more virtual machines (virtual computers). With VirtualBox can install and run on Windows 7 for example, multiple operating systems (Windows XP, Windows Vista, AndroidOS or Linux Ubuntu, CentOS, Debian, Fedora...etc) without having to redistribute hard diskor to stay in dual boot.
After almost a year show how it can Install Ubuntu on VirtualBox - How to install Ubuntu 10.04 (Linux) parallel with Windows 7.
Content
How to create a virtual machine (in VirtualBox) to install CentOS 5.6.
Those interested in install CentOS on a virtual machine created with VirtualBox can use tutorial on Ubuntu. The only difference is in point 4. Instead of Ubuntu the system will switch CentOS with OS: Linux and version Red Hat.
After the virtual car for CentOS was created, on the left in VirtualBox it defends it "CentOS”. The name of the virtual machine on which to install the system.
Installation CentOS on the Oracle VM VirtualBox.
1. Selectatin CentOS if you click "Home”To start the installation.
2. Click "Next"On the screen"First Run Wizard"
3. The “Select Installation Media”Select optical drive in you DVD installation at CentOS or click on the yellow icon to select the hard .iso image operating system. We're going to install the .iso.
4. Next & Finish.
From this step the installation of the system begins CentOS. The steps are similar to normal installation on a computer.
1. In the first screen press the “Enter”To start the installation with the graphical interface. Helps more inexperienced users.
2. On the “CD Found” screen, select “Skip” and press Enter.
3. In the first graphic screen that will appear, click "Next"
4. In the next two screen installation sites selected language (English deafault) and layout keyboard (US English).
5. Click "Yes"To the message"Warning”Which will announce that all data on the virtual hard drive will be deleted to create the installation partition.
6. Because it is a system that will be installed on a virtual hdd, no advanced settings required. Leave the settings default and click "Next".
7. Click "Yes”And to this warn which announces that all partitions on sDA (hard diskthe virtual) will be deleted.
8. The “Network Devices”You will need to make the connection settings to Internet. It is set default DHCP. We will select "manually"And instead of"localhost.localdomain"We will pass"VServer".
9. In the next screen select the time zone and click "Next".
10. choosing a password for the user "root".
11. In the next screen choose the software we sleep to install. For those who want to use it as a server, it is recommended to check only "Server & Hosting”(Will be installed without graphical interface /desktop), eliminating the option default Desktop Gnome. We will let selected Desktop Gnome and we will select and Server & Hosting.
For a better experience in graphics interface may Desktop - KDE. Next & Next to start the installation.
Wait a few minutes to finish the installation process.
12. Click "reboot”At the end of the installation.
After reboot you have to do a few simple configuration settings.
- "Firewall”(Which it is recommended to disable),
- SELinux (Security Enhanced Linux) - Disabled (default is Enforcing)
- Create User (Here you will need to create a user, other than "root". This user will have limited permissions).
- sound card (Settings driver and sound card)
After these settings you will need to give it a reboot. After reboot, the system is ready.
You can now install specific applications for CentOS, you can use it as FTP server, Web server (Apache / HTTPD), you can surf the internet, etc.… what can be done from a normal pc.
Resources:
Download VirtualBox - link
Download CentOS 5.6 - link
Stealth Settings - Installation and Configuration CentOS 5.6 on VirtualBox.