01 Getting Started With Openeuler
01 Getting Started With Openeuler
Foreword
1 Huawei Confidential
Objectives
2 Huawei Confidential
Contents
3 Huawei Confidential
OS Overview
⚫ An OS is a set of programs that controls and manages the hardware and
software resources of an entire computer system, providing a convenient
interface and environment for users and other software. A computer‘s OS is its
most basic system software, and it gradually evolves in line with the
development of computer research and application.
4 Huawei Confidential
Unix Development History
⚫ Unix development
In the 1960s, Bell Labs, MIT, and GE jointly developed a multiprogramming information computing system
named Multics.
In 1970, Ken Thompson developed Unix.
In 1974, Bell Labs released Unix, which became widely used in universities.
After the breakup of AT&T in 1982, Unix began to charge for commercial use.
Some large hardware companies have developed different versions of Unix based on their own computer
systems.
◼ AIX
◼ HP-UX
◼ Digital Unix
◼ …
5 Huawei Confidential
GNU and Open Source
⚫ In 1984, Richard Stallman launched the Free Software Campaign, established the Free Software Foundation,
and achieved the following:
Created an open source version of the Unix utility
⚫ Open source, also known as open source code, laid the foundations for the rapid development of IT
technologies.
⚫ There are many open source licenses, each with different rules. Some common open source licenses are as
follows:
Mulan
GPL
6 Huawei Confidential
Birth of Linux
⚫ Birth of Minix
In 1987, Andrew S. Tanenbaum, a professor of Vrije University in Amsterdam, wrote Minix. Similar to
Unix, this OS was instead dedicated to teaching.
⚫ Birth of Linux
On September 17, 1991, Linus Torvalds released his own Linux OS on the Internet and claimed that it was
free of charge. In addition, he hoped to improve the Linux OS through the efforts of developers.
In 1994, Linux kernel 1.0 was officially released.
More accurately, the full name of Linux is GNU/Linux.
⚫ Today's Linux
Today, Linux has many derivatives, such as Red Hat, openSUSE, Ubuntu, and Deepin.
Linux distribution = Linux kernel + utility software
8 Huawei Confidential
Introduction to Linux Releases
⚫ Kernel versions
You can visit kernel.org to view or download all Linux kernel versions.
The Linux kernel version number is composed of three digits:
◼ The first digit indicates the current major release.
◼ An even second digit indicates a stable version, while an odd second digit indicates a version under development.
◼ The third digit indicates the number of revisions.
⚫ Linux distributions
Commercial distros: maintained by companies and provides charged services, such as patch upgrades.
Community distros: maintained by the community organization and free of charge.
9 Huawei Confidential
openEuler OS
⚫ openEuler is a free, open source OS operated by the openEuler community. The current openEuler
kernel is based on Linux and supports Kunpeng and other processors, fully unleashing the
potential of computing chips. As an efficient, stable, and sustainable open source OS built by
global open source contributors, openEuler applies to database, big data, cloud computing, and
artificial intelligence (AI) scenarios.
⚫ openEuler has two kinds of releases:
Innovation release
◼ Supports the technical innovation and content innovation of Linux enthusiasts, such as openEuler 20.09.
◼ Generally, a new version is released every half a year.
10 Huawei Confidential
Contents
11 Huawei Confidential
openEuler OS Installation Process
1 2 3 4
Prepare the installation Select an Configure system Installation
environment. installation mode. settings. complete.
12 Huawei Confidential
openEuler Installation and Configuration - Selecting
Installation Options
13 Huawei Confidential
openEuler Installation and Configuration - Selecting an
Installation Language
14 Huawei Confidential
openEuler Installation and Configuration - System
Settings
15 Huawei Confidential
openEuler Installation and Configuration - Setting the
Installation Location
⚫ Set the system installation location and system partitions.
Select the disk where the OS is to be installed.
Choose how to partition your disk.
◼ In manual mode, you can set partitions, including common partitions, logical volumes, and thin-provisioning logical
volumes.
◼ You are advised to set the following partitions for the openEuler system startup:
− swap: swap partition, which is used to swap dirty data in the memory when space is insufficient. If the memory
is small, you are advised to set the swap partition size to twice the memory size. If the memory is large, you can
reduce the swap partition size.
− /boot: booting
− /boot/efi: boot device and application program to be started by the extensible firmware interface (EFI).
16 Huawei Confidential
openEuler Installation and Configuration - Selecting
Software to Be Installed
⚫ openEuler 20.03 LTS supports the following software installation options:
Minimum installation
◼ Minimum Linux installation: Most software is not installed. This mode is applicable to
scholars who have background in Linux and want to further understand the Linux
architecture. Other software is also available on the right.
Server
◼ Install the software involved in the server scenario. Other software is also available on the
right.
Hypervisor
◼ Install the software involved in the virtualization scenario. Other software is also available
on the right.
17 Huawei Confidential
openEuler Installation and Configuration - Setting the
Password of the Root User and Creating a User
18 Huawei Confidential
Contents
19 Huawei Confidential
Linux GUI and CLI
⚫ GUI stands for graphical user interface. All elements of this user interface are
graphical. The mouse is used as the input tool, and buttons, menus, and dialog
boxes are used for interaction, enhancing ease of use.
⚫ CLI is short for command line interface. All elements of a CLI are character-
based. The keyboard is used as the input tool to enter commands, options, and
parameters to execute programs, achieving high efficiency.
⚫ No GUI is available for openEuler 20.03 LTS.
20 Huawei Confidential
How to Log In to the Linux OS
⚫ You can log in to the Linux OS through either of the following methods:
Local login
◼ This method is similar to starting up your own computer or directly connecting the server
to the monitor.
◼ A typical Linux system runs six virtual consoles and one graphical console. Currently,
openEuler does not support the GUI.
◼ You can press Ctrl+Alt+F[1,6] to switch between the six virtual consoles.
Remote login
◼ The openEuler OS supports remote login by default. You can also change the login mode.
◼ You can use PuTTY or Xshell to remotely log in to the openEuler OS.
21 Huawei Confidential
Introduction to Shell
⚫ Shell, a program compiled in C language, serves as a bridge for those who wish to use Linux. Users control
the Linux system through shells, which are also used by the Linux system to display system information.
⚫ Common shells include bash, sh, csh, and ksh. You can specify a login shell when creating a user, or enter a
shell name to open a shell. For example:
[root@openEuler ~]# sh
sh: openEuler_history: command not find
sh-5.0# # The interaction modes varies with different shells.
sh-5.0# exit # Enter exit to exit the current shell.
[root@openEuler ~]#
22 Huawei Confidential
Changing Passwords
⚫ The password is directly related to the security of the system and its data.
⚫ To ensure system security, perform the following operations:
Change the password upon the first login.
Change passwords periodically.
Set a password with high complexity. For example, set a password containing more than eight characters
and three or more of the following types of characters: uppercase letters, lowercase letters, digits, and
special characters.
23 Huawei Confidential
Linux Users
⚫ The root user is a special administrator in the Linux OS.
This super administrator is similar to the administrator in the Windows OS.
The root user has the highest permissions, and can cause infinite damage.
Do not use the root user unless necessary.
24 Huawei Confidential
Shortcut Operations with the Bash Shell
⚫ tab
You can use the tab key to supplement functions and quickly enter commands or parameters.
⚫ history
The history tool records historical commands. You can run the history command to view historical
commands, or run the history n command to execute the historical command numbered n.
⚫ ↑ and ↓
You can press the ↑ and ↓ arrow keys to quickly view historical commands.
25 Huawei Confidential
Quiz
1. You do not need to specify the password of the root user during the openEuler
OS installation. However, you must specify the password of the root user when
logging in to the OS after the installation. ( )
2. Which of the following keys can be used to quickly supplement commands and
parameters? ( )
A. Ctrl+L
B. ↑ and ↓
C. tab
D. Space
26 Huawei Confidential
Summary
⚫ This document describes the development of the Linux OS, introduces the
openEuler OS, and describes how to install openEuler and related shortcut
operations.
27 Huawei Confidential
More Information
28 Huawei Confidential
Thank you. 把数字世界带入每个人、每个家庭、
每个组织,构建万物互联的智能世界。
Bring digital to every person, home, and
organization for a fully connected,
intelligent world.