Install the openEuler system on the PVE virtualization platform
1. Introduction to openEuler
1.1 Introduction to openEuler
openEuler is an open source operating system. The current openEuler kernel is derived from Linux, supports Kunpeng and various other processors, and can fully release the potential of computing chips. It is an efficient, stable, and secure open source operating system built by global open source contributors. It is suitable for application scenarios such as databases, big data, cloud computing, and artificial intelligence. At the same time, openEuler is a global operating system open source community. Through community cooperation, it creates an innovative platform, builds a unified and open operating system that supports multi-processor architecture, and promotes the prosperity and development of software and hardware application ecology.
1.2 Hardware requirements of openEuler
①Physical machine installation requirements
- Supported server types
Server form | name of server | server model |
---|---|---|
rack server | TaiShan 200 | 2280 balanced type |
rack server | FusionServer Pro Rack Server | FusionServer Pro 2288H V5 Description: The server requires Avago 3508 RAID controller card and LOM-X722 network card to be enabled |
- Minimum hardware requirements
Part Name | Minimum hardware requirements |
---|---|
architecture | AArch64 or x86_64 |
CPU | 2*CPU (1 core) |
Memory | Not less than 4GB (in order to obtain a better application experience, it is recommended not to be less than 8GB) |
hard disk | Not less than 32GB (in order to obtain a better application experience, it is recommended not to be less than 120GB) |
②Virtual machine installation requirements
- Virtualization Platform Compatibility:
1. The virtualization platform created by openEuler's own virtualization components (HostOS is openEuler, and the virtualization components are qemu and KVM in the release package).
2. The x86 virtualization platform of Huawei Public Cloud.
- Minimum Virtualization Space Requirements
Part Name | Minimum Virtualization Space Requirements |
---|---|
architecture | AArch64 or x86_64 |
CPU | 2 CPUs |
Memory | Not less than 4GB (in order to obtain a better application experience, it is recommended not to be less than 8GB) |
hard disk | Not less than 32GB (in order to obtain a better application experience, it is recommended not to be less than 120GB) |
2. Download the openEuler system image
2.1 Official website
Official download address: https://www.openeuler.org/zh/download/
2.2 Download the openEuler system image
Download openEuler-22.03-LTS-SP2-x86_64-dvd.iso version
3. Upload the image to PVE storage
3.1 Check the PVE environment
Log in to PVE to view the PVE status.
3.2 Upload image
Upload the image openEuler-22.03-LTS-SP2-x86_64-dvd.iso to the PVE storage
Fourth, create a virtual machine
4.1 Set the virtual machine name
Set the virtual machine name to openEuler
4.2 Operating system settings
Select the image storage location, select openEuler-22.03-LTS-SP2-x86_64-dvd.iso.
4.3 System Settings
The default setting is fine.
4.4 Disk Settings
Select the disk and select 300G for the size.
4.5 cpu settings
The number of cpu cores is 2, and the rest can be defaulted.
4.6 Memory Settings
The memory size is set to 4G
4.7 Network Settings
By default, the default network is bridge mode.
4.8 Confirm virtual machine configuration
Check the virtual machine configuration and confirm the new virtual machine.
5. Install the operating system
5.1 Set system language
Start the virtual machine, enter the console of the virtual machine, and choose to install the operating system. Language here select English.
5.2 Time zone setting
Time zone select Shanghai time zone
5.3 Minimized installation method
Choose minimal install
5.4 Network Settings
Manually set the IP address, 192.168.3.169/24, and set the host name to openEuler.
5.5 Set the system installation location
Set the system installation location, and manually divide the partition size as follows.
5.6 Set user name
Set the root password and create a new admin user.
5.7 Start to install the system
Choose to start the system installation
6. Initial configuration of openEuler system
6.1 Console login to openEuler system
After the virtual machine restarts, log in to the openEuler system on the console.
6.2 Remote ssh login to openEuler
Check the IP address of openEuler, and use the xshell tool to ssh to connect to openEuler.
6.3 Check the yum warehouse status
Check yum repository status
[root@openEuler ~]# yum repolist all
repo id repo name status
EPOL EPOL enabled
OS OS enabled
debuginfo debuginfo enabled
everything everything enabled
source source enabled
update update enabled
update-source update-source enable
6.4 Install basic tools
Install basic tools such as vim, tree, net-tools, etc.
yum -y install tree net-tools vim