There are already many tutorials on the Internet. I will not elaborate on them. Here I will only list some precautions.
1. Install VMware Tools.
Reference: Installing VMware Tools on centos Server
If you select base server when installing centos, you do not need to build the kernel modules
Other steps:
# Mount/dev/CDROM/mnt/
# Tar-C/tmp-zxvf/mnt/VMwareTools-2.0.0-122956.tar.gz
# Umount/mnt
# Cd/tmp/vmware-tools-distrib
#./Vmware-install.pl
Then press enter to install the SDK.
2. Configure the NIC.
Refer to: centos5.3 Nic Configuration
If no custom configuration is selected during installation, the eth0 Nic may not start after installation. For more information, seeArticle.
# Ifconfig // view the Enable Nic
# Ifconfig-A // view all the NICS currently, including those not enabled.
# Vi/etc/sysconfig/network-scripts/ifcfg-eth0 // edit files if eth0 is not enabled
Add the following Configuration:
Onboot = "yes"
Bootproto = "DHCP"
#/Etc/init. d/network restart // re-enable the network configuration.
The above steps should allow eth0 to access the Internet through net.
If the NIC is configured during installation, it is automatically configured after installation.
3. open ports 80,330 6 and 22.
# Service iptables stop
#/Sbin/iptables-I input-P TCP -- dport 80-J accept
#/Sbin/iptables-I input-P TCP -- dport 22-J accept
#/Sbin/iptables-I input-P TCP -- dport 3306-J accept
#/Etc/rc. d/init. d/iptables save
# Service iptables restart
4. Install vsftpd.
For Ubuntu installation, refer to articles such as Ubuntu 10.10 FTP configuration for Ubuntu 10.10 to install vsftpd.
# Cat/etc/vsftpd. conf
You may be prompted to change the address of listen_address = 127.0.0.1 to the address of eth0.
# Sudo/etc/init. d/vsftpd restart // restart the service
5. Handle Garbled text.