Detailed tutorial on installing vmware virtual machine and centos8 on mac pro M1 (ARM)

Foreword
mac released the m1 chip, its powerful performance has been sought after by many developers, but also because of the replacement of its architecture, the installation of many software or environments has become a problem, this time we will see how to use it in the mac m1 environment install centos8

Install vmware virtual machine

We install the virtual machine through VM. First, we need to download the arm version of VM. The official download path is provided
here .

insert image description here

Centos8 image supports M1 chip

Link: https://pan.baidu.com/s/1GAOoZXEEeUQl3WkrdqPYYg?pwd=6ffe
Extraction code: 6ffe

Install CentOS8 system

1. Open the virtual machine software, click Create a custom virtual machine, and then click Continue

insert image description here

2. Select Linux, other Linux5.x kernel 64-bit Arm

insert image description here

3. Select the new virtual disk and click Continue

insert image description here

4. Select custom settings

insert image description here

5. Select a custom virtual machine storage location for storage.

insert image description here

6. This interface pops up to modify the cpu, memory, hard disk, etc. Click the hard disk icon, modify the hard disk size to 60G, and click Apply.

insert image description here
insert image description here

7. Click Settings, then click the CD/DVD icon, select the CD/DVD drive in the pop-up interface, and select the centos8 image downloaded above.

insert image description here
insert image description here

8. Click the start icon.

insert image description here

9. Press the up arrow key to select install centos8 linux 8, and click Enter to start installing the system

insert image description here

10. Select the language you want to use and click Continue

insert image description here

11. Configure network host name, network card, add disk mount point

Click on the network and host name, configure the network insert image description here
, turn on the network card switch, change the host name and apply, and complete. insert image description hereClick the time and date insert image description hereto open the network time, and the time will be calibrated automatically. Select Shanghai, Asia, and click Finish.
insert image description here
Software selection, click to minimize the installation. insert image description hereinsert image description here
Select the installation destination (disk partitioning is available) insert image description here, select Custom and insert image description here
click Finish to pop up the following interface, click the ➕ sign, select the /boot partition, and add a mount point
insert image description here
in the same way to allocate space for other partitions, click Finish to insert image description herepop up the following interface, click Accept Change insert image description here
Click Root Password, after setting the password, start the installation. insert image description here
Just restart the systeminsert image description here

12. Terminal command operation

Edit the network card configuration file cd /etc/sysconfig/network-scripts/
insert image description hereinsert image description here
Add in the configuration file:

1|IPADDR=192.168.244.12 #静态IP,你要修改的ip
2|GATEWAY=192.168.244.1 #默认网关
3|NETMASK=255.255.255.0 #子网掩码 

restart network card

1|nmcli c reload

Ping through the external network www.baidu.cominsert image description hereto set the yum source
Reference: https://blog.csdn.net/xiaocao_debug/article/details/123041407

Guess you like

Origin blog.csdn.net/weixin_42274846/article/details/128276521