VMware installation Configuration CentOS

Source: Internet
Author: User

1. Create a new virtual machine and change the virtual machine location to E:/vmdata/centos.

2. Custom hardware: Native 4G memory, 4 cores, allocate virtual machine 20G hard disk, 1.2G memory, processor number is 1, each processor core number is 2, remove printer, remove wrong optical drive (if any).

3.Install CentOS Linux 7, select the language, wait for the software dependencies to be checked, select the installation location, the default is to configure the partition automatically, click Finish. Click Start Installation.

4. Set the root password, create the user, tick the user as the administrator. Then wait for the installation to complete and restart.

5. Modify the static Ip,sudo Vi/ect/sysconfig/network-scripts/ifcfg-ens33, and change the bottom onboot to Yes. Restart the Network Services service Network RESTART,IP addr to view the virtual machine IP.

Ping the IP in cmd to see if it can be ping, and ping baidu.com in the virtual machine to see if it is possible to ping the pass.

6. If both of the 5 can be ping, start the system update.

Http://mirrors.163.com/.help/centos.html

Back up/etc/yum.repos.d/centos-base.repo first

Mv/etc/yum.repos.d/centos-base.repo/etc/yum.repos.d/centos-base.repo.backup

Download the corresponding version of the repo file, use the Xshell remote virtual machine, open the xftp, transfer the repo file to the default directory, and then MV to/ETC/YUM.REPOS.D (make sure you have backed up).

Last yum update, start the update.

7. Allow Root login:

Vi/etc/ssh/sshd_config

Change the Permitrootlogin value to Yes

Service sshd Restart Restart sshd Services

VMware installation Configuration CentOS

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.