CentOS7 download, installation and configuration (detailed diagram)

Download of CentOS7 installation package

The Centos7 installation package can be downloaded from the official website (https://www.centos.org/), but the speed is relatively slow.

You can also use search engines to search the installation package files of domestic mirror sites and synchronize them with the official website, and the download speed is very fast.

 

Sharing of CentOS7 software installation package

Baidu network disk sharing:

Link: https://pan.baidu.com/s/100a9M1u4QmOToDog5FAybg

Extraction code: 7911

 

CentOS7 installation

  1. Create a new virtual machine in VMware.

    [External link image transfer failed, the source site may have an anti-leeching mechanism, it is recommended to save the image and upload it directly (img-T63uBllG-1680844651167) (CentOS7 download, installation and configuration.assets/image-20230401104233604.png)]

  2. Click Next.

    [External link picture transfer failed, the source site may have an anti-leeching mechanism, it is recommended to save the picture and upload it directly (img-nhmwUUD5-1680844651167) (CentOS7 download, installation and configuration.assets/image-20230401104321067.png)]

  3. Click to browse.

    [External link picture transfer failed, the source site may have an anti-leeching mechanism, it is recommended to save the picture and upload it directly (img-CttysWl7-1680844651168) (CentOS7 download, installation and configuration.assets/image-20230401104704417.png)]

    Click on the CentOS7 CD image file you downloaded.

    [External link picture transfer failed, the source site may have an anti-leeching mechanism, it is recommended to save the picture and upload it directly (img-MLOrMYYA-1680844651168) (CentOS7 download, installation and configuration.assets/image-20230401104734274.png)]

    Click Next.

    [External link image transfer failed, the source site may have an anti-leeching mechanism, it is recommended to save the image and upload it directly (img-nGys3t71-1680844651168) (CentOS7 download, installation and configuration.assets/image-20230401104754993.png)]

  4. Click Browse to select a disk directory with enough space.

    [External link picture transfer failed, the source site may have an anti-leeching mechanism, it is recommended to save the picture and upload it directly (img-7stdSgFD-1680844651169) (CentOS7 download, installation and configuration.assets/image-20230401105100776.png)]

    Click Next.

    [External link image transfer failed, the source site may have an anti-leeching mechanism, it is recommended to save the image and upload it directly (img-9q5Q93uZ-1680844651169) (CentOS7 download, installation and configuration.assets/image-20230401105150216.png)]

  5. Select the first option and click Next.

    [External link picture transfer failed, the source site may have an anti-leeching mechanism, it is recommended to save the picture and upload it directly (img-WoeVSNHb-1680844651169) (CentOS7 download, installation and configuration.assets/image-20230401105330782.png)]

  6. Uncheck it and click Finish.

    [External link picture transfer failed, the source site may have an anti-leeching mechanism, it is recommended to save the picture and upload it directly (img-IbuOggeY-1680844651170) (CentOS7 download, installation and configuration.assets/image-20230401105518809.png)]

  7. Click to power on this virtual machine.

    [External link image transfer failed, the source site may have an anti-leeching mechanism, it is recommended to save the image and upload it directly (img-4j5v4XkS-1680844651170) (CentOS7 download, installation and configuration.assets/image-20230401105742722.png)]

    Click on the black screen part and press enter.

    [External link image transfer failed, the source site may have an anti-leeching mechanism, it is recommended to save the image and upload it directly (img-aKf7YM36-1680844651170) (CentOS7 download, installation and configuration.assets/image-20230401110111205.png)]

  8. Select Chinese and click Continue.

    [External link picture transfer failed, the source site may have an anti-leeching mechanism, it is recommended to save the picture and upload it directly (img-Gs2tBPaF-1680844651171) (CentOS7 download, installation and configuration.assets/image-20230401110225612.png)]

  9. Click Install Location.

    [External link image transfer failed, the source site may have an anti-leeching mechanism, it is recommended to save the image and upload it directly (img-smbTyQRd-1680844651171) (CentOS7 download, installation and configuration.assets/image-20230401110414900.png)]

    Click Finish.

    [External link picture transfer failed, the source site may have an anti-leeching mechanism, it is recommended to save the picture and upload it directly (img-CRvswrfq-1680844651171) (CentOS7 download, installation and configuration.assets/image-20230401110500170.png)]

    Click to start the installation.

    [External link image transfer failed, the source site may have an anti-leeching mechanism, it is recommended to save the image and upload it directly (img-nf55wvKd-1680844651171) (CentOS7 download, installation and configuration.assets/image-20230401110529812.png)]

  10. Click on the ROOT password.

    [External link picture transfer failed, the source site may have an anti-leeching mechanism, it is recommended to save the picture and upload it directly (img-4Bazcnim-1680844651172) (CentOS7 download, installation and configuration.assets/image-20230401111122071.png)]

    Enter the password and click Finish.

    [External link picture transfer failed, the source site may have an anti-leeching mechanism, it is recommended to save the picture and upload it directly (img-YHc0Qbpa-1680844651172) (CentOS7 download, installation and configuration.assets/image-20230401111251611.png)]

    Click Finish.

    [External link image transfer failed, the source site may have an anti-leeching mechanism, it is recommended to save the image and upload it directly (img-3XpzrSu6-1680844651172) (CentOS7 download, installation and configuration.assets/image-20230401111317686.png)]

  11. Click Restart.

    [External link picture transfer failed, the source site may have an anti-leeching mechanism, it is recommended to save the picture and upload it directly (img-qn5FifcQ-1680844651172) (CentOS7 download, installation and configuration.assets/image-20230401111548871.png)]

  12. If the following interface appears, it means the installation is successful.

    [External link picture transfer failed, the source site may have an anti-leeching mechanism, it is recommended to save the picture and upload it directly (img-y73CSRih-1680844651173) (CentOS7 download, installation and configuration.assets/image-20230401111644371.png)]

Notice:

Do not directly click the icon × when closing CentOS7.

[External link image transfer failed, the source site may have an anti-leeching mechanism, it is recommended to save the image and upload it directly (img-MFYrAo3c-1680844651173) (CentOS7 download, installation and configuration.assets/image-20230401112558143.png)]

Instead, you need to shut down CentOS7 as shown below.

[External link image transfer failed, the source site may have an anti-leeching mechanism, it is recommended to save the image and upload it directly (img-mgqON7mx-1680844651174) (CentOS7 download, installation and configuration.assets/image-20230401112753655.png)]

 

CentOS7 configuration

  1. Use the set password to log in to the root user.

    [External link picture transfer failed, the source site may have an anti-leeching mechanism, it is recommended to save the picture and upload it directly (img-uqxggs1f-1680844651174) (CentOS7 download, installation and configuration.assets/image-20230401112932635.png)]

    Note: There will be no display when entering the password in CentOS7.

  2. Enter echo ONBOOT=yes >> /etc/sysconfig/network-scripts/ifcfg-ens33this command line to configure the network card.

    [External link image transfer failed, the source site may have an anti-leeching mechanism, it is recommended to save the image and upload it directly (img-NuPrzuqQ-1680844651174) (CentOS7 download, installation and configuration.assets/image-20230401113833158.png)]

    Restart CentOS7.

    Enter ip-configthe command to view the ip address. If the following information appears, it means that the network card is set successfully.
    insert image description here

Guess you like

Origin blog.csdn.net/m0_70103775/article/details/130010018