Original works, from the "Blue Blog" blog, Welcome to reprint, please be sure to indicate the following sources, otherwise, the legal responsibility to pursue copyright.
Deep Blue Blog:http://blog.csdn.net/huangyanlong/article/details/42740355
Virtual machine Installation Operating system: CentOS 6.4 64bit
Experimental environment
Platform Environment |
WIN7 flagship version 64bit |
Virtual machine Software |
VM virual Box 4.2 |
installation CD |
Centos-6.4-x86_64-bin-dvd1.iso |
Network card settings |
Dual NIC |
Pre-Introductory:
Today installed CentOS6.4 operating system, found with CentOS6.2 almost no difference, the following reference.
for more installation details, refer to the CentOS6.2 System Installation documentation at the address link below: http://blog.csdn.net/huangyanlong/article/details/40131523
For Linux operating system installation is actually very easy, as long as the practice you will find that this is not difficult to say.
Can be configured in this step of the network, you can also omit to install the operating system after the ifcfg file to modify, such as:
At this point, the step is graphically configured with two network cards, after which you need to manually make changes to the startup items.
The following steps are locale, select Shanghai, if the Chinese operating system installed, here will default to select Shanghai, modified as shown:
Click Create in the lower -right corner to eject the creating disk interface as shown in:
Here the boot partition is set to 500m, as shown in:
The swap partition is set to 4G( 2 times the size of the physical memory), as shown in:
Assign the remaining space to the root partition as shown in:
After you have planned your disk partitions, the effect is as follows:
After clicking Next, follow the prompts to format the disk as shown in:
As below, you can choose to install the target environment of the system, the following manual configuration components, to avoid other applications and so on after the need to install components separately, as shown in:
Of course, if you simply install the operating system, here components can no longer be ordered here, the following is for reference only.
Because the specific environment requires components that are not the same, the choice of components depends on the actual situation.
Reboot once completed.
After restarting, enter the root user, password, login, as shown in:
At this point, theCentOS6.4 operating system is installed.
Add:
After installation, make the dual network adapter effective, set the following:
[Email protected]/]# cd/etc/sysconfig/network-scripts
[[email protected] network-scripts]# ls
Ifcfg-eth0 ifdown-ippp Ifdown-tunnel Ifup-ipv6 ifup-sit
Ifcfg-eth1 Ifdown-ipv6 ifup ifup-isdn Ifup-tunnel
Ifcfg-lo ifdown-isdn ifup-aliases Ifup-plip ifup-wireless
Ifdown ifdown-post IFUP-BNEP Ifup-plusb Init.ipv6-global
IFDOWN-BNEP ifdown-ppp Ifup-eth ifup-post net.hotplug
Ifdown-eth ifdown-routes Ifup-ib ifup-ppp network-functions
Ifdown-ib ifdown-sit ifup-ippp ifup-routes Network-functions-ipv6
[Email protected] network-scripts]# VI ifcfg-eth0
-- Modify Onboot to be Yes make the NIC ( eth0 ) takes effect
Device=eth0
Type=ethernet
uuid=7de5bf86-7513-4152-8321-2842d37e197b
Onboot=yes
Nm_controlled=yes
Bootproto=none
Hwaddr=08:00:27:4c:0a:e0
ipaddr=10.53.10.80
Prefix=24
gateway=10.53.10.1
Defroute=yes
Ipv4_failure_fatal=yes
Ipv6init=no
Name= "System eth0"
~
~
~
[Email protected] network-scripts]# VI ifcfg-eth1
-- Modify Onboot to be Yes make the NIC ( eth1 ) takes effect
Device=eth1
Type=ethernet
Uuid=20a6d4e2-6e1a-4127-997c-c962eac59e30
Onboot=yes
Nm_controlled=yes
Bootproto=none
Hwaddr=08:00:27:d5:0f:85
ipaddr=10.53.105.80
Prefix=24
gateway=10.53.105.1
Defroute=yes
Ipv4_failure_fatal=yes
Ipv6init=no
Name= "System eth1"
~
~
~
[Email protected]/]# service network restart
-- Restart the NIC to make the modified settings effective
[email protected]/]# reboot
-- Restart the system if the NIC is not in effect after restarting the NIC
Note:CentOS6.4 operating system, network card configuration file needs to develop a MAC address, otherwise there may be unrecognized hardware problems, the actual work needs to be noticed.
Original works, from the "Blue Blog" blog, Welcome to reprint, please be sure to indicate the following sources, otherwise, the legal responsibility to pursue copyright.
Deep Blue Blog:http://blog.csdn.net/huangyanlong/article/details/42740355
Installing the CentOS 6.4 operating system