Quick Start
This document uses openEuler 21.09 installed on the TaiShan 200 server as an example to describe how to quickly install and use openEuler OS. For details about the installation requirements and methods, see Installation Guide.
Installation Preparations
Hardware Compatibility
Table 1 describes the types of supported servers.
Table 1 Supported servers
Minimum Hardware Specifications
Table 2 lists the minimum hardware specifications supported by openEuler.
Table 2 Minimum hardware specifications
Obtaining the Installation Source
Perform the following operations to obtain the openEuler release package:
Visit the openEuler website.
Click Downloads.
Click Community Editions. The version list is displayed.
Click Download on the right of openEuler 21.09.
Select the openEuler release package and verification file to be downloaded based on the architecture of the environment to be installed.
If the AArch64 architecture is used:
- Click aarch64.
- Click openEuler-21.09-aarch64-dvd.iso to download the openEuler release package to the local host.
- Click openEuler-21.09-aarch64-dvd.iso.sha256sum to download the openEuler verification file to the local host.
If the x86_64 architecture is used:
- Click x86_64.
- Click openEuler-21.09-x86_64-dvd.iso to download the openEuler release package to the local host.
- Click openEuler-21.09-x86_64-dvd.iso.sha256sum to download the openEuler verification file to the local host.
Release Package Integrity Check
To prevent incomplete download of the software package due to network or storage device problems during the transmission, you can perform the following steps to check the integrity of the obtained openEuler software package:
Obtain the verification value in the verification file. Run the following command:
cat openEuler-21.09-aarch64-dvd.iso.sha256sum
Calculate the SHA256 verification value of the file. Run the following command:
sha256sum openEuler-21.09-aarch64-dvd.iso
After the command is run, the verification value is displayed.
Check whether the values calculated in step 1 and step 2 are consistent.
If the verification values are consistent, the .iso file is not damaged. If they are inconsistent, you can confirm that the file is damaged and you need to obtain the file again.
Starting the Installation
Log in to the iBMC WebUI.
For details, see TaiShan 200 Server User Guide (Model 2280).
Choose Configuration from the main menu, and select Boot Device from the navigation tree. The Boot Device page is displayed.
Set Effective and Boot Medium to One-time and DVD-ROM, respectively, and click Save, as shown in Figure 1.
Choose Remote Console from the main menu. The Remote Console page is displayed.
Select an integrated remote console as required to access the remote virtual console, for example, Java Integrated Remote Console (Shared).
On the toolbar, click the icon shown in the following figure.
An image dialog box is displayed, as shown in the following figure.
Select Image File and then click Browse. The Open dialog box is displayed.
Select the image file and click Open. In the image dialog box, click Connect. If Connect changes to Disconnect, the virtual CD/DVD-ROM drive is connected to the server.
On the toolbar, click the restart icon shown in the following figure to restart the device.
A boot menu is displayed after the system restarts, as shown in Figure 5.
NOTE:
- If you do not perform any operations within 1 minute, the system automatically selects the default option Test this media & install openEuler 21.09 and enters the installation page.
- During PM installation, if you cannot use the arrow keys to select boot options and the system does not respond after you press Enter, click on the BMC page and configure Key & Mouse Reset.
On the installation wizard page, press Enter to select the default option Test this media & install openEuler 21.09 to enter the GUI installation page.
Installation
After entering the GUI installation page, perform the following operations to install the system:
Set an installation language. The default language is English. You can change the language based on the site requirements, as shown in Figure 6.
On the INSTALLATION SUMMARY page, set configuration items based on the site requirements.
- A configuration item with an alarm symbol must be configured. When the alarm symbol disappears, you can perform the next operation.
- A configuration item without an alarm symbol is configured by default.
- You can click Begin Installation to install the system only when all alarms are cleared.
Select Software Selection to set configuration items.
Based on the site requirements, select Minimal Install on the left box and select an add-on in the Add-Ons for Selected Environment area on the right, as shown in Figure 8.
Figure 8 Selecting installation software
NOTE:
- In Minimal Install mode, not all packages in the installation source will be installed. If the required package is not installed, you can mount the installation source to the local PC and configure a repo source, and use DNF to install the package.
- If you select Virtual Host, the virtualization components QEMU, libvirt, and edk2 are installed by default. You can select whether to install the OVS component in the add-on area.
After the setting is complete, click Done in the upper left corner to go back to the INSTALLATION SUMMARY page.
Select Installation Destination to set configuration items.
On the INSTALLATION DESTINATION page, select a local storage device.
NOTICE:
The NVMe data protection feature is not supported because the NVMe drivers built in the BIOSs of many servers are of earlier versions. (Data protection: Format disk sectors to 512+N or 4096+N bytes.) Therefore, when selecting a proper storage medium, do not select an NVMe SSD with data protection enabled as the system disk. Otherwise, the OS may fail to boot. Users can consult the server vendor about whether the BIOS supports NVMe disks with data protection enabled as system disks. If you cannot confirm whether the BIOS supports NVMe disks with data protection enabled as system disks, you are not advised to use an NVMe disk to install the OS, or you can disable the data protection function of an NVMe disk to install the OS.You also need to configure the storage to partition the system. You can either manually configure partitions or select Automatic to automatically configure partitioning. Select Automatic if the software is installed in a new storage device or the data in the storage device is not required, as shown in Figure 9.
Figure 9 Setting the installation destination
NOTE:
- During partitioning, to ensure system security and performance, you are advised to divide the device into the following partitions: /boot, /var, /var/log, /var/log/audit, /home, and /tmp.
- If the system is configured with the swap partition, the swap partition is used when the physical memory of the system is insufficient. Although the swap partition can be used to expand the physical memory, if the swap partition is used due to insufficient memory, the system response slows and the system performance deteriorates. Therefore, you are not advised to configure the swap partition in the system with sufficient physical memory or the performance sensitive system.
- If you need to split a logical volume group, select Custom to manually partition the logical volume group. On the MANUAL PARTITIONING page, click Modify in the Volume Group area to reconfigure the logical volume group.
After the setting is complete, click Done in the upper left corner to go back to the INSTALLATION SUMMARY page.
Select Root Password and set the root password.
On the ROOT PASSWORD page, enter a password that meets the Password Complexity requirements and confirm the password, as shown in Figure 10.
NOTE:
The root account is used to perform key system management tasks. You are not advised to use the root account for daily work or system access.
If you select Lock root account on the Root Password page, the root account will be disabled.
The password of user root or a new user must meet the password complexity requirements. Otherwise, the password setting or user creation will fail. The password must meet the following requirements:
Contain at least eight characters.
Contain at least three of the following: uppercase letters, lowercase letters, digits, and special characters.
Different from the user name.
Not allowed to contain words in the dictionary.
NOTE: In the openEuler environment, you can run the
cracklib-unpacker /usr/share/cracklib/pw_dict > dictionary.txt
command to export the dictionary library file dictionary.txt. You can check whether the password is in this dictionary.After the settings are completed, click Done in the upper left corner to return to the INSTALLATION SUMMARY page.
Select Create a User and set the parameters.
Figure 11](#zh-cn_topic_0186390266_zh-cn_topic_0122145909_fig1237715313319) shows the page for creating a user. Enter the user name and set the password. The password complexity must be the same as that of the root password. In addition, you can set the home directory and user group by clicking Advanced, as shown in Figure 12.
Figure 12 Advanced user configuration
After the settings are completed, click Done in the upper left corner to return to the INSTALLATION SUMMARY page.Set other configuration items. You can use the default values for other configuration items.
Click Start the Installation to install the system, as shown in Figure 13.
After the installation is completed, restart the system.
openEuler has been installed. Click Reboot to restart the system.
Viewing System Information
After the system is installed and restarted, the system CLI login page is displayed. Enter the username and password set during the installation to log in to openEuler OS and view the following system information. For details about system management and configuration, see the openEuler 21.09 Administrator Guide.
Run the following command to view the system information:
cat /etc/os-release
For example, the command and output are as follows:
$ cat /etc/os-release NAME="openEuler" VERSION="21.09" ID="openEuler" VERSION_ID="21.09" PRETTY_NAME="openEuler 21.09" ANSI_COLOR="0;31"
View system resource information.
Run the following command to view the CPU information:
lscpu
Run the following command to view the memory information:
free
Run the following command to view the disk information:
fdisk -l
Run the following command to view the IP address:
ip addr