Tools:
Vmwareworkstation 10.0
centos-6.6-x86_64 Mirror
installation CentOS 6.6 Operating System
Before the operating system is formally installed in a production environment, we need to confirm the following two issues in order to successfully install the system:
( 1 both the server optical drive and the system installation CD are available (requires ISO files are burned to disc)
( 2 ) Verify that the server's various hardware can be CentOS6.6 system support.
1 Create a virtual machine
Creating a virtual machine is equivalent to purchasing a server in an actual production environment or renting a server in an IDC room.
1.1 , click VMware Workstation file, select New virtual Machine or, on the home page, select Create a new virtual machine.
650) this.width=650; "title=" 1.jpg "src=" Http://s3.51cto.com/wyfs02/M00/57/9A/wKioL1SgRAmipNeeAAJIdAOeOrw119.jpg " alt= "Wkiol1sgramipneeaajidaoeorw119.jpg"/>
1.2 , select Custom (Advanced) ( C ) "
Tip: The reason to choose custom is that you can install the actual hardware device (e.g.CPU, disk type, memory size, network card, etc.) as required, and the following customizations are also implemented to meet the actual requirements.
1.3 , click "Next"
1.4 , default, click "Next"
1.5 , select "Install operating system later" and click "Next"
1.6 , guest operating System selection " Linux ( L ) ", Version ( V ) Select the other linux2.6.x Kernel - bit ", click" Next "
Knowledge Point: Select "OtherLinux 2.6.xKernel -bit "rather than"CentOSbit "is to enable more explicit support for the server's hardwareCentOS 6.6the kernel of the system. That is to say, we buy an exact supportCentOS 6.6the server for the kernel. If you select "CentOSThe equivalent, we purchased a support64bitof theCentOSsystem, but it is not possible to determine whether it supportsCentOS 6.6kernel System.
1.7 , name the virtual machine, and select the location of the file, click Next
1.8 , default, click "Next"
1.9 , Memory selection 1G , click "Next"
Knowledge Point: Installation CentOS 6.x , when the memory is as large as possible, the small words may not be installed.
Recommendation: When creating a virtual machine, memory at least 512M , preferably at least 1G after installation, start the virtual machine at least 512M , or it may be an error.
1.10 , the network type is default, which is select Use network address translation ( NAT ) ( E ) "
Knowledge Points: VMware Workstation of three network types
Bridging: Virtual machines, like host hosts, are routed directly through the Sisu network, directly from the actual LAN to the external network. So bridging mode is the most consistent production environment. (suitable for Office environment)
NAT : A virtual machine directly obtains a IP address, the host hosts the data packets for the virtual machine. (suitable for home environments without routers, office environment can also be used)
host-only : Virtual machines can only communicate with host hosts.
1.11 , " I/O controller Type "default
1.12 , "Virtual disk type" default
1.13 , "Disk" default
1.14 , the disk size is allocated at least 8G
Knowledge Point: Allocate all disk space immediately: Assign the virtual disk immediately 8G space, it is recommended not to choose.
1.15 , the name of the disk file, by default
1.16 , Click Finish, we will buy a new server or IDC Computer room Leasing a server
2 , installation CentOS 6.6 system
2.1 , click Edit Virtual machine settings
2.2 , select the CD/DVD ( IDE "Load the image that needs to be installed and tick" connect at startup "and click" OK "
2.3 , click to open this virtual machine, select the first one to install
Knowledge Points: CentOS graphical interface installation and text installation, but from CentOS 6.6 initially, the text installation is no longer partitioned, only the graphical interface is installed to partition
2.4 , select the Skip "
2.5 , select the Next "
2.6 , language default selection " 中文版 ( 中文版 ), click the Next "
2.7 , keyboard type selection " U.s.english ", click" Next "
2.8 , default hold " Basic Storage Devices "click" Next "
2.9 , select the Yes , Discard any data "click" Next "
2.10 , modify the hostname, first do not configure the network, click " Next "
2.11 , Time zone selection " Asia/shanghai ", click" Next "
2.12 , setting Root user Password, click " Next "
2.13 , select the Create Custom Layout ", click" Next "
2.14 , create partition , swap / linux
Click Create, by default select "Click Create." allocate 100M disk space to/boot and give the swap 1G
disk space, and all the remaining space is allocated to / , after partitioning, click " Next "
2.15 , click " Format "
2.16 , click " Write changes to disk "
2.17 , System boot selection default
2.18 , install package selection " MInimal "and Tick" Customize Now ", click" Next "
2.19 , customize the installation package selection, and then click " Next "
2.20 , waiting for installation
2.21 When you are finished installing, click " reboot "After reboot, the system is installed
3 , post-installation configuration
3.1 , login system after reboot
3.2 , Nic is not enabled because the network is configured when the system is installed eth0 , only Lo interface, you can use Ifup Command
Activate eth0 Network card
3.3 , with VI will be eth0 the configuration is called with system boot activation, so that after the system restarts, eth0 The network card is automatically enabled
will be Onboot=no instead Onboot=yes
This article is from the "Night Passers-by" blog, please be sure to keep this source http://kevinhao.blog.51cto.com/5204735/1597059
Stupid bird. Use VMware Workstation to install a learning-friendly CentOS 6.6 system