CentOS is divided into CD version and DVD version, CD version of the file too many, recommended download DVD version: http://www.centoscn.com/
1. Open VMware, then right-click on the previously created virtual machine and select settings:
To the next interface, select CD/DVD (IDE):
2. Click Browse to locate the CentOS image file in the current host:
3. General installation of CentOS 6.5 with the first DVD, not the second DVD, so directly click OK, this is the CentOS image into the virtual machine's CD drive:
4. Click to turn on the virtual machine:
Will enter the installation of the CentOS interface, the general will smoothly appear the following interface, if not appear, then in the Virtual machine window Ctrl+shift+delete Restart the virtual machine, immediately press F2 into the virtual machine BIOS, set boot entry boot sequence, the CD/DVD in the first position, Save the virtual machine BIOS settings.
Select the first option, enter, enter the installation, wait a moment the following dialog box appears:
This is to make the detection disc available, since we are installing the ISO image file directly, so there is no need to detect, click Skip:
Click Next,
Choose the installation language, this is the language of the installation time, and the system after the language is loaded, we choose Chinese, click Next, select the keyboard,
Do not modify, direct next, choose what type of storage device,
Do not modify, direct next, and then prompt whether to delete the contents of the virtual disk,
Click Yes, discard any data, enter the hostname, hostname as far as possible, do not use localhost, as for the configuration network at the bottom left,
Direct Next, time zone we choose Shanghai,
The box at the bottom left is not ticked, click Next, set the password, the administrator of Windows is called Adminstrator, and the Linux administrator is called root, where the password is set to 123456,
Click Next will appear in the diagram of the dialog box, meaning that the password is too simple, here we just learn, the simpler the better, of course, if you want to modify also can, do not modify the words directly click Use anyway, and then let the selection layout, we choose Custom, the last one,
Click Next to create the partition,
Select Free, and then click Create,
Here in the actual work of the general selection of the first standard partition, the rest of the performance is poor, with a few, so here choose Standard Partition, click Create, in the pop-up input/boot, this/boot is to store the Linux kernel, boot programs and other things, A bit similar to the C-drive system in Windows c\d\e\f disk,
The file System type in the figure is a partition type, which can be understood as Windows FAT32, NTFS, and so on, the default EXT4 is chosen here, for size in the figure, that is, the/boot partition, generally to 100~200MB, Here we use the default 200MB, the figure of force to be a primary partition tick, as a primary partition, all set OK, then click OK,
Then click on free, tap Create, in the Pop-up dialog box in the file System type Select swap, note that swap does not have mount point, this swap generally specifies that size is one or more times the memory, because after we learn the memory may be adjusted to 512MB , so the size of the swap here we set to 1000MB, tick force to be a primary partition,
Click OK, and then create a primary partition in the same way (there can be up to 4 primary partitions, where we create a 3rd primary partition),
Once created, for example,
Click Next to pop up the dialog box because you previously chose to clear the data, click Format here,
In the pop-up dialog, select Write config to partition, write changes to disk
Then the interface appears, nothing is modified, direct next,
For the interface, is to let you choose the software, do the database will choose Databases Server, do the Web will choose Web Server ..., but we now choose to customize, that is, the below customize is checked,
Click Next, come to the interface,
None of the content in the applications, for the base system, choose 6, 5 plus the back of performance tools, a total of 6, the first base is basic, the second is the Association Toolkit, and then debugging Tools is the Debug tool, dial-up Networking support is dial-up internet,
Then databases and desktops don't pick anything, for development, choose development Tools, like,
The rest is not selected, from high availability to Web services, and then click Next,
"Off-topic" If you do not select some packages when installing CentOS, then how to put them on the package after the system installation is complete,
The next step is to wait for the installation,
After the installation is complete, for example,
Click Reboot, restart, wait a moment for the interface to appear:
Enter the user, note that the Windows user is administrator, and Linux is root, so enter root here, return,
Enter the password, the password is just set 123456, enter, login after input ifconfig Query network card,
If no network card is found, configure the network for it, enter the setup carriage return,
Select the 3rd network configuration, enter,
Select the 1th device configuration, enter,
Just choose the first one, enter,
In primary DNS server, enter 8.8.8.8, save, Save-save&quit-quit, etc.
Enter /etc/init.d/network Restart,
Enter
Before discovering that the NIC Eth0 was not started, enter the following command to modify the configuration file:
Vi/etc/sysconfig/network-scripts/ifcfg-eth0
Where VI is equivalent to the Windows TXT Notepad file, enter the completion of carriage return,
Change the onboot in the diagram to Yes to prevent address collisions, delete the hwaddr line and the UUID row,
"Note" Do not operate too fast here, first useDeleteKey DeleteNo, and then press the keyboardInsertkey, which appears belowInsertprompt, and then enterYes, if the operation is too fast and error occurs, "found a swap file by the name... "prompt, note the file name, is generally.file name. SWP, to.The first is the hidden file, for example, what appears here is. IFCFG-ETH0.SWP, then restart the virtual machine, log onRootafter the user, enterLs–acommand, enumerate the list of files, delete the above file with a command, and then repeat the previous action toOnbootin theNoinsteadYes, removeHWADDRRow andUUIDline.
Here's how to do this: you need to delete the cursor directly after pressing the DELETE key, you need to type data, press Insert after typing data, type complete press ESC exit, and then without the control cursor position, directly enter the command : Wq , The command is to save and exit the modified contents of the VI, if not saved, enter : q! Command.
Restart the network card, with the /etc/init.d/network restart command,
Discover eth0 boot success, and then use ifconfig command Query,
The NIC has been found, so the NIC configuration is complete.
Enter Ping baidu.com to verify that the Internet is available,
Found unable to surf the internet, the solution is:
(1) Close the currently open virtual machine;
(2) Click the virtual machine, click Settings,
(3) Change the network adapter from NAT mode to bridging mode,
"Note" is usually a LAN environment when choosing bridging, only host can choose when the Internet NAT mode.
Click OK.
Turn on the virtual machine again, and if it turns out to be the installation interface again, simply change the CD/DVD (IDE) to use a physical drive,
Here we do not appear to install the interface, so do not modify, or ISO image file, and then the virtual machine to log on to the root user, input ping baidu.com found to be able to surf the internet,
Let's start with SECURECRT (the tool installs the activation tutorial see the Hadoop section of this blog) to connect to the server:
(1) Open the virtual machine, login to the root user;
(2) Open SECURECRT, click Quick Connect,
Protocol (protocol) use SSH2,HOSTNAME (hostname) To enter the IP address you just configured in the virtual machine, if you do not remember, go to the virtual machine to enter the ifconfig command, the Blue line is the IP address,
Enter this IP address, Username (user name) input root, the rest does not change, such as:
Click Connect, this time will error, prompt connection timed out, that is the current virtual machine IP and host IP is not the same network segment, this time to open Baidu, search "native IP address", as follows:
Record this IP address, and then enter the Setup command in the virtual machine,
Pick the 3rd one, enter,
Pick the 1th one, enter,
Pick the 1th one, enter,
In the figure, primary DNS server enters the host IP address that was just recorded, and then Ok-save-save&quit-quit.
This is again open securtcrt, the same method of connection, note the input is the virtual machine ifconfig look up the IP address,
If you click Connect and Pop up a dialog box, select the button in the room and then enter the password screen.
Enter the password 123456 to connect to the server.
If the tick indicates that the connection is successful.
Linux-16, 17, 18-server operating system CentOS6.5 installation Combat (L003-30,31,32)