Red Hat Enterprise Linux 8

Red Hat Enterprise Linux 8

Configuring basic system settings

A guide to configuring basic system settings in Red Hat Enterprise Linux 8

Last Updated: 2021-09-22

Red Hat Enterprise Linux 8 Configuring basic system settings

A guide to configuring basic system settings in Red Hat Enterprise Linux 8

Legal Notice

Copyright ? 2021 Red Hat, Inc.

The text of and illustrations in this document are licensed by Red Hat under a Creative Commons Attribution?Share Alike 3.0 Unported license ("CC-BY-SA"). An explanation of CC-BY-SA is available at . In accordance with CC-BY-SA, if you distribute this document or an adaptation of it, you must provide the URL for the original version.

Red Hat, as the licensor of this document, waives the right to enforce, and agrees not to assert, Section 4d of CC-BY-SA to the fullest extent permitted by applicable law.

Red Hat, Red Hat Enterprise Linux, the Shadowman logo, the Red Hat logo, JBoss, OpenShift, Fedora, the Infinity logo, and RHCE are trademarks of Red Hat, Inc., registered in the United States and other countries.

Linux ? is the registered trademark of Linus Torvalds in the United States and other countries.

Java ? is a registered trademark of Oracle and/or its affiliates.

XFS ? is a trademark of Silicon Graphics International Corp. or its subsidiaries in the United States and/or other countries.

MySQL ? is a registered trademark of MySQL AB in the United States, the European Union and other countries.

Node.js ? is an official trademark of Joyent. Red Hat is not formally related to or endorsed by the official Joyent Node.js open source or commercial project.

The OpenStack ? Word Mark and OpenStack logo are either registered trademarks/service marks or trademarks/service marks of the OpenStack Foundation, in the United States and other countries and are used with the OpenStack Foundation's permission. We are not affiliated with, endorsed or sponsored by the OpenStack Foundation, or the OpenStack community.

All other trademarks are the property of their respective owners.

Abstract

This document describes basics of system administration on Red Hat Enterprise Linux 8. The title focuses on: basic tasks that a system administrator needs to do just after the operating system has been successfully installed, installing software with yum, using systemd for service management, managing users, groups and file permissions, using chrony to configure NTP, working with Python 3 and others.

Table of Contents

Table of Contents

.M. A. .K. I.N. .G. .O. P. .E. N. . S. .O. U. .R. C. .E. .M. .O. R. .E. .IN. .C. L. .U. S. .IV. .E. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9. . . . . . . . . . . . .

.P.R. O. .V. .ID. .IN. .G. .F. .E.E. D. .B. A. .C. K. . O. .N. .R. .E.D. .H. .A.T. .D. O. .C. .U. M. .E. .N.T. .A.T. I.O. .N. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.0. . . . . . . . . . . . .

.C.H. .A.P. .T.E. R. .1...G. .E.T. T. .IN. .G. .S. T. .A. R. .T.E. D. . .W. .IT. .H. .R.H. .E.L. .S.Y. .S.T. E. .M. .R. O. .L. .E.S. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1.1. . . . . . . . . . . .

1.1. INTRODUCTION TO RHEL SYSTEM ROLES

11

1.2. RHEL SYSTEM ROLES TERMINOLOGY

11

1.3. APPLYING A ROLE

12

1.4. ADDITIONAL RESOURCES

14

.C.H. .A.P. .T.E. R. .2. . C. .H. .A.N. .G. I.N. .G. .B. A. .S.I.C. .E.N. .V.I.R.O. .N. .M. E. .N. T. . S. .E.T. T. .IN. .G. .S. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.5. . . . . . . . . . . . .

2.1. CONFIGURING THE DATE AND TIME

15

2.1.1. Displaying the current date and time

15

2.2. CONFIGURING THE SYSTEM LOCALE

15

2.3. CONFIGURING THE KEYBOARD LAYOUT

16

2.4. CHANGING THE LANGUAGE USING DESKTOP GUI

17

2.5. ADDITIONAL RESOURCES

19

.C.H. .A.P. .T.E. R. .3. . C. .O. .N. F. .IG. .U. .R.I.N. G. . A. .N. .D. .M. A. .N. .A.G. .IN. .G. .N. .E.T. .W. .O. R. .K. .A.C. .C.E. .S.S. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2.0. . . . . . . . . . . . .

3.1. CONFIGURING THE NETWORK AND HOST NAME IN THE GRAPHICAL INSTALLATION MODE

20

3.2. CONFIGURING A STATIC ETHERNET CONNECTION USING NMCLI

21

3.3. ADDING A CONNECTION PROFILE USING NMTUI

24

3.4. MANAGING NETWORKING IN THE RHEL 8 WEB CONSOLE

26

3.5. MANAGING NETWORKING USING RHEL SYSTEM ROLES

27

3.6. ADDITIONAL RESOURCES

28

.C.H. .A.P. .T.E. R. .4. . .R.E. G. .I.S.T. E. .R.I.N. G. . .T.H. .E. S. .Y.S. .T.E. M. . .A.N. .D. .M. .A. N. .A. G. .I.N. G. . S. .U. B. .S.C. .R.I.P.T. .IO. .N. .S. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2.9. . . . . . . . . . . . .

4.1. REGISTERING THE SYSTEM AFTER THE INSTALLATION

29

4.2. REGISTERING SUBSCRIPTIONS WITH CREDENTIALS IN THE WEB CONSOLE

30

4.3. REGISTERING A SYSTEM USING RED HAT ACCOUNT ON GNOME

33

4.4. REGISTERING A SYSTEM USING AN ACTIVATION KEY ON GNOME

34

4.5. REGISTERING RHEL 8.4 USING THE INSTALLER GUI

34

.C.H. .A.P. .T.E. R. .5. . M. . A. .K. I.N. G. . .S.Y. S. .T.E. .M. D. . .S.E. R. .V.I.C. E. .S. .S.T.A. .R.T. .A. T. . B. .O. .O. T. .T. I.M. .E. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3.6. . . . . . . . . . . . .

5.1. ENABLING OR DISABLING THE SERVICES

36

5.2. MANAGING SERVICES IN THE RHEL 8 WEB CONSOLE

36

.C.H. .A.P. .T.E. R. .6. . .C.O. .N. F. .IG. .U. .R.I.N. G. . S. .Y. S. .T.E. M. . .S.E. C. .U. .R.I.T.Y. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3.9. . . . . . . . . . . . .

6.1. ENABLING THE FIREWALLD SERVICE

39

6.2. MANAGING FIREWALL IN THE RHEL 8 WEB CONSOLE

40

6.3. MANAGING BASIC SELINUX SETTINGS

40

6.4. ENSURING THE REQUIRED STATE OF SELINUX

41

6.5. SWITCHING SELINUX MODES IN THE RHEL 8 WEB CONSOLE

42

6.6. ADDITIONAL RESOURCES

42

.C.H. .A.P. .T.E. R. .7. . G. .E. .T.T. I.N. G. . .S.T. A. .R. T. .E.D. .W. .I.T.H. .M. .A. N. .A. .G. I.N. .G. .U. S. .E.R. .A. C. .C. O. .U. .N. T. .S. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4.4. . . . . . . . . . . . .

7.1. MANAGING ACCOUNTS AND GROUPS USING COMMAND LINE TOOLS

44

7.2. SYSTEM USER ACCOUNTS MANAGED IN THE WEB CONSOLE

45

7.3. ADDING NEW ACCOUNTS USING THE WEB CONSOLE

45

.C.H. .A.P. .T.E. R. .8. . .D.U. .M. .P.I.N.G. . A. . C. .R. A. .S.H. .E.D. .K. .E.R. N. .E. L. . F. .O. R. . L. .A.T. E. .R. .A.N. .A. L. .Y.S. I.S. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4.7. . . . . . . . . . . . .

8.1. WHAT IS KDUMP

47

8.2. CONFIGURING KDUMP MEMORY USAGE AND TARGET LOCATION IN WEB CONSOLE

47

8.3. KDUMP USING RHEL SYSTEM ROLES

49

1

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download