Book Description

This handy cookbook teaches new-to-intermediate Linux users the essential skills necessary to manage a home or small business network. All of the recipes in this book are useful for any Linux system, including local area networks that involve iOS- or Android-powered devices. You’ll learn how to install, maintain, and troubleshoot a Linux system, add and remove software, manage filesystems, run backups, and more.

Carla Schroder, author of over a thousand Linux how-tos for various publications, teaches you the solid Linux foundations you need to build and run your network. How do you multiboot? Or troubleshoot software, hardware, and network issues? Each recipe addresses a specific problem and includes a discussion that explains the solution and provides insight into how it works.

  • Learn how the Linux ecosystem is structured
  • Set up a local area network (LAN)
  • Enable smartphones and tablets to safely connect to your LAN
  • Manage fundamental subsystems and essential tasks
  • Secure remote access and build a firewall/internet gateway
  • Manage users and groups, and filesystems and partitions
  • Rescue nonbooting systems
  • Manage name services and the Dynamic Host Configuration Protocol (DHCP)

Table of Contents

  1. 1. Starting and Stopping Linux
    1. 1.1. Shutting Down, Timed Shutdowns, and Rebooting with the shutdown Command
    2. 1.2. Shutting Down and Rebooting with halt and poweroff
    3. 1.3. Sending your System into Sleep Modes with systemctl
    4. 1.4. Rebooting with Ctrl+Alt+Del
    5. 1.5. Disabling and Re-enabling Ctrl+Alt+Delete in systemd
    6. 1.6. Creating Scheduled Shutdowns
    7. 1.7. Scheduling Automated Startups with UEFI Wakeups
    8. 1.8. Scheduling Automated Startups with RTC Wakeups
    9. 1.9. Setting up Remote Wakeups with Wake-on-LAN over Wired Ethernet
    10. 1.10. Setting up Remote Wakeups over Wifi (WoWLAN)
  2. 2. Managing Services with Systemd
    1. 2.1. Learning if your Linux uses Systemd
    2. 2.2. Understanding PID 1, the Mother of All
    3. 2.3. Listing Services and their States with systemd
    4. 2.4. Querying the Status of Selected Services
    5. 2.5. Starting and Stopping Services
    6. 2.6. Enabling and Disabling Services
    7. 2.7. Killing Processes
    8. 2.8. Managing Runlevels with systemd
    9. 2.9. Diagnosing Slow Startups