- 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.
>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.
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.
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<aname="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<aname="en-us_topic_0155778951_fig147741931111610"></a>
**Figure 2** Configuring the NTP server<aname="en-us_topic_0155778951_fig147741931111610"></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:
>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.<aname="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:
>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
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:
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:
>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.
>The TFTP, DHCP, and HTTP server configurations are not described here. For details, see [Full-automatic Installation Guide](full-automatic-installation-guide.html).
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.
<tdclass="cellrowborder"valign="top"width="34.003400340034005%"headers="mcps1.2.4.1.2 "><pid="p10889142333314"><aname="p10889142333314"></a><aname="p10889142333314"></a>Services such as TFTP, PXE, and DHCP do not need to be prepared.</p>
</td>
<tdclass="cellrowborder"valign="top"width="54.085408540854075%"headers="mcps1.2.4.1.3 "><pid="p88891223183319"><aname="p88891223183319"></a><aname="p88891223183319"></a>You need to manually specify the path of the kickstart file.</p>
<tdclass="cellrowborder"valign="top"width="34.003400340034005%"headers="mcps1.2.4.1.2 "><pid="p2889102319334"><aname="p2889102319334"></a><aname="p2889102319334"></a>The OS is installed automatically.</p>
</td>
<tdclass="cellrowborder"valign="top"width="54.085408540854075%"headers="mcps1.2.4.1.3 "><pid="p20889823113311"><aname="p20889823113311"></a><aname="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.
<tdclass="cellrowborder"valign="top"width="48.74487448744874%"headers="mcps1.2.4.1.3 "><pid="a2601e9eece5f4c7bb02881c9ac647a61"><aname="a2601e9eece5f4c7bb02881c9ac647a61"></a><aname="a2601e9eece5f4c7bb02881c9ac647a61"></a>It is strongly recommended that the physical servers used as compute nodes in one cluster use the same series of CPUs.</p>
<tdclass="cellrowborder"valign="top"width="40.06400640064006%"headers="mcps1.2.4.1.2 "><pid="a94efe642b8694e5a85747e123b951efc"><aname="a94efe642b8694e5a85747e123b951efc"></a><aname="a94efe642b8694e5a85747e123b951efc"></a>≥ 8 GB (You are advised to configure 16 GB memory or higher for better user experience.)</p>
<tdclass="cellrowborder"valign="top"width="40.06400640064006%"headers="mcps1.2.4.1.2 "><pid="a94efe642b8694e5a85747e123b951efc"><aname="a94efe642b8694e5a85747e123b951efc"></a><aname="a94efe642b8694e5a85747e123b951efc"></a>≥ 4 GB (8 GB or higher recommended for better user experience)</p>
@@ -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.
@@ -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.
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:
>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.***
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.
>- 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<aname="en-us_topic_0186390096_en-us_topic_0122145900_fig1260162652312"></a>
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.
>- 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**.
@@ -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.