Little knowledge point: Mac M1/M2 VMware Fusion installs Centos 7.9 (ARM 64 version)

  I recently replaced a laptop with a Mac M2 chip, and using the original Centos image to install the virtual machine directly reported an error "This virtual machine cannot be powered on because it requires an X86 computer architecture, which is not compatible with this Arm computer architecture host."

insert image description here

Front

  In the past, Macs with Intel chips used Parallels Desktop to play virtual machines. Now the new Mac uses a new M2 chip. I thought that the x86 architecture would not need to be replaced with the arm architecture. As a result, I couldn’t install it successfully after surfing the Internet for a day. , has been stuck on the Install Centos 7 page and keeps jumping back. Later, I browsed a lot of blogs and found a lot of images to run. Finally, I found a suitable one that can be used. The following is the specific process of image installation. Those who need VMware Fusion can directly visit the official website Download and search for an activation code.

1. Download mirror

  • To prevent failure, it is stored in my Aliyun disk
    • https://www.aliyundrive.com/s/8U3eN5a8EMY
    • The image suffix is ​​changed to iso suffix after the download is complete

insert image description here

Second, install the virtual machine

  • Directly select the downloaded image to install
    insert image description here
    insert image description here
    insert image description here
  • Set according to your actual needs

insert image description here
insert image description here

  • Configure the processor, memory, hard disk, and others according to your actual needs
    • Here I will configure the processor, memory and hard disk, close the page and start it after configuration

insert image description here
insert image description here

  • Select the first installation, then press Enter, wait for him to finish running and enter the page

insert image description here

  • Choose according to your actual situation, if you don’t understand English, you can choose Chinese

insert image description here
insert image description here

  • Modify Time & Date

insert image description here

  • Modify Software Selection according to your actual situation
    • I can use Minimal to install it myself. For others, refer to the installation below

insert image description here

  • Turn off Kdump (choose according to personal circumstances)

insert image description here

  • Modify Network & Host Name

insert image description here

  • Set root password and User account
    • Passwords that are too simple need to be pressed twice

insert image description here
insert image description here

  • Configure the hard disk, I personally use automatic

insert image description here

  • After the configuration is complete, click the lower right corner to start the installation, and then wait for the restart to complete.
    • The mini installation mode is directly the command line, and the desktop mode will have an additional visual operation page, which can be done according to the actual situation

insert image description here
insert image description here

  • Here, congratulations, the installation is successful, start your operation

insert image description here

3. Configure static IP

  • Operate under the root account
    • vi /etc/sysconfig/network-scripts/ifcfg-eth160
    • BOOTPROTO changed to static
    • Add GATEWAY, IPADDR, NETMASK, and DNS, and configure them according to their actual conditions. There are also related configurations when starting the network.

insert image description here

  • Ping www.baidu.com is smooth, the host pings the virtual machine normally, the host ssh connection is normal, and the installation is complete

insert image description here
insert image description here

4. Install the big data environment

Reference article: Linux Virtual Machine: Building a Basic Environment for Big Data Clusters (Hadoop, Spark, Flink, Hive, Zookeeper, Kafka, Nginx)

Guess you like

Origin blog.csdn.net/baidu_40468340/article/details/129066070