oracle linux 7 · 2020. 11. 17. · preface oracle® linux 7: administrator's guide provides...

84
Oracle® Linux 7 Administrator's Guide E54669-78 October 2020

Upload: others

Post on 01-Mar-2021

6 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

Oracle® Linux 7

Administrator's Guide

E54669-78October 2020

Page 2: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

Oracle Legal Notices

Copyright © 2014, 2020, Oracle and/or its affiliates.

This software and related documentation are provided under a license agreement containing restrictions on use anddisclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreementor allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute,exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, ordecompilation of this software, unless required by law for interoperability, is prohibited.

The information contained herein is subject to change without notice and is not warranted to be error-free. If you findany errors, please report them to us in writing.

If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on behalf ofthe U.S. Government, then the following notice is applicable:

U.S. GOVERNMENT END USERS: Oracle programs (including any operating system, integrated software, anyprograms embedded, installed or activated on delivered hardware, and modifications of such programs) andOracle computer documentation or other Oracle data delivered to or accessed by U.S. Government end users are"commercial computer software" or "commercial computer software documentation" pursuant to the applicableFederal Acquisition Regulation and agency-specific supplemental regulations. As such, the use, reproduction,duplication, release, display, disclosure, modification, preparation of derivative works, and/or adaptation of i) Oracleprograms (including any operating system, integrated software, any programs embedded, installed or activatedon delivered hardware, and modifications of such programs), ii) Oracle computer documentation and/or iii) otherOracle data, is subject to the rights and limitations specified in the license contained in the applicable contract. Theterms governing the U.S. Government's use of Oracle cloud services are defined by the applicable contract for suchservices. No other rights are granted to the U.S. Government.

This software or hardware is developed for general use in a variety of information management applications. It is notdeveloped or intended for use in any inherently dangerous applications, including applications that may create a riskof personal injury. If you use this software or hardware in dangerous applications, then you shall be responsible totake all appropriate fail-safe, backup, redundancy, and other measures to ensure its safe use. Oracle Corporationand its affiliates disclaim any liability for any damages caused by use of this software or hardware in dangerousapplications.

Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of theirrespective owners.

Intel and Intel Inside are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are usedunder license and are trademarks or registered trademarks of SPARC International, Inc. AMD, Epyc, and the AMDlogo are trademarks or registered trademarks of Advanced Micro Devices. UNIX is a registered trademark of TheOpen Group.

This software or hardware and documentation may provide access to or information about content, products, andservices from third parties. Oracle Corporation and its affiliates are not responsible for and expressly disclaim allwarranties of any kind with respect to third-party content, products, and services unless otherwise set forth in anapplicable agreement between you and Oracle. Oracle Corporation and its affiliates will not be responsible for anyloss, costs, or damages incurred due to your access to or use of third-party content, products, or services, except asset forth in an applicable agreement between you and Oracle.

Abstract

This manual provides an introduction to administering various features of Oracle Linux 7 systems.

Document generated on: 2020-10-15 (revision: 10919)

Page 3: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

Table of ContentsPreface .............................................................................................................................................. vI System Configuration ....................................................................................................................... 1

1 Yum ........................................................................................................................................ 52 Ksplice .................................................................................................................................... 73 Boot and Service Configuration ............................................................................................... 94 System Configuration Settings ............................................................................................... 115 Kernel Modules ..................................................................................................................... 136 Device Management .............................................................................................................. 157 Task Management ................................................................................................................. 178 System Monitoring and Tuning ............................................................................................... 199 System Dump Analysis .......................................................................................................... 21

II Networking and Network Services .................................................................................................. 2310 Network Configuration ......................................................................................................... 2711 Network Address Configuration ............................................................................................ 2912 Name Service Configuration ................................................................................................. 3113 Network Time Configuration ................................................................................................. 3314 Web Service Configuration ................................................................................................... 3515 Email Service Configuration ................................................................................................. 3716 High Availability Configuration .............................................................................................. 3917 Load Balancing Configuration .............................................................................................. 4118 VNC Service Configuration .................................................................................................. 43

III Storage and File Systems ............................................................................................................. 4519 Storage Management .......................................................................................................... 4920 File System Administration ................................................................................................... 5121 Local File System Administration .......................................................................................... 5322 Shared File System Administration ....................................................................................... 5523 Oracle Cluster File System Version 2 ................................................................................... 57

IV Authentication and Security .......................................................................................................... 5924 Authentication Configuration ................................................................................................. 6325 Local Account Configuration ................................................................................................. 6526 System Security Administration ............................................................................................ 6727 OpenSSH Configuration ....................................................................................................... 69

V Virtualization ................................................................................................................................. 7128 Linux Containers ................................................................................................................. 7529 Using KVM With Oracle Linux .............................................................................................. 77

iii

Page 4: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

iv

Page 5: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

PrefaceOracle® Linux 7: Administrator's Guide provides introductory information about administering variousfeatures of Oracle Linux 7 systems, including system configuration, networking, network services, storagedevices, file systems, authentication, and security.

Note

The information in this book has been migrated to separate and more updateddocumentation. For the most current information, refer the individual, topic-basedguides in the Oracle Linux 7 Documentation.

AudienceThis document is intended for administrators who need to configure and administer Oracle Linux. It isassumed that readers are familiar with web technologies and have a general understanding of using theLinux operating system, including knowledge of how to use a text editor such as emacs or vim, essentialcommands such as cd, chmod, chown, ls, mkdir, mv, ps, pwd, and rm, and using the man command toview manual pages.

Document OrganizationThe document is organized as follows:

• Part I, “System Configuration” describes how to configure software and kernel updates, booting, kerneland module settings, and devices, how to schedule tasks, and how to monitor and tune your system.

• Part II, “Networking and Network Services” describes how to configure network interfaces, networkaddresses, name service, network time services, basic web and email services, load balancing, and highavailability.

• Part III, “Storage and File Systems” describes how to configure storage devices and how to create andmanage local, shared, and cluster file systems.

• Part IV, “Authentication and Security” describes how to configure user account databases andauthentication, how to add group and user accounts, how to administer essential aspects of systemsecurity, and how to configure and use the OpenSSH tools.

• Part V, “Virtualization” describes how to configure containers to isolate applications from the otherprocesses that are running on a host system.

Related DocumentsThe documentation for this product is available at:

Oracle® Linux 7 Documentation

ConventionsThe following text conventions are used in this document:

Convention Meaning

boldface Boldface type indicates graphical user interface elements associated with anaction, or terms defined in text or the glossary.

v

Page 6: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

Documentation Accessibility

Convention Meaning

italic Italic type indicates book titles, emphasis, or placeholder variables for whichyou supply particular values.

monospace Monospace type indicates commands within a paragraph, URLs, code inexamples, text that appears on the screen, or text that you enter.

Documentation Accessibility

For information about Oracle's commitment to accessibility, visit the Oracle Accessibility Program websiteathttps://www.oracle.com/corporate/accessibility/.

Access to Oracle Support

Oracle customers that have purchased support have access to electronic support through My OracleSupport. For information, visithttps://www.oracle.com/corporate/accessibility/learning-support.html#support-tab.

Diversity and Inclusion

Oracle is fully committed to diversity and inclusion. Oracle recognizes the influence of ethnic and culturalvalues and is working to remove language from our products and documentation that might be consideredinsensitive. While doing so, we are also mindful of the necessity to maintain compatibility with ourcustomers' existing technologies and the need to ensure continuity of service as Oracle's offerings andindustry standards evolve. Because of these technical constraints, our effort to remove insensitive terms isan ongoing, long-term process.

vi

Page 7: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

Part I System ConfigurationThis section contains the following chapters:

• Chapter 1, Yum describes how you can use the yum utility to install and upgrade software packages.

• Chapter 2, Ksplice describes how to configure Ksplice Uptrack to update the kernel on a running system.

• Chapter 3, Boot and Service Configuration describes the Oracle Linux boot process, how to use the GRUB bootloader, how to change the run level of a system, and how to configure the services that are available at each runlevel.

• Chapter 4, System Configuration Settings describes the files and virtual file systems that you can use to changeconfiguration settings for your system.

• Chapter 5, Kernel Modules describes how to load, unload, and modify the behavior of kernel modules.

• Chapter 6, Device Management describes how the system uses device files and how the udev device managerdynamically creates or removes device node files.

• Chapter 7, Task Management describes how to configure the system to run tasks automatically within a specificperiod of time, at a specified time and date, or when the system is lightly loaded.

• Chapter 8, System Monitoring and Tuning describes how to collect diagnostic information about a system for OracleSupport, and how to monitor and tune the performance of a system.

• Chapter 9, System Dump Analysis describes how to configure a system to create a memory image in the event ofa system crash, and how to use the crash debugger to analyse the memory image in a crash dump or for a livesystem.

Page 8: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,
Page 9: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

Table of Contents1 Yum ................................................................................................................................................ 52 Ksplice ............................................................................................................................................ 73 Boot and Service Configuration ....................................................................................................... 94 System Configuration Settings ....................................................................................................... 115 Kernel Modules ............................................................................................................................. 136 Device Management ...................................................................................................................... 157 Task Management ......................................................................................................................... 178 System Monitoring and Tuning ....................................................................................................... 199 System Dump Analysis .................................................................................................................. 21

3

Page 10: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

4

Page 11: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

Chapter 1 YumThis chapter describes how you can use the yum utility to install and upgrade software packages.

Note

The information in this chapter has been migrated to separate and more updateddocumentation. See Oracle® Linux 7: Managing Software .

For information about creating and using a Yum server that acts as a local mirror ofthe ULN channels, see Oracle® Linux: Unbreakable Linux Network User's Guide forOracle Linux 6 and Oracle Linux 7.

5

Page 12: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

6

Page 13: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

Chapter 2 KspliceThis chapter provides a high-level overview of Oracle Ksplice.

Note

The information in this chapter has been migrated to separate and more updateddocumentation. See Oracle® Linux: Ksplice User's Guide.

7

Page 14: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

8

Page 15: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

Chapter 3 Boot and Service ConfigurationThis chapter describes the Oracle Linux boot process, how to use the GRUB 2 bootloader, how to changethe systemd target for a system, and how to configure the services that are available for a target.

Note

The information in this chapter has been migrated to separate and more updateddocumentation. See Oracle® Linux 7: Managing Core System Configuration .

9

Page 16: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

10

Page 17: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

Chapter 4 System Configuration SettingsThis chapter describes the files and virtual file systems that you can use to change configuration settingsfor your system.

Note

The information in this chapter has been migrated to separate and more updateddocumentation. See Oracle® Linux 7: Managing Core System Configuration.

11

Page 18: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

12

Page 19: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

Chapter 5 Kernel ModulesThis chapter describes how to load, unload, and modify the behavior of kernel modules.

Note

The information in this chapter has been migrated to separate and more updateddocumentation. See Oracle® Linux 7: Managing Core System Configuration.

13

Page 20: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

14

Page 21: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

Chapter 6 Device ManagementThis chapter describes how the system uses device files and how the udev device manager dynamicallycreates or removes device node files.

Note

The information in this chapter has been migrated to separate and more updateddocumentation. See Oracle® Linux 7: Managing Core System Configuration.

15

Page 22: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

16

Page 23: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

Chapter 7 Task ManagementThis chapter describes how to configure the system to run tasks automatically within a specific period oftime, at a specified time and date, or when the system is lightly loaded.

Note

The information in this chapter has been migrated to separate and more updateddocumentation. See Oracle® Linux 7: Managing Core System Configuration.

17

Page 24: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

18

Page 25: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

Chapter 8 System Monitoring and TuningThis chapter describes how to collect diagnostic information about a system for Oracle Support, and how tomonitor and tune the performance of a system.

Note

The information in this chapter has been migrated to separate and more updateddocumentation. See Oracle® Linux 7: Managing Core System Configuration.

19

Page 26: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

20

Page 27: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

Chapter 9 System Dump AnalysisThis chapter describes how to configure a system to create a memory image in the event of a systemcrash, and how to use the crash debugger to analyse the memory image in a crash dump or for a livesystem.

Note

The information in this chapter has been migrated to separate and more updateddocumentation. See Oracle® Linux 7: Managing Core System Configuration.

21

Page 28: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

22

Page 29: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

Part II Networking and Network ServicesThis section contains the following chapters:

• Chapter 10, Network Configuration describes how to configure a system's network interfaces and network routing.

• Chapter 11, Network Address Configuration describes how to configure a DHCP server, DHCP client, and NetworkAddress Translation.

• Chapter 12, Name Service Configuration describes how to use BIND to set up a DNS name server.

• Chapter 13, Network Time Configuration describes how to configure the chrony, Network Time Protocol (NTP), orPrecision Time Protocol (PTP) daemons for setting the system time.

• Chapter 14, Web Service Configuration describes how to configure a basic HTTP server.

• Chapter 15, Email Service Configuration describes email programs and protocols that are available with OracleLinux, and how to set up a basic Sendmail client.

• Chapter 16, High Availability Configuration describes how to use Pacemaker and Corosync to set up highavailability cluster configurations with networked systems.

• Chapter 17, Load Balancing Configuration describes how to use Keepalived and HAProxy to set up load balancingfor networked systems.

• Chapter 18, VNC Service Configuration describes how to enable a VNC server to provide remote access to agraphical desktop.

Page 30: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,
Page 31: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

Table of Contents10 Network Configuration ................................................................................................................. 2711 Network Address Configuration .................................................................................................... 2912 Name Service Configuration ........................................................................................................ 3113 Network Time Configuration ......................................................................................................... 3314 Web Service Configuration ........................................................................................................... 3515 Email Service Configuration ......................................................................................................... 3716 High Availability Configuration ...................................................................................................... 3917 Load Balancing Configuration ...................................................................................................... 4118 VNC Service Configuration .......................................................................................................... 43

25

Page 32: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

26

Page 33: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

Chapter 10 Network ConfigurationThis chapter describes how to configure a system's network interfaces and network routing.

Note

Information in this chapter has been migrated to separate and more updateddocumentation. See Oracle® Linux 7: Setting Up Networking.

27

Page 34: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

28

Page 35: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

Chapter 11 Network Address ConfigurationThis chapter describes how to configure a DHCP server, DHCP client, and Network Address Translation.

Note

Information in this chapter has been migrated to separate and more updateddocumentation. See Oracle® Linux 7: Setting Up Networking.

29

Page 36: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

30

Page 37: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

Chapter 12 Name Service ConfigurationThis chapter describes how to use BIND to set up a DNS name server.

Note

Information in this chapter has been migrated to separate and more updateddocumentation. See Oracle® Linux 7: Setting Up Networking.

31

Page 38: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

32

Page 39: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

Chapter 13 Network Time ConfigurationThis chapter describes how to configure a system to use the chrony, Network Time Protocol (NTP), orPrecision Time Protocol (PTP) daemons for setting the system time.

Note

Information in this chapter has been migrated to separate and more updateddocumentation. See Oracle® Linux 7: Setting Up Networking.

33

Page 40: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

34

Page 41: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

Chapter 14 Web Service ConfigurationThis chapter describes how to configure a basic HTTP server.

Note

Information in this chapter has been migrated to separate and more updateddocumentation. See Oracle® Linux 7: Setting Up Networking.

35

Page 42: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

36

Page 43: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

Chapter 15 Email Service ConfigurationThis chapter describes email programs and protocols that are available with Oracle Linux, and how to setup a basic Sendmail client.

Note

Information in this chapter has been migrated to separate and more updateddocumentation. See Oracle® Linux 7: Setting Up Networking.

37

Page 44: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

38

Page 45: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

Chapter 16 High Availability ConfigurationThis chapter describes how to configure the Pacemaker and Corosync technologies to create an HAcluster that delivers continuous access to services running across multiple nodes.

Note

Information in this chapter has been migrated to separate and more updateddocumentation. See Oracle® Linux 7: Setting Up Networking.

39

Page 46: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

40

Page 47: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

Chapter 17 Load Balancing ConfigurationThis chapter describes how to configure the Keepalived and HAProxy technologies for balancing access tonetwork services while maintaining continuous access to those services.

Note

Information in this chapter has been migrated to separate and more updateddocumentation. See Oracle® Linux 7: Setting Up Networking.

41

Page 48: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

42

Page 49: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

Chapter 18 VNC Service ConfigurationThis chapter describes how to enable a Virtual Network Computing (VNC) server to provide remote accessto a graphical desktop.

Note

Information in this chapter has been migrated to separate and more updateddocumentation. See Oracle® Linux 7: Setting Up Networking.

43

Page 50: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

44

Page 51: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

Part III Storage and File SystemsThis section contains the following chapters:

• Chapter 19, Storage Management describes how to configure and manage disk partitions, swap space, logicalvolumes, software RAID, block device encryption, iSCSI storage, and multipathing.

• Chapter 20, File System Administration describes how to create, mount, check, and repair file systems, how toconfigure Access Control Lists, how to configure and manage disk quotas.

• Chapter 21, Local File System Administration describes administration tasks for the btrfs, ext3, ext4, OCFS2, andXFS local file systems.

• Chapter 22, Shared File System Administration describes administration tasks for the NFS and Samba shared filesystems, including how to configure NFS and Samba servers.

• Chapter 23, Oracle Cluster File System Version 2 describes how to configure and use the Oracle Cluster FileSystem Version 2 (OCFS2) file system.

Page 52: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,
Page 53: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

Table of Contents19 Storage Management .................................................................................................................. 4920 File System Administration ........................................................................................................... 5121 Local File System Administration .................................................................................................. 5322 Shared File System Administration ............................................................................................... 5523 Oracle Cluster File System Version 2 ........................................................................................... 57

47

Page 54: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

48

Page 55: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

Chapter 19 Storage ManagementThis chapter describes how to configure and manage disk partitions, swap space, logical volumes,software RAID, block device encryption, iSCSI storage, and multipathing.

Note

The information in this chapter has been migrated to separate and more updateddocumentation. See Oracle® Linux 7: Managing Storage and Storage Devices.

49

Page 56: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

50

Page 57: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

Chapter 20 File System AdministrationThis chapter describes how to create, mount, check, and repair file systems, how to configure AccessControl Lists, how to configure and manage disk quotas.

Note

The information in this chapter has been migrated to separate and more updateddocumentation. See Oracle® Linux 7: Managing File Systems.

51

Page 58: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

52

Page 59: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

Chapter 21 Local File System AdministrationThis chapter describes administration tasks for the btrfs, ext3, ext4, OCFS2, and XFS local file systems.

Note

The information in this chapter has been migrated to separate and more updateddocumentation. See Oracle® Linux 7: Managing File Systems.

53

Page 60: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

54

Page 61: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

Chapter 22 Shared File System AdministrationThis chapter describes administration tasks for the NFS and Samba shared file systems.

Note

The information in this chapter has been migrated to separate and more updateddocumentation. See Oracle® Linux 7: Managing File Systems.

55

Page 62: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

56

Page 63: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

Chapter 23 Oracle Cluster File System Version 2This chapter describes how to configure and use the Oracle Cluster File System Version 2 (OCFS2) filesystem.

Note

The information in this chapter has been migrated to separate and more updateddocumentation. See Oracle® Linux 7: Managing File Systems.

You can also find more information about OCFS2 at https://oss.oracle.com/projects/ocfs2/documentation/.

57

Page 64: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

58

Page 65: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

Part IV Authentication and SecurityThis section contains the following chapters:

• Chapter 24, Authentication Configuration describes how to configure various authentication methods that OracleLinux can use, including NIS, LDAP, Kerberos, and Winbind, and how you can configure the System SecurityServices Daemon feature to provide centralized identity and authentication management.

• Chapter 25, Local Account Configuration describes how to configure and manage local user and group accounts.

• Chapter 26, System Security Administration describes the subsystems that you can use to administer systemsecurity, including SELinux, the Netfilter firewall, TCP Wrappers, chroot jails, auditing, system logging, and processaccounting.

• Chapter 27, OpenSSH Configuration describes how to configure OpenSSH to support secure communicationbetween networked systems.

Page 66: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,
Page 67: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

Table of Contents24 Authentication Configuration ......................................................................................................... 6325 Local Account Configuration ........................................................................................................ 6526 System Security Administration .................................................................................................... 6727 OpenSSH Configuration ............................................................................................................... 69

61

Page 68: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

62

Page 69: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

Chapter 24 Authentication ConfigurationThis chapter describes how to configure various authentication methods that Oracle Linux can use,including NIS, LDAP, Kerberos, and Winbind, and how you can configure the System Security ServicesDaemon feature to provide centralized identity and authentication management.

Note

The information in this chapter has been migrated to separate and moreupdated documentation. See Oracle® Linux 7: Setting Up System Accounts andAuthentication.

63

Page 70: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

64

Page 71: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

Chapter 25 Local Account ConfigurationThis chapter describes how to configure and manage local user and group accounts.

Note

The information in this chapter has been migrated to separate and moreupdated documentation. See Oracle® Linux 7: Setting Up System Accounts andAuthentication.

65

Page 72: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

66

Page 73: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

Chapter 26 System Security AdministrationThis chapter describes the subsystems that you can use to administer system security, including SELinux,the Netfilter firewall, TCP Wrappers, chroot jails, auditing, system logging, and process accounting.

Note

The information in this chapter has been migrated to separate and more updateddocumentation. See the following corresponding documentation:

• For security topics, see Oracle® Linux 7: Security Guide.

• For information about setting up user accounts and authentication, see Oracle®Linux 7: Setting Up System Accounts and Authentication .

• For information about SELinux, see Oracle® Linux: Administering SELinux.

67

Page 74: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

68

Page 75: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

Chapter 27 OpenSSH ConfigurationThis chapter describes how to configure OpenSSH to support secure communication between networkedsystems.

Note

The information in this chapter has been migrated to a separate and moreupdated documentation. See Oracle® Linux: Connecting to Remote Systems WithOpenSSH.

69

Page 76: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

70

Page 77: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

Part V VirtualizationThis section contains the following chapters:

• Chapter 28, Linux Containers describes how to use Linux Containers (LXC) to isolate applications and entireoperating system images from the other processes that are running on a host system.

• Chapter 29, Using KVM With Oracle Linux describes how to use an Oracle Linux system as a hypervisor withKernel-based Virtual Machine (KVM) and provides information on installing virtualization packages.

Note

Information about using the Docker engine to manage containers and images under OracleLinux is provided in Oracle® Linux: Oracle Container Runtime for Docker User's Guide.

Page 78: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,
Page 79: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

Table of Contents28 Linux Containers ......................................................................................................................... 7529 Using KVM With Oracle Linux ...................................................................................................... 77

73

Page 80: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

74

Page 81: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

Chapter 28 Linux ContainersThis chapter describes how to use Linux Containers (LXC) to isolate applications and entire operatingsystem images from the other processes that are running on a host system.

Note

The information in this chapter has been migrated to separate and more updateddocumentation. See Oracle® Linux 7: Working With LXC.

For information about how to use the Docker Engine to create application containers, see the OracleContainer Runtime for Docker User's Guide.

75

Page 82: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

76

Page 83: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

Chapter 29 Using KVM With Oracle LinuxThis chapter describes the Kernel-based Virtual Machine (KVM) feature.

Note

The information in this chapter has been migrated to separate and more updateddocumentation. See Oracle® Linux: KVM User's Guide.

77

Page 84: Oracle Linux 7 · 2020. 11. 17. · Preface Oracle® Linux 7: Administrator's Guide provides introductory information about administering various features of Oracle Linux 7 systems,

78