Linux_Cookbook_Essential_Skills_for_Linux_Users_and_System__Network_Administrators_2nd_Edition.pdf

(67232 KB) Pobierz
nd
co ion
S e it
Ed
Linux
Cookbook
Essential Skills for Linux Users and
System & Network Administrators
Carla Schroder
SECOND EDITION
Essential Skills for Linux Users and
System and Network Administrators
Linux Cookbook
Carla Schroder
Linux Cookbook
by Carla Schroder
Copyright © 2021 Carla Schroder. All rights reserved.
Printed in the United States of America.
Published by O’Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472.
O’Reilly books may be purchased for educational, business, or sales promotional use. Online editions are
also available for most titles (http://oreilly.com). For more information, contact our corporate/institutional
sales department: 800-998-9938 or
corporate@oreilly.com.
Acquisitions Editor:
Suzanne McQuade
Development Editor:
Jeff Bleiel
Production Editor:
Daniel Elfanbaum
Copyeditor:
Sonia Saruba
Proofreader:
Tom Sullivan
December 2004:
September 2021:
First Edition
Second Edition
Indexer:
nSight, Inc.
Interior Designer:
David Futato
Cover Designer:
Karen Montgomery
Illustrator:
Kate Dullea
Revision History for the Second Edition
2021-08-12:
First Release
See
http://oreilly.com/catalog/errata.csp?isbn=9781492087168
for release details.
The O’Reilly logo is a registered trademark of O’Reilly Media, Inc.
Linux Cookbook,
the cover image, and
related trade dress are trademarks of O’Reilly Media, Inc.
The views expressed in this work are those of the author, and do not represent the publisher’s views.
While the publisher and the author have used good faith efforts to ensure that the information and
instructions contained in this work are accurate, the publisher and the author disclaim all responsibility
for errors or omissions, including without limitation responsibility for damages resulting from the use of
or reliance on this work. Use of the information and instructions contained in this work is at your own
risk. If any code samples or other technology this work contains or describes is subject to open source
licenses or the intellectual property rights of others, it is your responsibility to ensure that your use
thereof complies with such licenses and/or rights.
978-1-492-08716-8
[LSI]
Table of Contents
Preface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii
1. Installing Linux. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Booting from Installation Media
Where to Download Linux
Best Linux for Newbies
1.1 Entering your System BIOS/UEFI Setup
1.2 Downloading a Linux Installation Image
1.3 Creating a Linux Installation USB Stick with UNetbootin
1.4 Creating a Linux Installation DVD with K3b
1.5 Using the wodim Command to Create a Bootable CD/DVD
1.6 Creating a Linux Installation USB Stick with the dd Command
1.7 Trying a Simple Ubuntu Installation
1.8 Customizing Partitioning
1.9 Preserving Existing Partitions
1.10 Customizing Package Selection
1.11 Multibooting Linux Distributions
1.12 Dual-boot with Microsoft Windows
1.13 Recovering an OEM Windows 8 or 10 Product Key
1.14 Mounting Your ISO Image on Linux
2.1 Rebuilding Your GRUB Configuration File
2.2 Unhiding a Hidden GRUB Menu
2.3 Booting to a Different Linux Kernel
2.4 Understanding GRUB Configuration Files
2.5 Writing a Minimal GRUB Configuration File
2.6 Setting a Custom Background for Your GRUB Menu
2
3
3
4
6
7
9
12
13
15
18
22
23
29
31
34
35
40
40
41
43
44
48
iii
2. Managing the GRUB Bootloader. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Zgłoś jeśli naruszono regulamin