Linux for System Administrators : Navigate the Complex Landscape of the Linux OS and Command Line for Effective Administration 🔍
VIOREL. BATURIN RUDAREANU (DANIIL.); Daniil Baturin Packt Publishing, Limited, 1, 2023
英语 [en] · PDF · 21.6MB · 2023 · 📘 非小说类图书 · 🚀/lgli/lgrs/nexusstc/upload/zlib · Save
描述
Cover 1
Title Page 2
Copyright and Credits 2
Contributors 4
Table of Contents 6
Preface 14
Part 1:
Linux Basics 20
Chapter 1: Getting to Know Linux 22
The structure of a Linux system 22
The Linux kernel and Linux-based operating systems 22
Kernel versus user space 23
The Linux kernel and the GNU project 24
Open source software licenses 25
Permissive and copyleft licenses 26
Patent grant, tivoization, and SaaS concerns 26
Linux distributions 27
Package managers and package repositories 27
Differences between distributions 28
Linux usage in the modern world 29
Summary 29
Chapter 2: The Shell and Its Commands 32
What is a shell? 32
Basic shell commands 36
Intermediate shell commands 38
Summary 41
Chapter 3: The Linux Filesystem 42
What is a filesystem? 42
High scalability 45
High performance 45
What filesystem does my system use? 45
FUSE filesystem 46
The directory tree and standard directories 47
Links (hard and symbolic) 49
What is an inode? 49
What is a hard link? 50
What are symbolic links? 50
Mounting and unmounting filesystems 50
How to unmount the filesystem 51
Pseudo-filesystems 51
Processes 51
Kernel and system information 53
CPU usage 53
Summary 54
Chapter 4: Processes and Process Control 56
Executables versus processes 56
Process termination and exit codes 58
Exit codes 58
Signals 60
The kill command 61
The process tree 63
Process search and monitoring 64
The ps command 64
Process monitoring tools 66
The /proc filesystem 67
Summary 68
Chapter 5: Hardware Discovery 70
Discovering CPU model and features 70
Feature discovery on different platforms 71
The /proc/cpuinfo file 71
Multi-processor systems 73
High-level CPU discovery utilities 76
Memory discovery 77
Discovering PCI devices 78
Discovering USB devices 79
Discovering storage devices 80
High-level discovery tools 81
dmidecode 81
lshw 83
Summary 86
Part 2:
Configuring and Modifying Linux Systems 88
Chapter 6: Basic System Settings 90
Overview of basic settings 90
The hosts configuration file 92
The resolv configuration file 94
The network-scripts configuration file 95
The dhclient configuration file 98
The sysctl configuration file 100
Summary 101
Chapter 7: User and Group Management 102
Overview of managing accounts/groups 102
How to add a new account 104
Using useradd 104
Using adduser 105
How to delete an account 106
Understanding the/etc/sudoers file 107
Switching users 107
Managing account passwords 108
Locking/unlocking user accounts 109
Setting password expiration 109
Group management 111
Permissions 113
Changing groups 115
Summary 117
Chapter 8: Software Installation
and Package Repositories 118
Software installation, packages, and dependencies 118
Package managers 120
Package files 121
Inspecting package files 122
Inspecting installed packages 130
Installing and removing package files 134
Package repositories and high-level package managers 136
Package repositories 136
High-level package managers 139
Searching for packages 143
System upgrade 145
Upgrading a system with YUM or DNF 145
Upgrading a system with APT 146
Summary 148
Further reading 148
Chapter 9: Network Configuration
and Debugging 150
Linux network stack 150
Network interfaces and addresses in Linux 152
Discovering physical network devices 153
Network interface names 155
Using the ip command 155
Discovering and inspecting logical links 156
Viewing and changing Ethernet link MAC addresses 157
Viewing and changing IP addresses 158
Routes and neighbor tables 160
ARP and NDP neighbor tables 161
Routes and route tables 162
NetworkManager 168
Distribution-specific configuration methods 171
Debian 172
Old Red Hat-based distributions 172
Network troubleshooting 173
Using ping 173
Using traceroute 174
Summary 175
Chapter 10: Storage Management 176
Adding additional storage volumes 176
Formatting and partitioning storage devices 178
Formatting a newly created partition 183
Mounting and unmounting volumes 183
Updating the /etc/fstab file 184
Editing /etc/fstab file 185
Utilizing LVM 186
Getting started with LVM 186
Creating a format for logical disks 189
Deleting volumes with LVM 191
Summary 191
Part 3:
Linux as a Part of
a Larger System 192
Chapter 11: Logging Configuration and Remote Logging 194
Logging configuration 194
How does log data get sent and gathered? 196
Checking rsyslog service on all servers 197
Configuring rsyslog for centralized logging 199
Sending logs to a centralized rsyslog server 201
Log rotation 203
Journald 204
DMESG 208
Understanding the ring buffer in Linux 209
Summary 212
Chapter 12: Centralized Authentication 214
The AAA framework 214
Authentication mechanisms in Linux 215
Information lookup 215
Name Service Switch 216
Pluggable Authentication Modules 217
PAM configuration 218
Limitations of PAM 221
System Security Services Daemon 221
Active Directory authentication with Samba 4 221
Setting up the domain controller 222
Setting up the client 225
Summary 226
Further reading 226
Chapter 13: High Availability 228
Types of redundancy and load balancing 228
Link layer redundancy 231
Network layer redundancy and load balancing 232
Transport layer load balancing with LVS 233
LVS load-balancing methods 235
Saving and restoring LVS configurations 239
Additional LVS options 239
Active/backup configurations and load balancing with Keepalived 240
Installing Keepalived 241
Basics of the VRRP protocol operation 241
Configuring VRRP 242
Configuring virtual servers 245
Application layer load balancing 250
Web application load balancing with HAProxy 251
Summary 252
Further reading 252
Chapter 14: Automation with Chef 254
Overview of infrastructure automation 254
Benefits of automation in Linux 255
Introduction to Chef 255
What is Chef? 255
Key features of Chef 255
Overview of Chef’s architecture 256
Chef server 256
Chef server components 257
Cookbooks and recipes 257
Chef workstation 257
Development workflow 258
Managing environments and roles 258
Chef nodes 261
Node registration 261
Communication with the Chef server 261
Cookbook development 262
Cookbook structure and components 262
Writing recipes and resources 262
Managing infrastructure with Chef 264
Configuration management 264
Chef client-server interaction 264
Reporting and monitoring 265
Data synchronization 265
Benefits of automating infrastructure with Chef in Linux 266
Consistency and scalability 266
Reduced human error 266
Enhanced security 266
Challenges and best practices 266
Best practices for effective Chef implementation 266
Summary 267
Chapter 15: Security Guidelines and
Best Practices 268
Common threats and attack types 268
The motivation of attackers and the possible consequences 268
Information security properties and attacks on them 269
Keeping your system secure 273
Reducing the attack surface 273
Compartmentalization and privilege separation 274
Preventing credential theft and brute-force attacks 277
Reducing the risk of software vulnerabilities 278
Summary 279
Further reading 279
Index 281
Other Books You May Enjoy 290
备用文件名
nexusstc/Linux for System Administrators: Navigate the complex landscape of the Linux OS and command line for effective administration/c6e2021d9908c0f57ff393f537960516.pdf
备用文件名
lgli/Linux for System Administrators Navigate the complex landscape of the Linux OS and command line for effective administration (Rudareanu, ViorelBaturin, Daniil).pdf
备用文件名
lgrsnf/Linux for System Administrators Navigate the complex landscape of the Linux OS and command line for effective administration (Rudareanu, ViorelBaturin, Daniil).pdf
备用文件名
zlib/Computers/UNIX & Linux/Viorel Rudareanu, Daniil Baturin/Linux for System Administrators: Navigate the complex landscape of the Linux OS and command line for effective administration_25991844.pdf
备选作者
Rudareanu, Viorel; Baturin, Daniil
备选作者
Adobe InDesign 18.3 (Windows)
备用出版商
de Gruyter GmbH, Walter
备用版本
Packt Publishing, [Place of publication not identified], 2023
备用版本
United Kingdom and Ireland, United Kingdom
元数据中的注释
Publisher's PDF
元数据中的注释
producers:
Adobe PDF Library 17.0
元数据中的注释
{"edition":"1","isbns":["1803247940","9781803247946"],"last_page":294,"publisher":"Packt Publishing"}
备用描述
A modern guide for aspiring Linux administrators—from command line basics to enterprise features
Key Features Explore a Linux environment with a focus on networking, installation, configuration, and cloud management Become familiar with the command line, basic commands, and directory Learn how to automate apps and infrastructure using Chef Purchase of the print or Kindle book includes a free PDF eBook Book DescriptionLinux system administration is an essential aspect of maintaining and managing Linux servers within an organization. The role of a Linux system administrator is pivotal in ensuring the smooth functioning and security of these servers, making it a critical job function for any company that relies on Linux infrastructure.
This book is a comprehensive guide designed to help you build a solid foundation in Linux system administration. It takes you from the fundamentals of Linux to more advanced topics, encompassing key areas such as Linux system installation, managing user accounts and filesystems, networking fundamentals, and Linux security techniques. Additionally, the book delves into the automation of applications and infrastructure using Chef, enabling you to streamline and optimize your operations.
For both newcomers getting started with Linux and professionals looking to enhance their skills, this book is an invaluable hands-on guide with a structured approach and concise explanations that make it an effective resource for quickly acquiring and reinforcing Linux system administration skills. With the help of this Linux book, you'll be able to navigate the world of Linux administration confidently to meet the demands of your role.
What you will learn Master the use of the command line and adeptly manage software packages Manage users and groups locally or by using centralized authentication Set up, diagnose, and troubleshoot Linux networks Understand how to choose and manage storage devices and filesystems Implement enterprise features such as high availability and automation tools Pick up the skills to keep your Linux system secure Who this book is for This book is for anyone new to the IT sector or those looking to learn Linux for a career in administering Linux systems. Aspiring cloud professionals, helpdesk staff, application support engineers, application developers, researchers, educators, and students considering the use of Linux servers will find this book especially useful.
]]>
备用描述
A modern guide for aspiring Linux administrators—from command line basics to enterprise features
Key Features
• Explore a Linux environment with a focus on networking, installation, configuration, and cloud management
• Become familiar with the command line, basic commands, and directory
• Learn how to automate apps and infrastructure using Chef
Book Description
Linux system administration is an essential aspect of maintaining and managing Linux servers within an organization. The role of a Linux system administrator is pivotal in ensuring the smooth functioning and security of these servers, making it a critical job function for any company that relies on Linux infrastructure.
This book is a comprehensive guide designed to help you build a solid foundation in Linux system administration. It takes you from the fundamentals of Linux to more advanced topics, encompassing key areas such as Linux system installation, managing user accounts and filesystems, networking fundamentals, and Linux security techniques. Additionally, the book delves into the automation of applications and infrastructure using Chef, enabling you to streamline and optimize your operations.
For both newcomers getting started with Linux and professionals looking to enhance their skills, this book is an invaluable hands-on guide with a structured approach and concise explanations that make it an effective resource for quickly acquiring and reinforcing Linux system administration skills. With the help of this Linux book, you’ll be able to navigate the world of Linux administration confidently to meet the demands of your role.
What you will learn
• Master the use of the command line and adeptly manage software packages
• Manage users and groups locally or by using centralized authentication
• Set up, diagnose, and troubleshoot Linux networks
• Understand how to choose and manage storage devices and filesystems
• Implement enterprise features such as high availability and automation tools
• Pick up the skills to keep your Linux system secure
Who this book is for
This book is for anyone new to the IT sector or those looking to learn Linux for a career in administering Linux systems. Aspiring cloud professionals, helpdesk staff, application support engineers, application developers, researchers, educators, and students considering the use of Linux servers will find this book especially useful.
开源日期
2023-09-03
更多信息……
We strongly recommend that you support the author by buying or donating on their personal website, or borrowing in your local library.

🚀 快速下载

成为会员以支持书籍、论文等的长期保存。为了感谢您对我们的支持,您将获得高速下载权益。❤️
如果您在本月捐款,您将获得双倍的快速下载次数。

🐢 低速下载

由可信的合作方提供。 更多信息请参见常见问题解答。 (可能需要验证浏览器——无限次下载!)

  • 对于大文件,我们建议使用下载管理器以防止中断。
    推荐的下载管理器:JDownloader
  • 您将需要一个电子书或 PDF 阅读器来打开文件,具体取决于文件格式。
    推荐的电子书阅读器:Anna的档案在线查看器ReadEraCalibre
  • 使用在线工具进行格式转换。
    推荐的转换工具:CloudConvertPrintFriendly
  • 您可以将 PDF 和 EPUB 文件发送到您的 Kindle 或 Kobo 电子阅读器。
    推荐的工具:亚马逊的“发送到 Kindle”djazz 的“发送到 Kobo/Kindle”
  • 支持作者和图书馆
    ✍️ 如果您喜欢这个并且能够负担得起,请考虑购买原版,或直接支持作者。
    📚 如果您当地的图书馆有这本书,请考虑在那里免费借阅。