For linux on vmware, the software environment for accessing the Internet through a fixed ip address in nat mode is vmware_652centOS5.5 I. Install vm Software 2 and create a virtual machine 1. The operating system type is other 2.6.x. 2, use network adress transaction (NAT ). 3. Buslogic and LSIlogic are both virtual hard disk SCSI devices. The default OS version of the old version is Buslogic. The LSIlogic type Hard Disk improves the performance and improves the reading speed of small files, it is better to support non-SCSI hard disks. 4. Change the hard disk to ide5 and the optical drive to the boot link www.2cto.com. In the virtual machine Network Neighbor: VMware Network Adapter VMnet1, which is the dhcp mode VMware Network Adapter VMnet8, which is the nat mode virtual machine: edit-> virtual network settins-> nat ensures that vmnet8 is in the "start" status. The only "partition" part of linux installation is complicated. Linux partition:/boot 100 mswap physical memory 2 times/almost all hard disk sizes here Note: if the root partition settings are relatively small, you cannot install linux. There is no gcc after linux installation, and it needs to be installed in the case of a Network. The manual installation method has not been found yet. Yum install gccyum install gcc-c ++ www.2cto.com 5, start linux to modify vi/etc/inittabid: 3: initdefault: 0-halt (Do NOT set init default to this) 1-Single user mode2-Multiuser, without NFS (The same as 3, if you do not have networking) 3-Full multiuser mode4-unused5-X116-reboot (Do NOT set initdefault to this) 6, fixed ip Access: modify/etc/sysconfig/network-scripts/ifcfg-eth0DEVICE = eth0 BOOTPROTO = static and dhcpBROADCAST = 192.168.135.255 broadcast address NETWORK = 192.168.135.0 network segment IPADDR = 192.168.135.128 IP address HWADDR = 00: 0C: 29: C2: CF: 64 NIC address GATEWAY = 192.168.135.2 GATEWAY (this and/etc/resolv. in conf) ONBOOT = yes enable the author leichenlei at startup