SitePoint
Blog
Forum
Library
Login
Join Premium
Toggle sidebar
Ubuntu Linux Bible
Toggle community discussions
Close
Content
Bookmarks
Preface
Ubuntu® Linux® Bible
About the Authors
About the Technical Editor
Acknowledgments
Introduction
How This Book Is Organized
Conventions Used in This Book
Jumping into Linux
How to Contact Wiley or the Authors
1
Starting with Linux
IN THIS CHAPTER
Understanding What Linux Is
Understanding How Linux Differs from Other Operating Systems
Exploring Linux History
Free-flowing UNIX culture at Bell Labs
Commercial UNIX
GNU transitions UNIX to freedom
BSD loses some steam
Linus builds the missing piece
OSI open source definition
Understanding How Linux Distributions Emerged
Understanding Red Hat
Understanding Ubuntu and other Debian distributions
Finding Professional Opportunities with Linux Today
Understanding how companies make money with Linux
Summary
Creating the Perfect Linux Desktop
IN THIS CHAPTER
Understanding Linux Desktop Technology
Starting with the GNOME 3 Desktop Live Image
Using the GNOME 3 Desktop
After the computer boots up
Setting up the GNOME 3 desktop
Extending the GNOME 3 desktop
Starting with desktop applications
Stopping the GNOME 3 desktop
Using the Unity Graphical Shell with the GNOME Desktop
Summary
Exercises
Using the Shell
IN THIS CHAPTER
About Shells and Terminal Windows
Choosing Your Shell
Running Commands
Recalling Commands Using Command History
Connecting and Expanding Commands
Using Shell Variables
Creating Your Shell Environment
Getting Information about Commands
Summary
Exercises
Moving Around the Filesystem
IN THIS CHAPTER
Linux Filesystems versus Windows-Based Filesystems
Using Basic Filesystem Commands
Using Metacharacters and Operators
Listing Files and Directories
Identifying Directories
Understanding File Permissions and Ownership
Moving, Copying, and Removing Files
Summary
Exercises
Working with Text Files
IN THIS CHAPTER
Editing Files with Vim and Vi
Exploring Other Text Editors
Finding Files
Searching for files with find
Summary
Exercises
Managing Running Processes
IN THIS CHAPTER
Understanding Processes
Listing Processes
Managing Background and Foreground Processes
Killing and Renicing Processes
Limiting Processes with cgroups
Summary
Exercises
Writing Simple Shell Scripts
IN THIS CHAPTER
Understanding Shell Scripts
Escaping Special Shell Characters
Summary
Exercises
Learning System Administration
IN THIS CHAPTER
Understanding System Administration
Using Graphical Administration Tools
Invoking Administration Privileges
Exploring Administrative Commands, Configuration Files, and Log Files
Using Other Administrative Accounts
Checking and Configuring Hardware
Summary
Exercises
Installing Linux
IN THIS CHAPTER
Choosing a Computer
Installing Ubuntu Desktop
Installing Ubuntu Server
Understanding Cloud-Based Installations
Installing Linux in the Enterprise
Exploring Common Installation Topics
Summary
Exercises
Getting and Managing Software
IN THIS CHAPTER
Managing Software on the Desktop
Going Beyond the Software Window
Understanding Linux Software Packaging
Working with Debian Packaging
Summary
Exercises
Managing User Accounts
IN THIS CHAPTER
Creating User Accounts
Understanding Group Accounts
Managing Users in the Enterprise
Centralizing User Accounts
Summary
Exercises
Managing Disks and Filesystems
IN THIS CHAPTER
Understanding Disk Storage
Coming from Windows
Partitioning Hard Disks
Changing partitioning can make a system unbootable!
Viewing disk partitions
Using Logical Volume Manager Partitions
Mounting Filesystems
Using the mkfs Command to Create a Filesystem
Managing Storage with Cockpit
Summary
Exercises
Understanding Server Administration
IN THIS CHAPTER
Getting Started with Server Administration
Checking and Setting Servers
Managing Remote Access with the Secure Shell Service
Configuring System Logging
Checking System Resources with sar
Checking System Space
Managing Servers in the Enterprise
Summary
Exercises
Administering Networkingx
IN THIS CHAPTER
Configuring Networking for Desktops
Configuring Networking from the Command Line
Configuring Networking in the Enterprise
Summary
Exercises
Starting and Stopping Services
IN THIS CHAPTER
Understanding the Initialization Daemon (init or systemd)
Checking the Status of Services
Stopping and Starting Services
Enabling Persistent Services
Configuring a Default Runlevel or Target Unit
Adding New or Customized Services
Summary
Exercises
Configuring a Print Server
IN THIS CHAPTER
Common UNIX Printing System
Printing Directly from Windows to CUPS
Setting Up Printers
Working with CUPS Printing
Using Printing Commands
Configuring Print Servers
Summary
Exercises
Configuring a Web Server
IN THIS CHAPTER
Understanding the Apache Web Server
Getting and Installing Your Apache Web Server
Controlling Apache
Troubleshooting Your Web Server
Summary
Exercises
Configuring an FTP Server
IN THIS CHAPTER
Understanding FTP
Installing the vsftpd FTP Server
Controlling the vsftpd Service
Configuring Your FTP Server
Using FTP Clients to Connect to Your Server
Summary
Exercises
Configuring a Windows File Sharing (Samba) Server
IN THIS CHAPTER
Understanding Samba
Installing Samba
Controlling Samba
Configuring Samba
Accessing Samba Shares
Using Samba in the Enterprise
Summary
Exercises
Configuring an NFS File Server
IN THIS CHAPTER
Installing an NFS Server
Starting the NFS Service
Sharing NFS Filesystems
Securing Your NFS Server
Using NFS Filesystems
Unmounting NFS Filesystems
Summary
Exercises
Troubleshooting Linux
IN THIS CHAPTER
Boot-Up Troubleshooting
Troubleshooting Software Packages
Using cron for Software Updates
Troubleshooting Networking
Troubleshooting Memory
Summary
Exercises
Understanding Basic Linux Security
IN THIS CHAPTER
Implementing Physical Security
Monitoring Your Systems
Auditing and Reviewing Linux
Summary
Exercises
Understanding Advanced Linux Security
IN THIS CHAPTER
Implementing Linux Security with Cryptography
Implementing Linux Security with PAM
Summary
Exercises
Enhancing Linux Security with AppArmor
IN THIS CHAPTER
Understanding AppArmor
Working with AppArmor
Summary
Exercises
Securing Linux on a Network
IN THIS CHAPTER
Auditing Network Services
Working with Firewalls
Summary
Exercises
Shifting to Clouds and Containers
IN THIS CHAPTER
Understanding Linux Containers
Working with Linux Containers
Deploying LXD containers
Deploying Docker containers
Summary
Exercises
Deploying Linux to the Public Cloud
IN THIS CHAPTER
Running Linux in the Cloud Using cloud-init
Creating LXD Linux Images for Cloud Deployments
Using Amazon EC2 to Deploy Cloud Images
Summary
Exercises
Automating Apps and Infrastructure with Ansible
IN THIS CHAPTER
Understanding Ansible
Exploring Ansible Components
Stepping Through an Ansible Deployment
Installing Ansible
Running Ad-Hoc Ansible Commands
Summary
Exercises
Deploying Applications as Containers with Kubernetes
IN THIS CHAPTER
Understanding Kubernetes
Trying Kubernetes
Summary
Exercises
Appendix: Exercise Answers
Chapter 2: Creating the Perfect Linux Desktop
Chapter 3: Using the Shell
Chapter 4: Moving Around the Filesystem
Chapter 5: Working with Text Files
Chapter 6: Managing Running Processes
Chapter 7: Writing Simple Shell Scripts
Chapter 8: Learning System Administration
Chapter 9: Installing Linux
Chapter 10: Getting and Managing Software
Chapter 11: Managing User Accounts
Chapter 12: Managing Disks and Filesystems
Chapter 13: Understanding Server Administration
Chapter 14: Administering Networking
Chapter 15: Starting and Stopping Services
Chapter 16: Configuring a Print Server
Chapter 17: Configuring a Web Server
Chapter 18: Configuring an FTP Server
Chapter 19: Configuring a Windows File Sharing (Samba) Server
Chapter 20: Configuring an NFS File Server
Chapter 21: Troubleshooting Linux
Chapter 22: Understanding Basic Linux Security
Chapter 23: Understanding Advanced Linux Security
Chapter 24: Enhancing Linux Security with AppArmor
Chapter 25: Securing Linux on a Network
Chapter 26: Shifting to Clouds and Containers
Chapter 27: Deploying Linux to the Public Cloud
Chapter 28: Automating Apps and Infrastructure with Ansible
Chapter 29: Deploying Applications as Containers with Kubernetes
Index
WILEY END USER LICENSE AGREEMENT
Open text modal
Community Questions
Close