You are previewing Linux All-in-One For Dummies, 5th Edition.
O'Reilly logo
Linux All-in-One For Dummies, 5th Edition

Book Description

Eight minibooks in one volume cover every important aspect of Linux and everything you need to know to pass level-1 certification

Linux All-in-One For Dummies explains everything you need to get up and running with the popular Linux operating system. Written in the friendly and accessible For Dummies style, the book ideal for new and intermediate Linux users, as well as anyone studying for level-1 Linux certification. The eight minibooks inside cover the basics of Linux, interacting with it, networking issues, Internet services, administration, security, scripting, and level-1 certification.

  • Covers every major topic for anyone just getting familiar with Linux

  • Includes a test-prep section for passing the level-1 Linux certification exam

  • Written by the expert author of more than thirty books, including CompTIA Security+ Study Guide, 3rd Edition

  • Including everything beginners need to know to get started with Linux, Linux All-in-One For Dummies, 5th Edition is the ultimate resource and reference for aspiring professionals.

    Table of Contents

      1. Introduction
        1. About This Book
        2. Foolish Assumptions
        3. Icons Used in This Book
        4. Beyond the Book
        5. Where to Go from Here
      2. Book I: Getting Started with Linux
        1. Chapter 1: Introducing Linux
          1. What Is Linux?
            1. Linux distributions
            2. Making sense of version numbers
            3. Linux Standard Base (LSB)
          2. Contents of a Linux Distribution
            1. GNU software
            2. GUIs and applications
            3. Networks
            4. Internet servers
            5. Software development
            6. Online documentation
          3. Managing Your PC with Linux
            1. Distribution media
            2. Peripheral devices
            3. File systems and sharing
            4. Network
          4. Getting Started
            1. Step 1: Install
            2. Step 2: Configure
            3. Step 3: Explore
            4. Step 4: Find out more
        2. Chapter 2: Installing Linux
          1. Following the Installation Steps
          2. Checking Your PC’s Hardware
          3. Setting Aside Space for Linux
          4. Trying a Live CD
          5. Installing Linux on a Flash Drive
            1. Creating the bootable flash drive
            2. Troubleshooting the workstation
            3. Working daily with the new drive
        3. Chapter 3: Troubleshooting and Configuring Linux
          1. Using Text Mode Installation
          2. Troubleshooting X
          3. Resolving Other Installation Problems
            1. Using Knoppix boot commands
            2. The fatal signal 11 error
            3. Getting around the PC reboot problem
            4. Using Linux kernel boot options
          4. Setting Up Printers
          5. Managing DVDs, CD-ROMs, and Flash Drives
          6. Installing Other Software
            1. Installing software in Debian and Ubuntu
            2. Installing software in Fedora
            3. Installing software in SUSE
            4. Installing software in Xandros
        4. Chapter 4: Trying Out Linux
          1. Starting Linux
          2. Playing with the Shell
            1. Starting the bash shell
            2. Understanding shell commands
            3. Trying a few Linux commands
          3. Shutting Down
      3. Book II: Linux Desktops
        1. Chapter 1: GNOME, Unity, Cinnamon, and MATE
          1. Getting to Know the GNOME Desktop
          2. Understanding the GNOME Panels
            1. The top panel
            2. The desktop
            3. The bottom panel
          3. Looking at Unity
          4. Looking at Cinnamon
          5. Looking at MATE
        2. Chapter 2: The KDE Desktop
          1. Getting to Know the KDE Desktop
            1. Desktop context menus
            2. Icon context menus
          2. Understanding the KDE Panel
            1. The Main Menu button
            2. Panel icons
          3. Configuring the KDE Bottom Panel
          4. Configuring the KDE Desktop
        3. Chapter 3: Commanding the Shell
          1. Opening Terminal Windows and Virtual Consoles
          2. Using the bash Shell
            1. Understanding the syntax of shell commands
            2. Combining shell commands
            3. Controlling command input and output
            4. Typing less with automatic command completion
            5. Going wild with asterisks and question marks
            6. Repeating previously typed commands
          3. Discovering and Using Linux Commands
            1. Becoming root (superuser)
            2. Managing processes
            3. Working with date and time
            4. Processing files
          4. Writing Shell Scripts
        4. Chapter 4: Navigating the Linux File System
          1. Understanding the Linux File System
          2. Navigating the File System with Linux Commands
            1. Commands for directory navigation
            2. Commands for directory listings and permissions
            3. Commands for changing permissions and ownerships
            4. Commands for working with files
            5. Commands for working with directories
            6. Commands for finding files
            7. Commands for mounting and unmounting
            8. Commands for checking disk-space usage
        5. Chapter 5: Introducing Linux Applications
          1. Taking Stock of Linux Applications
          2. Introducing Office Applications and Tools
            1. LibreOffice.org office suite
            2. Calendars
            3. Calculators
          3. Checking out Multimedia Applications
            1. Using a digital camera
            2. Playing audio CDs
            3. Playing sound files
            4. Burning a CD or DVD
          4. Using Graphics and Imaging Apps
            1. The GIMP
            2. GNOME Ghostview
        6. Chapter 6: Using Text Editors
          1. Using GUI Text Editors
          2. Text Editing with ed and vi
            1. Using ed
            2. Using vi
      4. Book III: Networking
        1. Chapter 1: Connecting to the Internet
          1. Understanding the Internet
          2. Deciding How to Connect to the Internet
          3. Connecting with DSL
            1. How DSL works
            2. DSL alphabet soup: ADSL, IDSL, SDSL
            3. Typical DSL setup
          4. Connecting with a Cable Modem
            1. How a cable modem works
            2. Typical cable modem setup
        2. Chapter 2: Setting Up a Local Area Network
          1. Understanding TCP/IP
            1. IP addresses
            2. Internet services and port numbers
          2. Setting Up an Ethernet LAN
            1. How Ethernet works
            2. Ethernet cables
          3. Configuring TCP/IP Networking
          4. Connecting Your LAN to the Internet
        3. Chapter 3: Going Wireless
          1. Understanding Wireless Ethernet Networks
            1. Understanding infrastructure and ad hoc modes
            2. Understanding Wired Equivalent Privacy (WEP)
          2. Setting Up Wireless Hardware
          3. Configuring the Wireless Access Point
          4. Configuring Wireless Networking
        4. Chapter 4: Managing the Network
          1. Discovering the TCP/IP Configuration Files
            1. /etc/hosts
            2. /etc/networks
            3. /etc/host.conf
            4. /etc/resolv.conf
            5. /etc/hosts.allow
            6. /etc/hosts.deny
            7. /etc/nsswitch.conf
          2. Checking Out TCP/IP Networks
            1. Checking the network interfaces
            2. Checking the IP routing table
            3. Checking connectivity to a host
            4. Checking network status
            5. Sniffing network packets
            6. Using GUI tools
          3. Configuring Networks at Boot Time
      5. Book IV: The Internet
        1. Chapter 1: Browsing the Web
          1. Discovering the Web
            1. Like a giant spider’s web
            2. Links and URLs
            3. Web servers and web browsers
          2. Web Browsing in Linux
            1. Checking out web browsers for Linux
            2. Introducing Firefox’s user interface
            3. Changing your home page
            4. Surfing the Internet with Firefox
        2. Chapter 2: Reading Newsgroups and RSS Feeds
          1. Understanding Newsgroups
            1. Newsgroup hierarchy
            2. Top-level newsgroup categories
            3. Linux-related newsgroups
          2. Reading Newsgroups from Your ISP
            1. Taking stock of newsreaders
            2. Reading newsgroups with Thunderbird
            3. Newsgroup subscriptions
            4. Posting news
            5. Using KNode
          3. Reading and Searching Newsgroups at Websites
          4. Reading RSS Feeds
            1. Examining an RSS Feed
            2. Reading RSS Feeds
        3. Chapter 3: Using FTP
          1. Using Graphical FTP Clients
            1. Using gFTP
            2. Introducing FileZilla
            3. Using a web browser as an FTP client
          2. Using the Command-Line FTP Client
        4. Chapter 4: Hosting Internet Services
          1. Understanding Internet Services
            1. TCP/IP and sockets
            2. Internet services and port numbers
          2. Using the Internet Super Server
            1. Using inetd
            2. Using xinetd
          3. Running Standalone Servers
            1. Starting and stopping servers manually
            2. Starting servers automatically at boot time
        5. Chapter 5: Managing Mail and News Servers
          1. Installing the Mail Server
            1. Using sendmail
            2. A mail-delivery test
            3. The mail-delivery mechanism
            4. The sendmail configuration file
            5. Syntax of the sendmail.cf file
            6. Other sendmail files
            7. The .forward file
            8. The sendmail alias file
          2. Installing the INN Server
          3. Configuring and Starting the INN Server
            1. InterNetNews components
            2. The incoming.conf file
            3. The readers.conf file
            4. InterNetNews startup
          4. Setting Up Local Newsgroups
            1. Defining a newsgroup hierarchy
            2. Updating configuration files
            3. Adding the newsgroups
            4. Testing your newsgroups
        6. Chapter 6: Managing DNS
          1. Understanding Domain Name System (DNS)
            1. What is DNS?
            2. Discovering hierarchical domain names
            3. Exploring Berkeley Internet Name Domain (BIND)
          2. Configuring DNS
            1. Configuring the resolver
            2. Configuring a caching name server
            3. Configuring a primary name server
      6. Book V: Administration
        1. Chapter 1: Introducing Basic System Administration
          1. Taking Stock of System Administration Tasks
          2. Introducing Some GUI Sysadmin Tools
          3. How to Become root
            1. Using the su - command
            2. Becoming root for the GUI utilities
            3. Recovering from a forgotten root password
          4. Understanding How Linux Boots
            1. Understanding the init process
            2. Examining the /etc/inittab file
            3. Trying a new run level with the init command
            4. Understanding the Linux startup scripts
            5. Manually starting and stopping servers
            6. Automatically starting servers at system startup
          5. Taking Stock of Linux System Configuration Files
          6. Monitoring System Performance
            1. Using the top utility
            2. Using the uptime command
            3. Using the vmstat utility
            4. Checking disk performance and disk usage
          7. Viewing System Information with the /proc File System
          8. Understanding Linux Devices
            1. Device files
            2. Persistent device naming with udev
          9. Managing Loadable Driver Modules
            1. Loading and unloading modules
            2. Using the /etc/modprobe.conf file
          10. Scheduling Jobs in Linux
            1. Scheduling one-time jobs
            2. Scheduling recurring jobs
        2. Chapter 2: Managing Users and Groups
          1. Adding User Accounts
            1. Managing user accounts by using a GUI user manager
            2. Managing user accounts by using commands
          2. Understanding the /etc/passwd File
          3. Managing Groups
          4. Other User and Group Administration Values
          5. Exploring the User Environment
          6. Changing User and Group Ownership of Files
        3. Chapter 3: Managing File Systems
          1. Exploring the Linux File System
            1. Understanding the file-system hierarchy
            2. Mounting a device on the file system
            3. Examining the /etc/fstab file
          2. Sharing Files with NFS
            1. Exporting a file system with NFS
            2. Mounting an NFS file system
          3. Backing Up and Restoring Files
            1. Selecting a backup strategy and media
            2. Commercial backup utilities for Linux
            3. Using the tape archiver — tar
          4. Accessing a DOS or Windows File System
            1. Mounting a DOS or Windows disk partition
            2. Mounting those ancient DOS floppy disks
            3. Mounting an NTFS partition
        4. Chapter 4: Working with Samba and NFS
          1. Sharing Files with NFS
            1. Exporting a file system with NFS
            2. Mounting an NFS file system
          2. Setting Up a Windows Server Using Samba
            1. Installing Samba
            2. Configuring Samba
            3. Trying out Samba
      7. Book VI: Security
        1. Chapter 1: Introducing Linux Security
          1. Why Worry about Security?
          2. Establishing a Security Framework
            1. Determining business requirements for security
            2. Performing risk analysis
            3. Establishing a security policy
            4. Implementing security solutions (mitigation)
            5. Managing security
          3. Securing Linux
            1. Understanding the host-security issues
            2. Understanding network-security issues
          4. Delving into Computer Security Terminology and Tools
          5. Keeping Up with Security News and Updates
        2. Chapter 2: Securing Linux
          1. Securing Passwords
            1. Shadow passwords
            2. Pluggable authentication modules (PAMs)
          2. Protecting Files and Directories
            1. Viewing ownerships and permissions
            2. Changing file ownerships
            3. Changing file permissions
            4. Setting default permission
            5. Checking for set user ID permission
          3. Encrypting and Signing Files with GnuPG
            1. Understanding public key encryption
            2. Understanding digital signatures
            3. Using GPG
          4. Monitoring System Security
          5. Securing Internet Services
            1. Turning off standalone services
            2. Configuring the Internet super server
            3. Configuring TCP wrapper security
          6. Using Secure Shell (SSH) for Remote Logins
          7. Setting Up Simple Firewalls
            1. Using NAT
            2. Enabling packet filtering on your Linux system
          8. Security Files to Be Aware Of
        3. Chapter 3: Computer Security Audits and Vulnerability Testing Types
          1. Understanding Security Audits
            1. Nontechnical aspects of security audits
            2. Technical aspects of security audits
          2. Implementing a Security Test Methodology
            1. Some common computer vulnerabilities
            2. Host-security review
            3. Network-security review
          3. Vulnerability Testing Types
          4. Exploring Security Testing Tools
            1. nmap
      8. Book VII: Scripting
        1. Chapter 1: Introductory Shell Scripting
          1. Trying Out Simple Shell Scripts
          2. Exploring the Basics of Shell Scripting
            1. Storing stuff
            2. Calling shell functions
            3. Controlling the flow
            4. Exploring bash’s built-in commands
        2. Chapter 2: Advanced Shell Scripting
          1. Trying Out sed
          2. Working with awk and sed
            1. Step 1: Pull out the ISBN
            2. Step 2: Calculate the 13th digit
            3. Step 3: Add the 13th digit to the other 12
            4. Step 4: Finish the process
          3. Final Notes on Shell Scripting
        3. Chapter 3: Programming in Linux
          1. An Overview of Programming
          2. Exploring the Software-Development Tools in Linux
            1. GNU C and C++ compilers
            2. The GNU make utility
            3. The GNU debugger
          3. Understanding the Implications of GNU Licenses
            1. The GNU General Public License
            2. The GNU Library General Public License
      9. Book VIII: Linux Certification
        1. Chapter 1: Studying for the Linux Essentials Certification Exam
          1. Overview of Linux Essentials
          2. The Linux Community and a Career in Open Source
          3. Using the Command Line to Get Help
          4. The Power of the Command Line
          5. The Linux Operating System
          6. Security and File Permissions
        2. Chapter 2: Studying for the CompTIA Linux+ Powered by LPI Certification Exams
          1. Overview of the CompTIA Linux+ Exams
          2. System Architecture
          3. Linux Installation and Package Management
          4. GNU and Unix Commands
          5. Devices, Linux File Systems, Filesystem Hierarchy Standard
          6. Shells, Scripting, and Data Management
          7. User Interfaces and Desktops
          8. Administrative Tasks
          9. Essential System Services
          10. Networking Fundamentals
          11. Security
        3. Chapter 3: Other Linux Certifications
          1. Vendor-Neutral Certifications
          2. Vendor-Specific Certifications
      10. About the Author
      11. Cheat Sheet
      12. More Dummies Products