提交 9d849536 编写于 作者: X xiongqing10

Modify the english of Installation Guide.

上级 8e5e0ad0
# An Exception Occurs During the Selection of the Installation Source<a name="EN-US_TOPIC_0214071152"></a>
# An Exception Occurs During the Selection of the Installation Source<a name="EN-US_TOPIC_0229291200"></a>
## Symptom<a name="en-us_topic_0187401458_s079358afc7a646ecac367116895121cd"></a>
After the selection of the installation source, the message "Error checking software selection" is displayed.
## Possible Cause<a name="en-us_topic_0187401458_s5def92a13626401e865071b5f2ac127c"></a>
This is because the software package dependency in the installation source is abnormal.
## Solution<a name="en-us_topic_0187401458_s76bf3c913a674441b1fb8f33ba736814"></a>
Check whether the installation source is abnormal. Use the new installation source.
......@@ -8,8 +8,8 @@ After all mandatory items are configured on the installation overview page, the
**Figure 2** Pressing **Enter** to restart the system after the installation is complete<a name="fig9722125434418"></a>
![](figures/pressing-enter-to-restart-the-system-after-the-installation-is-complete.png "pressing-enter-to-restart-the-system-after-the-installation-is-complete")
**Figure 3** Entering the login page after the installation is complete<a name="fig12380105124511"></a>
![](figures/entering-the-login-page-after-the-installation-is-complete.png "entering-the-login-page-after-the-installation-is-complete")
- If the physical DVD-ROM is used to install the OS and the DVD-ROM drive is not automatically ejected during the restart, manually remove the DVD-ROM. Then, the openEuler CLI login page is displayed.
- If the virtual DVD-ROM drive is used to install the OS, change the server boot option to **Hard Disk** and restart the server. Then, the openEuler CLI login page is displayed.
>![](public_sys-resources/icon-note.gif) **NOTE:**
>- Because the BIOS reserves memory, the total memory \(indicated by **MemTotal**\) is slightly different before and after the system restart.
......
......@@ -5,8 +5,6 @@ openEuler has been installed, as shown in [Figure 1](#en-us_topic_0186390267_en
**Figure 1** Completing the installation<a name="en-us_topic_0186390267_en-us_topic_0122145917_fig1429512116338"></a>
![](figures/completing-the-installation.png "completing-the-installation")
>![](public_sys-resources/icon-note.gif) **NOTE:**
>Remove the CD-ROM manually if it does not eject automatically during rebooting.
After the restart is complete, log in to openEuler through the CLI.
- If the physical DVD-ROM is used to install the OS and the DVD-ROM drive is not automatically ejected during the restart, manually remove the DVD-ROM. Then, the openEuler CLI login page is displayed.
- If the virtual DVD-ROM drive is used to install the OS, change the server boot option to **Hard Disk** and restart the server. Then, the openEuler CLI login page is displayed.
......@@ -62,4 +62,8 @@ Click **User Creation**. [Figure 3](#en-us_topic_0186390266_en-us_topic_012214
![](figures/advanced-user-configuration.png "advanced-user-configuration")
After configuration, click **Done** in the left-upper corner to switch back to the installation process interface.
Click **Finish**. The configuration of openEuler is complete.
![](figures/completing-the-configuration.png)
......@@ -5,6 +5,8 @@ Enter **5** on the installation overview page and press **Enter** to configu
**Figure 1** Installation destination<a name="fig62936221559"></a>
![](figures/installation-destination.png "installation-destination")
Enter **2** and press **Enter** to select **Use All Space**, then enter **c** to specify the partition scheme configuration. Enter **1** to select **Standard Partition**. The parameters are described as follows:
- **Partitioning options**
1. Replace existing Linux system\(s\): Replace the existing system. Only the space occupied by the existing system is used. The existing system data will be overwritten.
2. Use All Space: Use all space. Clear all data in the system disk. All system disk space is used for the installation of the system.
......
......@@ -26,5 +26,8 @@ NIC configuration description
7. Connect automatically after reboot: Automatically connect to the network after the reboot.
8. Apply configuration in installer: Apply the configuration in the installation program.
>![](public_sys-resources/icon-note.gif) **说明:**
>**Apply configuration in installer** is only recommended when the installation source is **Network**. If **Apply configuration in installer** is selected, the installation software needs to be reselected.
After the configuration is complete, enter **c** to return to the installation overview page.
......@@ -13,16 +13,13 @@ Enter **1** and press **Enter** to configure the system time zone, as shown
When you select a city, the cities will be displayed in the paging mode if a large number of cities exist in the system. When the message **Press ENTER to continue** is displayed, press **Enter** to display all cities.
**Figure 2** Cities<a name="fig7667103717316"></a>
![](figures/cities.png "cities")
## Setting the NTP Service<a name="en-us_topic_0155778951_section1434589596"></a>
After the time zone is configured, return to the main installation interface \(as shown in the **Installation** overview\), enter **2**, and press** Enter**. The interface for configuring the time zone and NTP service is displayed.
After the time zone is configured, return to the main installation interface \(as shown in the **Installation** overview\), enter **2**, and press **Enter**. The interface for configuring the time zone and NTP service is displayed.
Enter **2** and press **Enter** to configure the NTP service.
**Figure 3** Configuring the NTP server<a name="en-us_topic_0155778951_fig147741931111610"></a>
**Figure 2** Configuring the NTP server<a name="en-us_topic_0155778951_fig147741931111610"></a>
![](figures/configuring-the-ntp-server.png "configuring-the-ntp-server")
  
......
# Full-automatic Installation Guide<a name="EN-US_TOPIC_0229291289"></a>
## Environment Requirements<a name="section624913414504"></a>
The environment requirements for full-automatic installation of openEuler using kickstart are as follows:
- PM/VM \(for details about how to create VMs, see the documents from corresponding vendors\): includes the computer where kickstart is used for automatic installation and the computer where the kickstart tool is installed.
- Httpd: stores the kickstart file.
- TFTP: provides vmlinuz and initrd files.
- DHCPD/PXE: provides the DHCP service.
- ISO: openEuler-1.0-base-aarch64-dvd.iso
## Procedure<a name="section9467123415317"></a>
To use kickstart to perform full-automatic installation of openEuler, perform the following steps:
**Environment Preparation**
>![](public_sys-resources/icon-note.gif) **NOTE:**
>Before the installation, ensure that the firewall of the HTTP server is disabled. Run the following command to disable the firewall:
>```
>iptables -F
>```
1. Install httpd and start the service.
```
# dnf install httpd -y
# systemctl start httpd
# systemctl enable httpd
```
2. Install and configure TFTP.
```
# dnf install tftp-server -y
# vim /etc/xinetd.d/tftp
service tftp
{
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -s /var/lib/tftpboot
disable = no
per_source = 11
cps = 100 2
flags = IPv4
}
# systemctl start tftp
# systemctl enable tftp
# systemctl start xinetd
# systemctl status xinetd
# systemctl enable xinetd
```
3. <a name="l1692f6b9284e493683ffa2ef804bc7ca"></a>Run the following commands to prepare the installation source:
```
# mount openEuler-1.0-base-aarch64-dvd.iso /mnt
# cp -r /mnt/* /var/www/html/openEuler/
```
4. Set and modify the kickstart configuration file **openEuler-ks.cfg**. Select the HTTP installation source by referring to [3](#l1692f6b9284e493683ffa2ef804bc7ca).
```
#vim /var/www/html/ks/openEuler-ks.cfg
====================================
***Modify the following information as required.***
#version=DEVEL
ignoredisk --only-use=sda
autopart --type=lvm
# Partition clearing information
clearpart --none --initlabel
# Use text mode install
text
# Keyboard layouts
keyboard --vckeymap=cn --xlayouts='cn'
# System language
lang zh_CN.UTF-8
#Use http installation source
url --url=//192.168.122.1/openEuler/
%post
#enable kdump
sed -i "s/ ro / ro crashkernel=1024M,high /" /boot/efi/EFI/openEuler/grub.cfg
%end
...
```
5. Modify the PXE configuration file **grub.cfg** as follows:
```
# cp -r /mnt/images/pxeboot/* /var/lib/tftpboot/
# cp /mnt/EFI/BOOT/grubaa64.efi /var/lib/tftpboot/
# cp /mnt/EFI/BOOT/grub.cfg /var/lib/tftpboot/
# ls /var/lib/tftpboot/
grubaa64.efi grub.cfg initrd.img TRANS.TBL vmlinuz
# vim /var/lib/tftpboot/grub.cfg
set default="1"
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set timeout=60
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Install openEuler 1.0 with text mode' --class red --class gnu-linux --class gnu --class os {
set root=(tftp,192.168.1.1)
linux /vmlinuz ro inst.text inst.geoloc=0 console=ttyAMA0 console=tty0 inst.ks=http://192.168.122.1/ks/openEuler-ks.cfg
initrd /initrd.img
}
```
6. Run the following commands to configure DHCP \(which can be replaced by DNSmasq\):
```
# dnf install dhcp -y
#
# DHCP Server Configuration file.
# see /usr/share/doc/dhcp-server/dhcpd.conf.example
# see dhcpd.conf(5) man page
#
# vim /etc/dhcp/dhcpd.conf
ddns-update-style interim;
ignore client-updates;
filename "grubaa64.efi"; # pxelinux location of the startup file;
next-server 192.168.122.1; # (IMPORTANT) TFTP server IP address;
subnet 192.168.122.0 netmask 255.255.255.0 {
option routers 192.168.111.1; # Gateway address
option subnet-mask 255.255.255.0; # Subnet mask
range dynamic-bootp 192.168.122.50 192.168.122.200; # Dynamic IP address range
default-lease-time 21600;
max-lease-time 43200;
}
# systemctl start dhcpd
# systemctl enable dhcpd
```
**Installing the System**
1. On the **Start boot option** screen, press **F2** to boot from the PXE and start automatic installation.
![](figures/en-us_image_0221430310.png)
![](figures/en-us_image_0221430311.png)
![](figures/en-us_image_0221430312.png)
2. The automatic installation window is displayed.
3. Verify that the installation is complete.
![](figures/en-us_image_0221430313.png)
# Installation Mode<a name="EN-US_TOPIC_0214071123"></a>
>![](public_sys-resources/icon-notice.gif) **NOTICE:**
>The operating system can only be deployed on TaiShan 200 servers. For details about the types of supported servers, see **Installation Preparations** \> **Hardware Compatibility**. Moreover, it can only be installed using the CD/DVD-ROM.
>The operating system can only be deployed on TaiShan 200 servers. For details about the types of supported servers, see **Installation Preparations** \> **Hardware Compatibility**. Moreover, Only a virtualization platform created by the virtualization components \(openEuler as the host OS and QEMU and KVM provided in the release package\) of openEuler is supported. Currently, only installation modes such as CD-ROM, USB flash drive, and network are supported.
>
# Installation Through a USB Flash Drive<a name="EN-US_TOPIC_0229291281"></a>
This section describes how to create or use a USB flash drive to install the openEuler.
## Preparing the Installation Source<a name="en-us_topic_0022605797_en-us_topic_0018374843_section16523819201222"></a>
Pay attention to the capacity of the USB flash drive. The USB flash drive must have sufficient space to store the entire image. It is recommended that the USB flash drive has more than 16 GB space.
1. Connect the USB flash drive to the system and run the **dmesg** command to view related log. At the end of the log, you can view the information generated by the USB flash drive that is just connected. The information is similar to the following:
```
[ 170.171135] sd 5:0:0:0: [sdb] Attached SCSI removable disk
```
>![](public_sys-resources/icon-note.gif) **NOTE:**
>Take the **sdb** USB flash drive as an example.
2. Switch to user **root**. When running the **su** command, you need to enter the password.
```
$ su - root
```
3. Ensure that the USB flash drive is not mounted. Run the following command:
```
# findmnt /dev/sdb
```
- If no command output is displayed, the file system is not mounted. Go to the next step.
- If the following information is displayed, the USB flash drive is automatically mounted.
```
# findmnt /dev/sdb
TARGET SOURCE FSTYPE OPTIONS
/mnt/iso /dev/sdb iso9660 ro,relatime
```
In this case, you need to run the **umount** command to uninstall the device.
```
# umount /mnt/iso
```
4. Run the **dd** command to write the ISO image to the USB flash drive.
```
# dd if=/path/to/image.iso of=/dev/device bs=blocksize
```
Replace **/path/to/image.iso** with the complete path of the downloaded ISO image file, replace **device** with the device name provided by the **dmesg** command, and set a proper block size \(for example, 512 KB\) to replace **blocksize** to accelerate the write progress.
For example, if the ISO image file name is **/home/testuser/Downloads/openEuler-1.0-base-aarch64-dvd.iso** and the detected device name is **sdb**, run the following command:
```
# dd if=/home/testuser/Downloads/openEuler-1.0-base-aarch64-dvd.iso of=/dev/sdb bs=512k
```
5. After the image is written, remove the USB flash drive.
No progress is displayed during the image write process. When the number sign \(\#\) appears again, the write is complete. Exit the **root** account and remove the USB flash drive. In this case, you can use the USB flash drive as the installation source of the system.
## Starting the Installation<a name="en-us_topic_0022605797_en-us_topic_0018374843_section61839653201222"></a>
Perform the following operations to start the installation:
>![](public_sys-resources/icon-note.gif) **NOTE:**
>Set the system to preferentially boot from the USB flash drive. Take the BIOS as an example. You need to move the **USB** option under **Boot Type Order** to the top.
1. Disconnect all drives that are not required.
2. Open your computer system.
3. Insert the USB flash drive into the computer.
4. Restart the computer system.
After a short delay, a graphical wizard page is displayed, which contains different boot options. If you do not perform any operation within one minute, the installation program automatically starts the installation.
# Installation Through the Network Using PXE<a name="EN-US_TOPIC_0229291253"></a>
To boot with PXE, you need to properly configure the server and your computer's network interface to support PXE.
If the target hardware is installed with a PXE-enabled NIC, we can configure it to boot the computer from network system files rather than local media \(such as CD-ROMs\) and execute the Anaconda installation program.
For installation through the network using PXE, the client uses a PXE-enabled NIC to send a broadcast request for DHCP information and IP address to the network. The DHCP server provides the client with an IP address and other network information, such as the IP address or host name of the DNS and FTP server \(which provides the files required for starting the installation program\), and the location of the files on the server.
>![](public_sys-resources/icon-note.gif) **NOTE:**
>The TFTP, DHCP, and HTTP server configurations are not described here. For details, see [Full-automatic Installation Guide](full-automatic-installation-guide.html).
# Introduction<a name="EN-US_TOPIC_0229291226"></a>
## Overview<a name="section647062815510"></a>
You can use the kickstart tool to automatically install the openEuler OS in either of the following ways:
- Semi-automatic installation: You only need to specify the location of the kickstart file. Kickstart automatically configures OS attributes such as keyboard, language, and partitions.
- Automatic installation: The OS is automatically installed.
## Advantages and Disadvantages<a name="section161817592328"></a>
[Table 1](#table1388812373315) lists the advantages and disadvantages of semi-automatic installation and full-automatic installation using kickstart. You can select an installation mode as required.
**Table 1** Advantages and disadvantages
<a name="table1388812373315"></a>
<table><thead align="left"><tr id="row988915233338"><th class="cellrowborder" valign="top" width="11.91119111911191%" id="mcps1.2.4.1.1"><p id="p688992343311"><a name="p688992343311"></a><a name="p688992343311"></a>Installation Mode</p>
</th>
<th class="cellrowborder" valign="top" width="34.003400340034005%" id="mcps1.2.4.1.2"><p id="p08895233338"><a name="p08895233338"></a><a name="p08895233338"></a>Advantage</p>
</th>
<th class="cellrowborder" valign="top" width="54.085408540854075%" id="mcps1.2.4.1.3"><p id="p688912323314"><a name="p688912323314"></a><a name="p688912323314"></a>Disadvantage</p>
</th>
</tr>
</thead>
<tbody><tr id="row5889132303318"><td class="cellrowborder" valign="top" width="11.91119111911191%" headers="mcps1.2.4.1.1 "><p id="p1588922333319"><a name="p1588922333319"></a><a name="p1588922333319"></a>Semi-automatic installation</p>
</td>
<td class="cellrowborder" valign="top" width="34.003400340034005%" headers="mcps1.2.4.1.2 "><p id="p10889142333314"><a name="p10889142333314"></a><a name="p10889142333314"></a>Services such as TFTP, PXE, and DHCP do not need to be prepared.</p>
</td>
<td class="cellrowborder" valign="top" width="54.085408540854075%" headers="mcps1.2.4.1.3 "><p id="p88891223183319"><a name="p88891223183319"></a><a name="p88891223183319"></a>You need to manually specify the path of the kickstart file.</p>
</td>
</tr>
<tr id="row688917233332"><td class="cellrowborder" valign="top" width="11.91119111911191%" headers="mcps1.2.4.1.1 "><p id="p13889192373312"><a name="p13889192373312"></a><a name="p13889192373312"></a>Full-automatic installation</p>
</td>
<td class="cellrowborder" valign="top" width="34.003400340034005%" headers="mcps1.2.4.1.2 "><p id="p2889102319334"><a name="p2889102319334"></a><a name="p2889102319334"></a>The OS is installed automatically.</p>
</td>
<td class="cellrowborder" valign="top" width="54.085408540854075%" headers="mcps1.2.4.1.3 "><p id="p20889823113311"><a name="p20889823113311"></a><a name="p20889823113311"></a>Services, such as TFTP, DHCPD, and PXE, need to be configured.</p>
</td>
</tr>
</tbody>
</table>
## Background<a name="section13181456141811"></a>
**Kickstart**
Kickstart is an unattended installation mode. The principle of kickstart is to record typical parameters that need to be manually entered during the installation and generate the configuration file **ks.cfg**. During the installation, the installation program searches the **ks.cfg** configuration file first for required parameters. If no matching parameters are found, you need to manually configure these parameters. If all required parameters are covered by the kickstart file, automatic installation can be achieved by only specifying the path of the kickstart file.
Both full-automatic or semi-automatic installation can be achieved by kickstart.
**PXE**
Pre-boot Execution Environment \(PXE\)\) works in client/server network mode. The PXE client can obtain an IP address from the DHCP server during the startup and implement client boot and installation through the network based on protocols such as trivial file transfer protocol \(TFTP\).
**TFTP**
TFTP is used to transfer simple and trivial files between clients and the server.
# Minimal Hardware Specifications<a name="EN-US_TOPIC_0214071151"></a>
# Minimum Hardware Specifications<a name="EN-US_TOPIC_0214071151"></a>
[Table 1](#tff48b99c9bf24b84bb602c53229e2541) lists the minimal hardware specifications supported by openEuler.
[Table 1](#tff48b99c9bf24b84bb602c53229e2541) lists the minimum hardware specifications supported by openEuler.
**Table 1** Minimal hardware specifications
**Table 1** Minimum hardware specifications
<a name="tff48b99c9bf24b84bb602c53229e2541"></a>
<table><thead align="left"><tr id="r36f08b63edea4973a8228200caa2a50b"><th class="cellrowborder" valign="top" width="11.19111911191119%" id="mcps1.2.4.1.1"><p id="aef3575d97cdf4dcfb65f8d0c8d2d4a76"><a name="aef3575d97cdf4dcfb65f8d0c8d2d4a76"></a><a name="aef3575d97cdf4dcfb65f8d0c8d2d4a76"></a>Component</p>
</th>
<th class="cellrowborder" valign="top" width="40.06400640064006%" id="mcps1.2.4.1.2"><p id="a919d3bb266c8432fb33c51fa8f3a4fc3"><a name="a919d3bb266c8432fb33c51fa8f3a4fc3"></a><a name="a919d3bb266c8432fb33c51fa8f3a4fc3"></a>Minimal Hardware Specifications</p>
<th class="cellrowborder" valign="top" width="40.06400640064006%" id="mcps1.2.4.1.2"><p id="a919d3bb266c8432fb33c51fa8f3a4fc3"><a name="a919d3bb266c8432fb33c51fa8f3a4fc3"></a><a name="a919d3bb266c8432fb33c51fa8f3a4fc3"></a>Minimum Hardware Specifications</p>
</th>
<th class="cellrowborder" valign="top" width="48.74487448744874%" id="mcps1.2.4.1.3"><p id="a3ac7cf4867974c4990ee6deab716db5f"><a name="a3ac7cf4867974c4990ee6deab716db5f"></a><a name="a3ac7cf4867974c4990ee6deab716db5f"></a>Description</p>
</th>
......@@ -24,12 +24,12 @@
</td>
<td class="cellrowborder" valign="top" width="40.06400640064006%" headers="mcps1.2.4.1.2 "><p id="p14697123155913"><a name="p14697123155913"></a><a name="p14697123155913"></a>Huawei Kunpeng 920 series</p>
</td>
<td class="cellrowborder" valign="top" width="48.74487448744874%" headers="mcps1.2.4.1.3 "><p id="a2601e9eece5f4c7bb02881c9ac647a61"><a name="a2601e9eece5f4c7bb02881c9ac647a61"></a><a name="a2601e9eece5f4c7bb02881c9ac647a61"></a>It is strongly recommended that the physical servers used as compute nodes in one cluster use the same series of CPUs.</p>
<td class="cellrowborder" valign="top" width="48.74487448744874%" headers="mcps1.2.4.1.3 "><p id="a2601e9eece5f4c7bb02881c9ac647a61"><a name="a2601e9eece5f4c7bb02881c9ac647a61"></a><a name="a2601e9eece5f4c7bb02881c9ac647a61"></a>-</p>
</td>
</tr>
<tr id="rf2a5d43b74894a0882b7c17bdfeb697f"><td class="cellrowborder" valign="top" width="11.19111911191119%" headers="mcps1.2.4.1.1 "><p id="ad00611ec129a41a9841fb579eece7804"><a name="ad00611ec129a41a9841fb579eece7804"></a><a name="ad00611ec129a41a9841fb579eece7804"></a>Memory</p>
</td>
<td class="cellrowborder" valign="top" width="40.06400640064006%" headers="mcps1.2.4.1.2 "><p id="a94efe642b8694e5a85747e123b951efc"><a name="a94efe642b8694e5a85747e123b951efc"></a><a name="a94efe642b8694e5a85747e123b951efc"></a>8 GB (You are advised to configure 16 GB memory or higher for better user experience.)</p>
<td class="cellrowborder" valign="top" width="40.06400640064006%" headers="mcps1.2.4.1.2 "><p id="a94efe642b8694e5a85747e123b951efc"><a name="a94efe642b8694e5a85747e123b951efc"></a><a name="a94efe642b8694e5a85747e123b951efc"></a>4 GB (8 GB or higher recommended for better user experience)</p>
</td>
<td class="cellrowborder" valign="top" width="48.74487448744874%" headers="mcps1.2.4.1.3 "><p id="abfb44d28dca741f68df94e4e276d2410"><a name="abfb44d28dca741f68df94e4e276d2410"></a><a name="abfb44d28dca741f68df94e4e276d2410"></a>-</p>
</td>
......
......@@ -5,7 +5,7 @@ Obtain the openEuler release package and verification file before the installati
Perform the following operations to obtain the openEuler release package:
1. Log in to the [openEuler Community](https://openeuler.org) website.
2. Click **Download**. The download list is displayed.
3. Click **Get openEuler-1.0-aarch64-dvd.iso** to download the **openEuler-1.0-aarch64-dvd.iso** release package to the local PC.
4. Click the **openEuler-1.0-aarch64-dvd.iso.sha256sum** link under the **please download the checksum file:** area to download the **openEuler-1.0-aarch64-dvd.iso.sha256sum** verification file to the local PC.
2. Click **Download**.
3. Click the link provided after **Download ISO**. The download list is displayed.
4. Click **openEuler-1.0-base-aarch64-dvd.iso** to download the openEuler release package to the local host.
5. Click **openEuler-1.0-base-aarch64-dvd.iso.sha256sum** to download the openEuler verification file to the local host.
......@@ -10,9 +10,9 @@ Compare the verification value recorded in the verification file with the .iso f
Before verifying the integrity of the release package, you need to prepare the following files:
.iso file: **openEuler-1.0-aarch64-dvd.iso**
.iso file: **openEuler-1.0-base-aarch64-dvd.iso**
Verification file: **openEuler-1.0-aarch64-dvd.iso.sha256sum**
Verification file: **openEuler-1.0-base-aarch64-dvd.iso.sha256sum**
## Procedure<a name="section3301113671818"></a>
......@@ -21,13 +21,13 @@ To verify the file integrity, perform the following operations:
1. Run the following command to obtain the verification value in the verification file:
```
#cat openEuler-1.0-aarch64-dvd.iso.sha256sum
#cat openEuler-1.0-base-aarch64-dvd.iso.sha256sum
```
2. Run the following command to calculate the SHA256 verification value of the file:
```
#sha256sum openEuler-1.0-aarch64-dvd.iso
#sha256sum openEuler-1.0-base-aarch64-dvd.iso
```
After the command is run, the verification value is displayed.
......
......@@ -4,11 +4,13 @@ Enter **4** on the installation overview page, and then press **Enter** to s
- Minimal Install: Minimum environment. Provide basic functions of openEuler. By default, openEuler is installed in the minimum environment mode.
You need to select an appropriate installation environment based on service requirements. After entering **c** on the installation environment interface, you can select the software packages to be installed by selecting **Add-ons**, as shown in the following figure.
After entering **c** on the installation environment interface, you can select the software packages to be installed by selecting **Add-ons**, as shown in the following figure.
**Figure 1** Installing software<a name="fig159711956247"></a>
![](figures/installing-software.png "installing-software")
Enter **1** and press **Enter** to select **Standard**, then enter **c** to return to the installation overview page.
The optional **Add-ons** packages vary depending on the installation environment.
- Standard: standard installation. openEuler standard installation.
......
# Semi-automatic Installation Guide<a name="EN-US_TOPIC_0229291256"></a>
## Environment Requirements<a name="section624913414504"></a>
The environment requirements for semi-automatic installation of openEuler using kickstart are as follows:
- PM/VM \(for details about how to create VMs, see the documents from corresponding vendors\): includes the computer where kickstart is used for automatic installation and the computer where the kickstart tool is installed.
- Httpd: stores the kickstart file.
- ISO: openEuler-1.0-base-aarch64-dvd.iso
## Procedure<a name="section195901411145117"></a>
To use kickstart to perform semi-automatic installation of openEuler, perform the following steps:
**Environment Preparation**
>![](public_sys-resources/icon-note.gif) **NOTE:**
>Before the installation, ensure that the firewall of the HTTP server is disabled. Run the following command to disable the firewall:
>```
>iptables -F
>```
1. Install httpd and start the service.
```
# dnf install httpd -y
# systemctl start httpd
# systemctl enable httpd
```
2. Run the following commands to prepare the kickstart file:
```
# mkdir /var/www/html/ks
#vim /var/www/html/ks/openEuler-ks.cfg ===>The file can be obtained by modifying the anaconda-ks.cfg file automatically generated from openEuler, or can be created using the system-config-kickstart tool.
====================================
***Modify the following information as required.***
#version=DEVEL
ignoredisk --only-use=sda
autopart --type=lvm
# Partition clearing information
clearpart --none --initlabel
# Use text mode install
text
# Use CDROM installation media
cdrom
# Keyboard layouts
keyboard --vckeymap=cn --xlayouts='cn'
# System language
lang zh_CN.UTF-8
# Network information
network --bootproto=dhcp --device=enp4s0 --ipv6=auto --activate
network --hostname=openeuler.com
# Root password
rootpw --iscrypted $6$fQE83lxEZ48Or4zc$j7/PlUMHn29yTjCD4Fi44WTZL/RzVGxJ/7MGsZMl6QfE3KjIVT7M4UrhFXbafvRq2lUddAFcyWHd5WRmXfEK20
# Run the Setup Agent on first boot
firstboot --enable
# Do not configure the X Window System
skipx
# System services
services --disabled="chronyd"
# System timezone
timezone Asia/Shanghai --isUtc--nontp
%packages
@^minimal-environment
@standard
%end
%anaconda
pwpolicy root --minlen=8 --minquality=1 --notstrict --nochanges --notempty
pwpolicy user --minlen=8 --minquality=1 --notstrict --nochanges --emptyok
pwpolicy luks --minlen=8 --minquality=1 --notstrict --nochanges --notempty
%end
%post
#enable kdump
sed -i "s/ ro / ro crashkernel=1024M,high /" /boot/efi/EFI/openEuler/grub.cfg
%end
=====================================
```
>![](public_sys-resources/icon-note.gif) **NOTE:**
>The method of generating the password ciphertext is as follows:
>\# python3
>Python 3.7.0 \(default, Apr 1 2019, 00:00:00\)
>\[GCC 7.3.0\] on linux
>Type "help", "copyright", "credits" or "license" for more information.
>\>\>\> import crypt
>\>\>\> passwd = crypt.crypt\("myPasswd"\)
>\>\>\> print\(passwd\)
>$6$63c4tDmQGn5SDayV$mZoZC4pa9Jdt6/ALgaaDq6mIExiOO2EjzomB.Rf6V1BkEMJDcMddZeGdp17cMyc9l9ML9ldthytBEPVcnboR/0
3. Mount the ISO image file to the CD-ROM drive of the computer where openEuler is to be installed.
If you want to install openEuler through the NFS, specify the path \(which is **cdrom** by default\) of installation source in the kickstart file.
**Installing the System**
1. The installation selection dialog box is displayed.
1. On the installation wizard page in [Starting the Installation](starting-the-installation.html), select **Install openEuler 1.0 with text mode** and press **e**.
2. Add **inst.ks=http://server ip/ks/openEuler-ks.cfg** to the startup parameters.
![](figures/19.png)
3. Press **Ctrl**+**x** to start the automatic installation.
2. Verify that the installation is complete.
After the installation is complete, the system automatically restarts. Then, the installation page is displayed again. Shut down the computer and change startup option to start from the hard disk preferentially.
![](figures/en-us_image_0221430309.png)
......@@ -6,6 +6,10 @@ When setting the time zone, you can click a specific city on the map with the mo
If your city is not displayed on the map or in the drop-down list, select the nearest city in the same time zone.
>![](public_sys-resources/icon-note.gif) **NOTE:**
>- Before manually setting the time zone, disable the network time synchronization function in the upper right corner.
>- If you want to use the network time, ensure that the network can connect to the remote NTP server. For details about how to set the network, see [Setting the Network and Host Name](setting-the-network-and-host-name.html).
**Figure 1** Setting date and time<a name="en-us_topic_0186390096_en-us_topic_0122145900_fig1260162652312"></a>
![](figures/setting-date-and-time.png "setting-date-and-time")
......
# Software Dependency<a name="EN-US_TOPIC_0214071176"></a>
## Symptom<a name="en-us_topic_0187401458_s079358afc7a646ecac367116895121cd"></a>
After the selection of the installation source, the message "Error checking software selection" is displayed.
## Possible Cause<a name="en-us_topic_0187401458_s5def92a13626401e865071b5f2ac127c"></a>
This is because the software package dependency in the installation source is abnormal.
## Solution<a name="en-us_topic_0187401458_s76bf3c913a674441b1fb8f33ba736814"></a>
Check whether the installation source is abnormal. Use the new installation source.
......@@ -22,10 +22,10 @@ Mount the ISO image of openEuler 1.0 to the server from the CD/DVD-ROM and resta
**Figure 3** Restart icon<a name="en-us_topic_0151920806_f0d1f4f5f96de47b48c64b3535b2b60d1"></a>
![](figures/restart-icon.png "restart-icon")
5. A boot menu is displayed after the system is booted using the boot medium. In addition to options for starting the installation program, some other options are available on the boot menu. The **Install openEuler 1.0 with text mode** installation mode is used by default. Press the arrow keys on the keyboard to change the selection, and press **Enter** when the desired option is highlighted.
5. A boot menu is displayed after the system is booted using the boot medium. In addition to options for starting the installation program, some other options are available on the boot menu. The **Test this media & install openEuler 1.0 with GUI mode** installation mode is used by default. Press the arrow keys on the keyboard to change the selection, and press **Enter** when the desired option is highlighted.
>![](public_sys-resources/icon-note.gif) **NOTE:**
>- If you do not perform any operations within 1 minute, the system automatically selects the default option **Install openEuler 1.0 with text mode** and enters the installation interface.
>- If you do not perform any operations within 1 minute, the system automatically selects the default option **Test this media & install openEuler 1.0 with GUI mode** and enters the installation interface.
>- During physical machine installation, if you cannot use the arrow keys to select boot options and the system does not respond after you press **Enter**, click ![](figures/en-us_image_0214071107.png) on the BMC page and configure **Key & Mouse Reset**.
**Figure 4** Installation wizard<a name="fig1601161484619"></a>
......@@ -35,10 +35,10 @@ Mount the ISO image of openEuler 1.0 to the server from the CD/DVD-ROM and resta
Installation wizard options are described as follows:
- **Install openEuler 1.0 with GUI mode**: Install openEuler in GUI mode on your server. For details, see **Installation Guide** \> **Using GUI Mode for Installation**.
- **Install openEuler 1.0 with text mode**: Default option. Install openEuler in text mode on your server. The installation is completed in **tty0** of the system. For details, see **Installation Guide** \>** Using Text Mode for Installation**.
- **Install openEuler 1.0 with GUI mode**: Install openEuler in GUI mode on your server.
- **Install openEuler 1.0 with text mode**: Install openEuler in text mode on your server. The installation is completed in **tty0** of the system. For details, see **Installation Guide** \>**Using Text Mode for Installation**.
- **Test this media & install openEuler 1.0**: Default option. Install openEuler on your server using the graphical installation program. The integrity of the installation medium is checked before the installation program is started.
- **Test this media & install openEuler 1.0 with GUI mode**: Default option. Install openEuler on your server using the graphical installation program. The integrity of the installation medium is checked before the installation program is started. For details, see **Installation Guide** \> **Using GUI Mode for Installation**.
- **Troubleshooting**: Problem locating mode, which is used when the system cannot be installed properly. In the fault locating mode, the following options are available:
- **Install openEuler 1.0 in basic graphics mode**: Basic graphics installation mode. In this mode, the video driver is not started before the system starts and runs.
......
# Using GUI Mode for Installation<a name="EN-US_TOPIC_0214071154"></a>
On the installation wizard page, select **Install openEuler 1.0 with GUI mode** to enter the GUI mode.
On the installation wizard page, select **Test this media & Install openEuler 1.0 with GUI mode** to enter the GUI mode.
Perform graphical installation operations using a keyboard.
......
# Using Kickstart for Automatic Installation<a name="EN-US_TOPIC_0229291276"></a>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册