Requirements: Using Linux Virtual Machine Installation CentOS6.4 system in VMware vSphere Client
Preamble: The company should prepare virtualization, the configuration is relatively high physical machines into virtual N virtual machine, so you can give more application service provider services.
1, using vShere client to connect to the physical machine above, select the "Configuration" - "Memory" - "data storage", right-click and choose "Browse Data storage", you can upload files
2, will need to be installed to upload files centos.iso upswing.
3, right begin creating the virtual machine, and then select the type of installation
4. Enter the virtual machine name
5, select the target virtual machine files are stored, select the operating system of the virtual machine (Linux systems)
6, select the type of virtual machine operating system
7, select the disk space used by the virtual machine
8, before completion, select "Edit virtual machine settings before completion."
9, select the number of kernel virtual machine
10, selected to iso file inside the virtual machine installed here to choose Setup from this disc.
11, the device needs in the state, the "Connected" and the "when you turn on the power connection" option, and restart the virtual machine can be installed
12, starting from the beginning of the installation CD-ROM virtual machine Linux system, turn on the power, and then view the console
13. Installation Mode Selection
Install or upgrade an existing system to install or upgrade an existing system
install system with basic video driver during installation using the basic graphics driver
Rescue installed system into the system repair mode
Boot from local drive to exit the installation from the hard disk
Memory test Memory test
Because it is introduced into an existing system iso, so here choose the first, install or upgrade an existing system, Enter.
14, on CD media arises as to whether the test questions, here select "Skip" to skip the test.
15, continue to the next, select "Next"
16, the installation process language selection, the default English.
17, the keyboard mode option to "U.S English", US keyboard
18, installation of equipment selection, basic storage device mode you can select "Basic Storage Devices".
19, ignore the original data, select "Yes, discard any data"
20, do not click on the "Configure Network", after manual configuration, and then click "Next"
21, the time zone, select Time zone: Asia / Shanghai, pull down select "Asia / Shanghai", then click "Next"
22, set a password for the root user and enter the password, click "Next"
23, disk partition selection, custom layout, select the "Create Custom Layout", then click "Next"
24, began to create the disk, click on the "Create" button, select "Standard Partition" option, click "Create"
You can see the hard drive capacity, I am here to show the 60G, now custom partitions.
Note: Before partition, first to plan their own good, how partition, I have here the partition as follows:
Total hard disk 60G, memory 8G;
/ Boot directory can allocate 200M; Swap2G (less than 2G of memory when set to 2 times the memory; the memory is greater than or equal to 2G, 2G set, I have here the memory is 8G, so that I set 2G); root directory / is allocate all remaining disk space
Special note: for full production server, and you must remember to dial a separate partition, prevent system problems, ensure data integrity. For example, you can subdivide a / data designed to store data.
(1), create / boot directory, 200M
(2) create a swap partition, 2G
(3) create a primary partition, all the disk space
25, disk allocation is completed, click "Next"
26, in the pop-up window, select "Format" to start formatting.
27, and then in the pop-up window, select "Write changes to disk" format writes
28, and then after the completion of formatting, select "Next" operation
29, select "Customize now" button, then select the components they install:
Default: Minimal (minimum); if it is the first study, the proposed option: Desktop (Desktop), if it is used as a production server, it is recommended to select: Minimal (minimum), select here: Minimal, and then select Custom, select "Customize now "button, click" Next "button to continue.
30, here select some basic network services components and Perl components, language packs, components and Server components can be,
(Perl is mandatory, or can not install VMware Tools, system managerment tools, network tools will be selected, otherwise no Internet access, the other looking choose it) can wait another installed linux system itself needs to be more in the yum installation, selected, click "Next" to the next step.
31, to start the installation package components
32, after waiting for installing the components, you need to restart, click "Reboot" button to reboot.
33, after rebooting, use the root user logs into the network configuration of the virtual machine.
Configure the network IP address:
ifconfig eth0 10.2xx.1.xx netmask 255.255.255.0
Configure the router address:
route add add -net 0.0.0.0 gw 10.2xx.1.1
Restart network services:
service network restart
34, the next check network, cmd ping under the next server
C: \ Users \ Administrator> ping 10.2xx.1.xx
It is Ping 10.2xx.1.xx with 32 bytes of data:
The reply from the 10.2xx.1.xx: bytes = 32 time = 69ms TTL = 63
The reply from the 10.2xx.1.xx: bytes = 32 time = 84ms TTL = 63
The reply from the 10.2xx.1.xx: bytes = 32 time = 66ms TTL = 63
The reply from the 10.2xx.1.xx: bytes = 32 time = 63ms TTL = 63
10.254.1.50 of Ping statistics:
Packet: Sent = 4, Received = 4, Lost = 0 (0% loss),
The estimated round-trip travel time (in milliseconds):
Minimum = 63ms, Maximum = 84ms, Average = 70ms
C: \ Users \ Administrator>
OK, this basic Linux virtual machine set up is complete, you can go after the installation of service components they need, according to their needs