VMware Workstation Pro 16, CentOS7 image (Windows10) download and install

Table of contents

1. Download VMware Workstation

      1.1 Download address (enter the website)

      1.2 Enter the website to download VMware Workstation

2. Install VMware Workstation

3. Download the CentOS7 image

       3.1 Download and install the CentOS7 image (download and install the image of Alibaba Cloud) Recommended

4. Install CentOS7 image

    4.1 Open VMware Workstation (Note! You need to fill in the activation key to open it) ---> Click to create a new virtual machine

    4.2 Select Custom (Advanced) (C) ---> Next

    4.3 Fill in Workstation 15.x ---> Next

    4.4 Select to install the operating system (S) later ---> Next

    4.5 Select Linux(L) ---> select version CentOS 7 64-bit ---> Next

    4.6 Modify the name and installation path of the virtual machine (I did not use the default name and path here) ---> Next step

    4.7 Select the number of processors ===1 and the number of cores per processor ===1 ---> Next step

    4.8 The memory is 1024MB ---> Next step

    4.9 Select Use Network Address Translation ---> Next

    4.10 Select LSI Login(L) (recommended) ---> Next

    4.11 Select SCSI (S) (recommended) ---> Next

    4.12 Select Create a new virtual disk (V) ---> Next

    4.13 Set the disk size to 20.0 (unit: GB) ---> select split ---> next step

    4.14 Click Next

    4.15 Click Customize Hardware

    4.16 Click New CD/DVD (IDE) to select the save path of your own IOS image file ---> Close

    4.17 Click Finish 

    4.18 Formal installation of CentOS 7

    Click on the ROOT password

    After the installation starts, you can also create a new account and password. We generally use the root account, and the password is generally set to 1234

    View and set IP address 

    replace domestic sources

    CentOS is replaced by Alibaba Cloud's source 


foreword

  • Install VMware is Workstation Pro 16

  • The installation image file is  CentOS7 64-bit

1. Download VMware Workstation

 1.1 Download address (enter the website)

 1.2 Enter the website to download VMware Workstation

  • It looks like a successful download 

2. Install VMware Workstation

  • Double-click the downloaded VMware Workstation file

 

  

 

 3. Download the CentOS7 image

  3.1 Download and install the CentOS7 image (download and install the image of Alibaba Cloud) Recommended

  • download good look 

4. Install CentOS7 image

 4.1 Open VMware Workstation (Note! You need to fill in the activation key to open it) ---> Click to create a new virtual machine

4.2 Select Custom (Advanced) (C) ---> Next

 4.3 Fill in Workstation 15.x ---> Next

 4.4 Select to install the operating system (S) later ---> Next

 4.5 Select Linux(L) ---> select version CentOS 7 64-bit ---> Next

4.6 Modify the name and installation path of the virtual machine (I did not use the default name and path here) ---> Next step

 4.7 Select the number of processors ===1 and the number of cores per processor ===1 ---> Next step

 4.8 The memory is 1024MB ---> Next step

  • Note: Here, the memory of the virtual machine is selected as 1024M . 

 4.9 Select Use Network Address Translation ---> Next

 4.10 Select LSI Login(L) (recommended) ---> Next

 4.11 Select SCSI (S) (recommended) ---> Next

 4.12 Select Create a new virtual disk (V) ---> Next

 4.13 Set the disk size to 20.0 (unit: GB) ---> select split ---> next step

 4.14 Click Next

 4.15 Click Customize Hardware

  •  Note: In this step, you must first click Customize Hardware and select the location to install the CentOS7 image file ( i.e. IOS file ) .

4.16 Click New CD/DVD (IDE) to select the save path of your own IOS image file ---> Close

4.17 Click Finish

4.18 Formal installation of CentOS 7

  • Select the virtual machine ---> click to open this virtual machine

 

 

  • Note: Select the first item to start the installation directly, Ctrl+G and Ctrl+alt are used to switch between VM and widow systems 

 

If the screen remains black and cannot be installed, there may be a problem! ! ! If not, continue ~~~~~~

Reason: The Virtualization Technology setting in the computer BIOS is disabled.

solution:

( 1 ) Restart the computer, enter the BIOS and set it to Enabled . (Note: The methods of entering the BIOS of different brands of computers are different, please refer to the method of entering the BIOS of the corresponding computer model online )

( 2 ) After entering the BIOS , set Security -> Virtualization -> Inter(R) Virtualization Technology to: Enabled .

( 3 ) Save the BIOS and restart the computer.

  • Pull the selection box to the bottom on the left, select "Chinese", select "Simplified" on the right, and then select Continue 

  •  Note: There are 1/2/3/4 places that need to be set in this step, click the red frame to start detailed settings

  •  Asia - Shanghai

网络时间-添加NTP时间服务器用于时间校准,点击上个截图红圈中的按钮即可开始设置

注1:此步骤设置后就没有时差了,否则要重新安装NTP服务,

注2:阿里云提供了7个NTP时间服务器,选3个填写即可

ntp1.aliyun.com

ntp2.aliyun.com

ntp3.aliyun.com

ntp4.aliyun.com

ntp5.aliyun.com

ntp6.aliyun.com

ntp7.aliyun.com

 2

 

3

4

After the above 4 settings are completed, click to start the installation 

 

  • Click on the ROOT password

 

  • After the installation starts, you can also create a new account and password. We generally use the root account, and the password is generally set to the root password for easy memory

 

  • View and set IP address 

ip addr 
  •  replace domestic sources

What is domestic source, in layman's terms, is the application market, the Android system has the Android application market, the Apple system has the Apple application market, and the Linux system also has the Linux application market

CentOS version: yum source

Ubuntu version: apt-get source           

Note 1 : If you just simply configure Linux and install JDK , Tomcat and other tools, you don't need to update the domestic source, which is mainly to solve the slow speed of accessing foreign servers.

Note 2 : yum is just the command, epel is the source.                                                                                          

CentOS is replaced by Alibaba Cloud's source 

1. Make sure to install wget before the replacement. If you don’t have wget installed, you can install it directly

yum list wget 


yum -y install wget

2. Backup first

mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak 

3. Download the yum source of Alibaba Cloud to /etc/yum.repos.d/

wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo 

4. Clear cache

yum clean all 

5. Update the local YUM cache

yum makecache 

6. Install a software and try it out to see if the download source has changed to Alibaba Cloud

yum -y install lrzsz 

Note: lrzsz is a program that can replace FTP upload and download in Linux.

You want to download sz [find the file you want to download];

If you want to upload, rz browse to find the file you want to upload locally.

It should be noted that this command cannot be used in the putty interface!

Guess you like

Origin blog.csdn.net/m0_63300795/article/details/126881894