Install centos in VMware

Source: Internet
Author: User
Tags centos server

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.

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.