Open the installed VMware, select File-new-virtual Machine,
650) this.width=650; "Style=" border-width:0px;padding-top:0px;padding-right:0px;padding-left:0px; Background-image:none; "title=" image "border=" 0 "alt=" image "src=" http://images.cnblogs.com/cnblogs_com/seesea125/ 201202/201202252332031781.png "width=" 708 "height=" 553 "/>
Choose Custom,next here:
650) this.width=650; "Style=" border-width:0px;padding-top:0px;padding-right:0px;padding-left:0px; Background-image:none; "title=" image "border=" 0 "alt=" image "src=" http://images.cnblogs.com/cnblogs_com/seesea125/ 201202/201202252332126396.png "Width=" 706 "height=" 545 "/>
Select workstation6.5-7.x, Next:
650) this.width=650; "Style=" border-width:0px;padding-top:0px;padding-right:0px;padding-left:0px; Background-image:none; "title=" image "border=" 0 "alt=" image "src=" http://images.cnblogs.com/cnblogs_com/seesea125/ 201202/201202252332214849.png "width=" 711 "height=" 553 "/>
Choose the third item here, install it later, and make it easy to configure. Select I'll install the operating system Later,next:
650) this.width=650; "Style=" border-width:0px;padding-top:0px;padding-right:0px;padding-left:0px; Background-image:none; "title=" image "border=" 0 "alt=" image "src=" http://images.cnblogs.com/cnblogs_com/seesea125/ 201202/201202252332529138.png "width=" 711 "height=" 554 "/>
Choose Linux,version here to choose CentOS, because it is 32-bit, so do not choose Centos-64bit,next:
650) this.width=650; "Style=" border-width:0px;padding-top:0px;padding-right:0px;padding-left:0px; Background-image:none; "title=" image "border=" 0 "alt=" image "src=" http://images.cnblogs.com/cnblogs_com/seesea125/ 201202/201202252332585654.png "width=" 711 "height=" 554 "/>
Select the path where the image file is stored, enter the virtual machine name and the installation path, Next:
650) this.width=650; "Style=" border-width:0px;padding-top:0px;padding-right:0px;padding-left:0px; Background-image:none; "title=" image "border=" 0 "alt=" image "src=" http://images.cnblogs.com/cnblogs_com/seesea125/ 201202/201202252333029685.png "width=" 436 "height=" 451 "/>
Select the number of CPU cores allocated to the virtual machine, and VMware will warn you if the number of CPUs selected for the virtual machine exceeds the actual number of native CPUs. Next:
650) this.width=650; "Style=" border-width:0px;padding-top:0px;padding-right:0px;padding-left:0px; Background-image:none; "title=" image "border=" 0 "alt=" image "src=" http://images.cnblogs.com/cnblogs_com/seesea125/ 201202/20120225233308453.png "width=" 436 "height=" 451 "/>
Virtual memory allocation, generally choose the default 1024MB on the line, Next:
650) this.width=650; "Style=" border-width:0px;padding-top:0px;padding-right:0px;padding-left:0px; Background-image:none; "title=" image "border=" 0 "alt=" image "src=" http://images.cnblogs.com/cnblogs_com/seesea125/ 201202/201202252333157742.png "width=" 436 "height=" 451 "/>
Here is the network type assignment, the network type allocation divides into three kinds, bridge,nat and host-only, the approximate difference is
1 BRIDGE: Equivalent to the host and virtual machine connected to the same hub, virtual machines and hosts configured on the same network segment
2 NAT: Using VMNET8, the host to open the necessary VMware services, such as Vmvare DHCP, virtual machine set to DHCP mode, of course, can also be manually set to vmnet1 the same network segment, more trouble
3 host-only: Use Vmnet1, direct and host interconnect, can use Ifconfig to view the configuration situation
Choose Nat,next here:
650) this.width=650; "Style=" border-width:0px;padding-top:0px;padding-right:0px;padding-left:0px; Background-image:none; "title=" image "border=" 0 "alt=" image "src=" http://images.cnblogs.com/cnblogs_com/seesea125/ 201202/201202252333217605.png "width=" 436 "height=" 451 "/>
Select the IO controller type, select the default, Next:
650) this.width=650; "Style=" border-width:0px;padding-top:0px;padding-right:0px;padding-left:0px; Background-image:none; "title=" image "border=" 0 "alt=" image "src=" http://images.cnblogs.com/cnblogs_com/seesea125/ 201202/201202252333435883.png "width=" 436 "height=" 451 "/>
Select the virtual hard disk type, here to create a, next:
650) this.width=650; "Style=" border-width:0px;padding-top:0px;padding-right:0px;padding-left:0px; Background-image:none; "title=" image "border=" 0 "alt=" image "src=" http://images.cnblogs.com/cnblogs_com/seesea125/ 201202/201202252333489258.png "width=" 436 "height=" 451 "/>
Select the type of disk you want to create, select the default, Next:
650) this.width=650; "Style=" border-width:0px;padding-top:0px;padding-right:0px;padding-left:0px; Background-image:none; "title=" image "border=" 0 "alt=" image "src=" http://images.cnblogs.com/cnblogs_com/seesea125/ 201202/201202252333528829.png "width=" 436 "height=" 451 "/>
Select the size of the disk space by default
650) this.width=650; "Style=" border-width:0px;padding-top:0px;padding-right:0px;padding-left:0px; Background-image:none; "title=" image "border=" 0 "alt=" image "src=" http://images.cnblogs.com/cnblogs_com/seesea125/ 201202/201202252333594722.png "width=" 436 "height=" 451 "/>
Set the virtual image file name, default, Next:
Create complete, confirm virtual machine information, click Finish.
Next, on the virtual machine that you just created on VMware, right-click the settings
650) this.width=650; "Style=" border-width:0px;padding-top:0px;padding-right:0px;padding-left:0px; Background-image:none; "title=" image "border=" 0 "alt=" image "src=" http://images.cnblogs.com/cnblogs_com/seesea125/ 201202/201202252334059078.png "width=" 663 "height=" 574 "/>
Click "CD/DVD (IDE)" To open the virtual Machine Disc Settings page, click "Use ISO image File" and click "Browse" to select the image ISO file to install.
Then click "Power on" to start the virtual machine.
Attention
1, the installation of the CentOS 6.6 system computer memory must be equal to or greater than 628M (minimum memory 628M) to enable the graphics installation mode;
2, CentOS 6.6 System installation method is divided into: Graphics installation mode and text installation mode;
3, CentOS 6.6 text installation mode does not support custom partitions, we recommend the use of graphical installation mode installation;
5, the CentOS 6.6 system operation mode is divided into: with a graphical interface, you can use the mouse to manipulate the graphical way and without a graphical interface, direct command-line operation of the text mode (CentOS minimal version by default is run in text mode, There is no custom option to run the system during the installation of the system);
First, install CentOS 6.6
To successfully boot the system with the CD, the following interface will appear
650) this.width=650; "src=" http://files.jb51.net/file_images/article/201410/201410312153183.jpg "/>
Interface Description:
Install or upgrade an existing system installation or upgrade of existing systems
Install the system with basic video driver during installation with the base graphics driver
Rescue installed system to enter the repair mode
Boot from local drive exits installation from hard disk boot
Memory Test RAM Test
Here, select the first item, install or upgrade an existing system, or enter by using the second item.
If there is a question about whether to test the CD media, select "Skip" to skip the test.
650) this.width=650; "src=" http://files.jb51.net/file_images/article/201410/201410312153184.jpg "/>
The following interface appears
650) this.width=650; "src=" http://files.jb51.net/file_images/article/201410/201410312153185.jpg "/>
Next
650) this.width=650; "src=" http://files.jb51.net/file_images/article/201410/201410312153186.jpg "/>
Select language: Chinese (中文版) #生产服务器建议安装英文版本
Next
650) this.width=650; "src=" http://files.jb51.net/file_images/article/201410/201410312153187.jpg "/>
Keyboard selected as: U.s.english
Next
650) this.width=650; "src=" http://files.jb51.net/file_images/article/201410/201410312153188.jpg "/>
Select the first item, basic storage device, "speciallzed Storage dvices" is for similar sans use.
Next
650) this.width=650; "src=" http://files.jb51.net/file_images/article/201410/201410312153189.jpg "/>
This step is to let you choose whether to delete the data in the virtual hard disk, we are the blank disk so select "Yes,discard any data" (delete all), click "Next" to enter the next step.
650) this.width=650; "src=" http://files.jb51.net/file_images/article/201410/2014103121531810.jpg "/>
Set the hostname, here by default, after the installation is complete and then modified, you can-next
Or change now, this step is to configure the computer name and network parameters, fill in your favorite computer name, and then click "Configure Network" to configure networking parameters.
650) this.width=650; "style=" margin:0px auto 0px 54px;float:none; "class=" Pic-cursor-pointer "src=" http:/ Hiphotos.baidu.com/exp/pic/item/dbf554ed2e738bd43e4ae298a08b87d6267ff9f5.jpg "width=" "height=" 335 "alt=" Dbf554ed2e738bd43e4ae298a08b87d6267ff9f5 "/>
Select "System eth0" and click "Edit" to enter the network card editor.
650) this.width=650; "style=" margin:0px auto 0px 101px;float:none; "class=" Pic-cursor-pointer "src=" http:/ Hiphotos.baidu.com/exp/pic/item/9252ae7eca806538e8a1f4ba96dda144ac348295.jpg "width=" 406 "height=" 333 "alt=" 9252ae7eca806538e8a1f4ba96dda144ac348295 "/>
650) this.width=650; "style=" margin:0px auto 0px 107.28px;float:none; "class=" Pic-cursor-pointer "src=" http:/ Hiphotos.baidu.com/exp/pic/item/5202e5f2b2119313519eaf1964380cd790238d7f.jpg "width=" 393 "height=" "alt=" 5202e5f2b2119313519eaf1964380cd790238d7f "/> In the" Connect automatically "option before the check, wait for the machine reboot into the system can automatically connect the network card, select" IPv4 Settings tab to configure the IP address.
650) this.width=650; "style=" margin:0px auto 0px 107.63px;float:none; "class=" Pic-cursor-pointer "src=" http:/ Hiphotos.baidu.com/exp/pic/item/34bbf8cd7b899e516e5b6abd43a7d933c9950d06.jpg "width=" 392 "height=" 499 "alt=" 34bbf8cd7b899e516e5b6abd43a7d933c9950d06 "/>
I chose "Manual" is the manual configuration, if you have a DHCP server network, you can use the way DHCP, and then click on the right "Add" button, add parameters.
650) this.width=650; "style=" margin:0px auto 0px 109.4px;float:none; "class=" Pic-cursor-pointer "src=" http:/ Hiphotos.baidu.com/exp/pic/item/e1bf8725bc315c6023433b468cb1cb1348547701.jpg "width=" 389 "height=" 499 "alt=" e1bf8725bc315c6023433b468cb1cb1348547701 "/>
If you are using a IPV6 network, configure the appropriate parameters in the "IPv6 Setting", otherwise select "Ignore" to ignore
650) this.width=650; "style=" margin:0px auto 0px 108.42px;float:none; "class=" Pic-cursor-pointer "src=" http:/ Hiphotos.baidu.com/exp/pic/item/91ae68c6a7efce1b94fb9863ae51f3deb58f6503.jpg "width=" 391 "height=" "alt=" 91ae68c6a7efce1b94fb9863ae51f3deb58f6503 "/>
Click "Apply" to continue, then click "Close", then click "Next" to enter the next step
Next
650) this.width=650; "src=" http://files.jb51.net/file_images/article/201410/2014103121531811.jpg "/>
Time zone selection: Asia/shanghai
"System Clock user UTC" #取消前面打勾, do not use UTC time
650) this.width=650; "src=" http://files.jb51.net/file_images/article/201410/2014103121531812.jpg "/>
Set the root password, if the server installation needs to configure a more complex password, if it is used for learning test, then the password is arbitrary, at least 6 bits, if the password is too simple system will prompt.
Next
650) this.width=650; "src=" http://files.jb51.net/file_images/article/201410/2014103121531813.jpg "/>
Note: If you use a password that is too simple, the system will automatically prompt you: Your password is not secure, too simplistic/systematized
Choose "Use anyway" here anyway
Production environments must have strong, complex passwords
Next
650) this.width=650; "src=" http://files.jb51.net/file_images/article/201410/2014103121531814.jpg "/>
Use all space for all spaces
Replace Existing Linux system replaces existing Linux systems
Shrink current system to reduce the space
Use of free space using unused spaces
Create Custom Layout to customize the partition
Select the last item, create custom Layout, creating a customized partition
There are two options below, such as
650) this.width=650; "style=" margin:0px auto 0px 54px;float:none; "class=" Pic-cursor-pointer "src=" http:/ Hiphotos.baidu.com/exp/pic/item/647912d7912397dd4712cbad5882b2b7d1a287f5.jpg "width=" height= "alt=" 647912d7912397dd4712cbad5882b2b7d1a287f5 "/>
Encrypt System Encryption
Review and modify partitioning layout review and modify partitions
We do not check "Encrypt system", "Review and modify partitioning layout" option after selecting "Create Custom Layout" will automatically tick, click "Next" to enter the next
Next
650) this.width=650; "src=" http://files.jb51.net/file_images/article/201410/2014103121531815.jpg "/>
Can see the capacity of the hard disk, I show here is 20G, now custom partition.
Note: Before partitioning, you should plan well, how to partition
My partition here is as follows:
HDD Total 20G, learning test machine We have two districts here.
Swap #2048M, typically set to twice times memory
/#剩余所有空间
Special Note:
For the official production of the server, remember that the data disk must be partitioned separately, to prevent problems in the system to ensure the integrity of the data. For example, you can divide a/data to store data.
If it is a server, it will be divided into several areas: "/boot" (Storage of the boot-related file partition) about 100M is enough, "/usr" (program installed partition) I generally sub-10G, "/var", "/home" depending on the situation, can also be customized, such as "/test".
Swap "is set depending on your server's memory. Select the "Create" button below to make the partition:
650) this.width=650; "src=" http://files.jb51.net/file_images/article/201410/2014103121531816.jpg "/>
With free partition selected, click Create
Standard Partition partition mode
RAID Partition disk array partition, here is the software disk array
LVM Physical Volume LVM physical volume, which is the partition mode of LVM
Select Standard Partition Partition, click Create
Mount point mount Points
File system type, which is equivalent to a partition format of NTFS or FAT32 under Windows, we select the latest EXT4
Size sizes
Fixed size
Fill all spaces up to specify the size of the space
Fill to maximum allowable size use all available space
Force to be a primary partition forced conversion to primary partition
Encrypt encryption
650) this.width=650; "src=" http://files.jb51.net/file_images/article/201410/2014103121531817.jpg "/>
File system type: Swap
Size size:2048
Other options default to
Ok OK
650) this.width=650; "src=" http://files.jb51.net/file_images/article/201410/2014103121531818.jpg "/>
Keep the free partition selected, click Create
650) this.width=650; "src=" http://files.jb51.net/file_images/article/201410/2014103121531819.jpg "/>
Select Standard Partition Partition, click Create
650) this.width=650; "src=" http://files.jb51.net/file_images/article/201410/2014103121531820.jpg "/>
mount point:/
File system type: EXT4
Check "Use all available space"
Other options default to
Ok OK
650) this.width=650; "src=" http://files.jb51.net/file_images/article/201410/2014103121531821.jpg "/>
After creating the partition, as shown, then click Next
650) this.width=650; "src=" http://files.jb51.net/file_images/article/201410/2014103121531822.jpg "/>
Point "format" formatting
650) this.width=650; "src=" http://files.jb51.net/file_images/article/201410/2014103121531823.jpg "/>
Select ' Write changes to disk ' to write modifications to disk
650) this.width=650; "src=" http://files.jb51.net/file_images/article/201410/2014103121531824.jpg "/>
By default, this step is to select the location of the system's startup program installation
Next
This step is to choose what the machine is to do, have Desktop,web server and so on, choose one,
1, the installation of desktop system
2. Minimal installation of desktop system
3. Minimized installation
4, the installation of the basic server
5, the database server installation
6, the installation of Web page Server
7, the installation of virtual host
8, the installation of software development workstations
Choose one, the system will automatically give you to install some of the required software, of course, you can choose the bottom: Now customize, to select the components to install.
In general, the first contact of the friend is generally the number one bar, including the X WINDOWS, that is, the graphical interface and many other functions, in learning at the same time, what problems can be processed in the graphical interface. But the general master, generally do not have to install the desktop graphical interface!
The system will automatically install some required software for you, I'll choose minimal here, and then select the Customize now custom installed component below. Next
650) this.width=650; "style=" margin:0px auto 0px 54px;float:none; "class=" Pic-cursor-pointer "src=" http:/ Hiphotos.baidu.com/exp/pic/item/a992e31f4134970a1f9e428694cad1c8a6865d6e.jpg "width=" "height=" 335 "alt=" a992e31f4134970a1f9e428694cad1c8a6865d6e "/>
Enter the component selection installation interface
650) this.width=650; "style=" margin:0px auto 0px 54px;float:none; "class=" Pic-cursor-pointer "src=" http:/ Hiphotos.baidu.com/exp/pic/item/246cca2a2834349bcdc03c2cc8ea15ce37d3be12.jpg "width=" "height=" 335 "alt=" 246cca2a2834349bcdc03c2cc8ea15ce37d3be12 "/>
Later, if there is a need for what components can also be installed in the image of CentOS loading.
Install the interface of the component, it takes a few minutes, a cigarette, a little break for a while ~
650) this.width=650; "src=" http://files.jb51.net/file_images/article/201410/2014103121531825.jpg "/>
Start installation
650) this.width=650; "src=" http://files.jb51.net/file_images/article/201410/2014103121531826.jpg "/>
Installation Complete
Point "Reboot" reboot, automatic system restart
650) this.width=650; "src=" http://files.jb51.net/file_images/article/201410/2014103121531827.jpg "/>
After restarting, the following login screen appears
650) this.width=650; "src=" http://files.jb51.net/file_images/article/201410/2014103121531828.jpg "/>
Enter the account root and password to successfully log in to the system as shown:
650) this.width=650; "src=" http://files.jb51.net/file_images/article/201410/2014103121531829.jpg "/>
System Installation Complete
Second, set the IP address, gateway, DNS
Conventions:
The first network card is the external network
The second network card for the intranet (no external network of the machine will also be configured in the network on the second NIC)
Description: CentOS 6.6 is installed by default and does not automatically open the network connection!
Enter account root
Then enter the password set during installation and log in to the system
Vi/etc/sysconfig/network-scripts/ifcfg-eth0 #编辑配置文件, add modify the following content
Bootproto=static #启用静态IP地址
Onboot=yes #开启自动启用网络连接
ipaddr=192.168.21.129 #设置IP地址
netmask=255.255.255.0 #设置子网掩码
gateway=192.168.21.2 #设置网关
dns1=8.8.8.8 #设置主DNS
dns2=8.8.4.4 #设置备DNS
Ipv6init=no #禁止IPV6
: wq! #保存退出
Service Ip6tables Stop #停止IPV6服务
Chkconfig ip6tables off #禁止IPV6开机启动
Service YUM-UPDATESD Stop #关闭系统自动更新
Chkconfig yum-updatesd off #禁止开启启动
Service Network Restart #重启网络连接
Ifconfig #查看IP地址
Third, set the host name
Conventions:
Hostname naming specification: Business-Computer room-Master Preparation-domain name
The host name is set here: bbs.hz.m.osyunwei.com
1, hostname "bbs.hz.m.osyunwei.com"
#设置主机名为bbs. hz.m.osyunwei.com
2, Vi/etc/sysconfig/network #编辑配置文件
Hostname= bbs.hz.m.osyunwei.com
#修改localhost. Localdomain to Bbs.hz.m.osyunwei.com
: wq! #保存退出
3, Vi/etc/hosts #编辑配置文件
127.0.0.1 bbs.hz.m.osyunwei.com localhost
#修改localhost. Localdomain to Bbs.hz.m.osyunwei.com
: wq! #保存退出
Shutdown-r now #重启系统
At this point, the CentOS 6.6 system installation configuration is complete
Installing CENTOS6 Graphics installation tutorials under VMware