VirtualBox installation of rhel6.4 Linux 64-bit system detailed documentation under the hands-on virtual machine

Source: Internet
Author: User
Tags documentation

The following demo installs the Rhel 6.4 Linux 64-bit system installed in VirtualBox.

One, VirtualBOX version.

Second, the configuration of the virtual machine.
1. Start the demo installation now and start with zero. Click "New" to create a new system.

1. Start the demo installation now and start with zero. Click "New" to create a new system.



2, choose the type of system you want to install, here it has automatic recognition function, I input rhel-6.4_64, the following type and version is automatically recognized.


3. Allocate memory size to the virtual machine, which combines the memory of your own machine. If not install other things 512M can, my machine is 8G, here I give 2G. 


4. Select "Create virtual hard disk (C) Now"


5. Select the "vmdk" hard disk file type, because sometimes you are not only VirtualBox virtual machines, you may also have VMware virtual machines, and VMware's default file type is VMDK, so you can The  virtual machine you created in VirtualBox is open in VMware. The first type is the proprietary type of VirtualBox. 


6. Select "Dynamic Allocation".
Dynamic allocation is to allocate the actual space occupied by the system, such as you start allocating 20G, and your system actually uses 3G, the disk space of 3G, will grow with the disk in your system growth; fixed size is whatever you actually use, Start allocating how much disk space, for example, you allocate 20G, the 20G of disk space, if not enough space, you need to add disk. 

I choose a fixed size, after clicking "Next" will create a fixed size, this can be seen in your computer.



7, set the size of the disk, the general 20G is enough, of course, the disk can be set up a little larger.

8. Select the virtual machine you just created, click "Settings" in the red box to set the relevant parameters.

9, the "General" option remains the default. All three options remain the default.


10, "System" option, set the "optical drive" as the first option, after loading the system to set the "hard disk" as the first option, so restart the system to find the system sitting on the disk.


11, "Processor" This is also based on their own computer configuration options, the general situation is the default, here I choose is 2.


12, "Hardware acceleration" Here is also the default.


13, "Display" memory size, you can choose the default, I set the 30.


14, "Remote Desktop" and "recording" are selected by default.


15. "Storage" Click the red box to locate the system image file.




16, "sound" default.


17, "Network" if only this machine play, you can choose "host-only" mode. The more commonly used network mode is bridging,NAT, and if you want the virtual machine to connect to the external network, you can choose bridging and nat mode. The choice of the network card is viewed in the host network, and a default virtual network card is installed when the VirtualBox is mounted. I chose the bridge. 




18. The "Serial port" option remains the default.


19. The "USB device" option remains the default.

20. "Shared folder" selects the directory of an entity host as a shared folder for sharing files between the entity host and the virtual machine.

21, after setting the parameters, select the system, click the "Start" button.


Third, install the Linux system.
3. 1, use the upper and lower keys, select the first "install or upgrade an existing", press the keyboard "enter" key to enter the installation. 


3. 2. Select "Skip" to skip the media check.

3. 3. Select "Next". 

3. 4, select the language interface in the system, we choose English.

3. 5, select the keyboard layout, we select "u.s.english". 

3. 6, select "Basic Storage Devices". Basic storage. 

3.7 Choose "Yes diacard any data" here means clear all the contents of the disk. 

3.8, give the system name.


3.9, configure the System network IP






3.10. Select the time zone of the system.




3.11. Set The root user's password, greater than or equal to 6 characters in length. 




3.12, here is to just 20G disk partition, see English can probably know each meaning, but usually, we only use two, below do a simple introduction. 
Using all Space uses all disks, which is also the default. Linux partitions the disk according to its own definition. 
Create Custom Layout users partition their own partitions.
Here I choose " Create Custom Layout". 




3.13. Click "Create"



Click the Red box and select Swap Swappartition, the size of the swap partition is generally greater than or equal to 1.5 times times the memory. So here we set the bit 4G. 

3.14, click " Create" again this time click on the red box below, select the " /" slash indicates the primary partition, which is where the system is stored. Select "fillmaxinum allowable Size", the rest of the space to the "/" partition, if you want to subdivide, of course, you can also create your own "home", "/tmp" and other custom partitions. 

3.15, clear the main partition above the data.



3.16, set the boot boot, keep the default on the line.


3.17, select the type of system to use later. The default is:Basic Server. You can also select Database Server. I chose Web Server. Here are some software and services for setting up the system installation. You can tick all, then select "Customize Now" and click "Next" button. 


3.18, set up the system installation of some software and services. Can be all checked, you can also default, after installing their own, novice suggestions are all checked.




Here is the choice of graphical interface, please note that the default is not all checked, if not checked, that is, do not start the graphical interface to the command interface. One of the problems I met before was that all was unchecked, which led to the time when I turned on the graphics interface (to modify the file /etc/inittab) and then rebooted the system. 



3.19, click "Next" button, the system began to install. 


3.20. After the installation is complete, click "Reboot" to restart thesystem. 




3.21. Select "Yes,I agree tothe License Agreement" and agree to the license agreement. Click "Forward". 

3.22. Select "No,I prefer to register at a later time" click "Forward". 


3.33. Click "Register later". 


3.34. Click "Forward"


3.35, create a normal user, you can also do not set a direct click on the "Forward" button. 

3.36, set the date and time.

3.37, look at the red box, here does not tick "Enable kdump", here Kdump is the kernel crashes when printing some information out. 

This will automatically restart the system again.




3.38, restart the good after the landing system.




3.39. Open a terminal. and enter a command to view the system IP


3.40, the system installed after the installation of enhanced features, you can add some useful features. Click "Devices"-"Install enhancements ... " to eject the installation disc. 


3.41. Use the command line to enter the installation CD. You can use the df–H command to view the disc path. Switch to the corresponding directory, you can also double-click the disc, enter the disc, right-click to open a terminal. Run 

3.42. Run the command "./vboxlinuxadditions.run" and execute the script. If there is a problem here, you can restart the system and try again. 


3.43. After the installation is complete, you can see the shared folder.

3.44. Select "Shared Pasteboard" as "bidirectional".

3.45, drag and drop selected as "two-way"

All right, the installation is complete!

VirtualBox installation of rhel6.4 Linux 64-bit system detailed documentation under the hands-on virtual machine

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.