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