Ubuntu Linux Bible (10th Edition)

Rs. 12,425
  • Authors: David Clinton, Christopher Negus
  • ISBN: 9781119722335
  • Publisher: Wiley Publishing
  • Edition: 10th
  • Publication Date: January 04, 2021
  • Format: Paperback – 752 pages
  • Language: English

Out of stock



Share
Description

The best reference for Ubuntu Linux

Quickly learn how to use Ubuntu, the fastest growing Linux distribution, in a personal or enterprise environment

Ubuntu Linux Bible is a must-have for anyone looking for an accessible, step-by-step tutorial on this hugely popular Linux operating system.

Whether you’re a newcomer to Linux or an experienced system administrator, the Ubuntu Linux Bible provides what you need to get the most out of one the world’s top Linux distributions. Clear, step-by-step instructions cover everything from installing Ubuntu and creating your desktop, to writing shell scripts and setting up file sharing on your network. This up-to-date guide covers the latest Ubuntu release with long-term support (version 20.04 ) as well as the previous version. Throughout the book, numerous examples, figures, and review questions with answers ensure that you will fully understand each key topic.

Organized into four parts, the book offers you the flexibility to master the basics in the “Getting Started with Ubuntu Linux” section, or to skip directly to more advanced tasks. “Ubuntu for Desktop Users” shows you how to setup email, surf the web, play games, and create and publish documents, spreadsheets, and presentations. “Ubuntu for System Administrators” covers user administration, system backup, device management, network configuration, and other fundamentals of Linux administration. The book’s final section, “Configuring Servers on Ubuntu,” teaches you to use Ubuntu to support network servers for the web, e-mail, print services, networked file sharing, DHCP (network address management), and DNS (network name/address resolution).

This comprehensive, easy-to-use guide will help you:

  • Install Ubuntu and create the perfect Linux desktop
  • Use the wide variety of software included with Ubuntu Linux
  • Stay up to date on recent changes and new versions of Ubuntu
  • Create and edit graphics, and work with consumer IoT electronic devices
  • Add printers, disks, and other devices to your system
  • Configure core network services and administer Ubuntu systems
Table of Contents
  1. Acknowledgments ix
  2. Introduction xxix
  3. Part I: Getting Started 1
    1. Chapter 1: Starting with Linux 3
      1. Understanding What Linux is 4
      2. Understanding How Linux Differs from Other Operating Systems 6
      3. Exploring Linux History 7
      4. Free-flowing UNIX culture at Bell Labs 7
      5. Commercial UNIX 9
      6. Berkeley Software Distribution arrives 9
      7. UNIX Laboratory and commercialization 10
      8. GNU transitions UNIX to freedom 11
      9. BSD loses some steam 13
      10. Linus builds the missing piece 13
      11. OSI open source definition 14
      12. Understanding How Linux Distributions Emerged 16
      13. Understanding Red Hat 17
      14. Understanding Ubuntu and other Debian distributions 17
      15. Finding Professional Opportunities with Linux Today 18
      16. Understanding how companies make money with Linux 19
      17. Summary 20
    2. Chapter 2: Creating the Perfect Linux Desktop 21
      1. Understanding Linux Desktop Technology 22
      2. Starting with the GNOME 3 Desktop Live Image 24
      3. Using the GNOME 3 Desktop 25
      4. After the computer boots up 25
      5. Navigating with the mouse 25
      6. Navigating with the keyboard 30
      7. Setting up the GNOME 3 desktop 31
      8. Extending the GNOME 3 desktop 31
      9. Using GNOME shell extensions 32
      10. Using the GNOME Tweak Tool 33
      11. Starting with desktop applications 33
      12. Managing files and folders with Nautilus 33
      13. Installing and managing additional software 35
      14. Playing music with Rhythmbox 37
      15. Stopping the GNOME 3 desktop 37
      16. Using the Unity Graphical Shell with the GNOME Desktop 37
      17. Using the Metacity window manager 38
      18. Changing GNOME’s appearance 40
      19. Using the panels 40
      20. Adding a drawer 41
      21. Changing panel properties 41
      22. Summary 42
      23. Exercises 42
  4. Part II: Becoming a Linux Power User 43
    1. Chapter 3: Using the Shell 45
      1. About Shells and Terminal Windows 46
      2. Using the shell prompt 47
      3. Using a Terminal window 48
      4. Using virtual consoles 49
      5. Choosing Your Shell 49
      6. Running Commands 50
      7. Understanding command syntax 51
      8. Locating commands 53
      9. Recalling Commands Using Command History 56
      10. Command-line editing 56
      11. Command-line completion 58
      12. Command-line recall 59
      13. Connecting and Expanding Commands 61
      14. Piping between commands 62
      15. Sequential commands 62
      16. Background commands 63
      17. Expanding commands 63
      18. Expanding arithmetic expressions 63
      19. Expanding variables 64
      20. Using Shell Variables 64
      21. Creating and using aliases 66
      22. Exiting the shell 67
      23. Creating Your Shell Environment 67
      24. Configuring your shell 67
      25. Setting your prompt 68
      26. Adding environment variables 70
      27. Getting Information about Commands 71
      28. Summary 74
      29. Exercises 74
    2. Chapter 4: Moving Around the Filesystem 77
      1. Using Basic Filesystem Commands 80
      2. Using Metacharacters and Operators 82
      3. Using fi le-matching metacharacters 82
      4. Using fi le-redirection metacharacters 84
      5. Using brace expansion characters 85
      6. Listing Files and Directories 86
      7. Understanding File Permissions and Ownership 90
      8. Changing permissions with chmod (numbers) 91
      9. Changing permissions with chmod (letters) 92
      10. Setting default file permission with umask 93
      11. Changing file ownership 93
      12. Moving, Copying, and Removing Files 94
      13. Summary 95
      14. Exercises 96
    3. Chapter 5: Working with Text Files 97
      1. Editing Files with vim and vi 97
      2. Starting with vi 99
      3. Adding text 99
      4. Moving around in the text 100
      5. Deleting, copying, and changing text 101
      6. Pasting (putting) text 102
      7. Repeating commands 102
      8. Exiting vi 102
      9. Skipping around in the file 103
      10. Searching for text 103
      11. Using ex mode 104
      12. Learning more about vi and vim 104
      13. Finding Files 105
      14. Using locate to find files by name 105
      15. Searching for files with find 107
      16. Finding files by name 108
      17. Finding files by size 108
      18. Finding files by user 109
      19. Finding files by permission 109
      20. Finding files by date and time 110
      21. Using “not” and “or” when finding files 111
      22. Finding files and executing commands 112
      23. Searching in files with grep 113
      24. Summary 115
      25. Exercises 115
    4. Chapter 6: Managing Running Processes 117
      1. Understanding Processes 117
      2. Listing Processes 118
      3. Listing processes with ps 118
      4. Listing and changing processes with top 120
      5. Listing processes with System Monitor 122
      6. Managing Background and Foreground Processes 124
      7. Starting background processes 124
      8. Using foreground and background commands 125
      9. Killing and Renicing Processes 126
      10. Killing processes with kill and killall 126
      11. Using kill to signal processes by PID 127
      12. Using killall to signal processes by name 128
      13. Setting processor priority with nice and renice 128
      14. Limiting Processes with cgroups 129
      15. Summary 131
      16. Exercises 131
    5. Chapter 7: Writing Simple Shell Scripts 133
      1. Understanding Shell Scripts 133
      2. Executing and debugging shell scripts 134
      3. Understanding shell variables 135
      4. Special shell positional parameters 136
      5. Reading in parameters 137
      6. Parameter expansion in bash 137
      7. Performing arithmetic in shell scripts 138
      8. Using programming constructs in shell scripts 139
      9. The “if then” statements 139
      10. The case command 142
      11. The “for do” loop 143
      12. The “while do” and “until do” loops 144
      13. Trying some useful text manipulation programs 145
      14. The global regular expression print 145
      15. Remove sections of lines of text (cut) 145
      16. Translate or delete characters (tr) 146
      17. The stream editor (sed) 146
      18. Using simple shell scripts 147
      19. Telephone list 147
      20. Backup script 148
      21. Summary 149
      22. Exercises 149
  5. Part III: Becoming a Linux System Administrator 151
    1. Chapter 8: Learning System Administration 153
      1. Understanding System Administration 153
      2. Using Graphical Administration Tools 155
      3. Using Cockpit browser-based administration 155
      4. Using other browser-based admin tools 157
      5. Invoking Administration Privileges 158
      6. Becoming root from the shell 158
      7. Gaining temporary admin access with sudo 159
      8. Exploring Administrative Commands, Configuration Files, and Log Files 161
      9. Administrative commands 161
      10. Administrative configuration files 162
      11. Administrative log files and systemd journal 165
      12. Using journalctl to view the systemd journal 165
      13. Managing log messages with rsyslogd 166
      14. Using Other Administrative Accounts 167
      15. Checking and Configuring Hardware 167
      16. Checking your hardware 168
      17. Managing removable hardware 171
      18. Working with loadable modules 172
      19. Listing loaded modules 172
      20. Loading modules 173
      21. Removing modules 174
      22. Summary 174
      23. Exercises 175
    2. Chapter 9: Installing Linux 177
      1. Choosing a Computer 178
      2. Installing Ubuntu Desktop 180
      3. Installing Ubuntu Server 185
      4. Understanding Cloud-Based Installations 188
      5. Installing Linux in the Enterprise 189
      6. Exploring Common Installation Topics 189
      7. Upgrading or installing from scratch 189
      8. Dual booting 190
      9. Installing Linux to run virtually 191
      10. Using installation boot options 192
      11. Boot options for disabling features 192
      12. Boot options for video problems 193
      13. Boot options for special installation types 193
      14. Using specialized storage 194
      15. Partitioning hard drives 195
      16. Understanding different partition types 196
      17. Tips for creating partitions 196
      18. Using the GRUB 2 boot loader 198
      19. Summary 199
      20. Exercises 199
    3. Chapter 10: Getting and Managing Software 201
      1. Managing Software on the Desktop 201
      2. Going Beyond the Software Window 203
      3. Understanding Linux Software Packaging 204
      4. Working with Debian Packaging 205
      5. APT basics 205
      6. Working with APT repositories 209
      7. Working with dpkg 211
      8. Summary 214
      9. Exercises 214
    4. Chapter 11: Managing User Accounts 215
      1. Creating User Accounts 215
      2. Adding users with adduser 218
      3. Setting user defaults 220
      4. Modifying users with usermod 222
      5. Deleting users with deluser 223
      6. Understanding Group Accounts 223
      7. Using group accounts 224
      8. Creating group accounts 225
      9. Managing Users in the Enterprise 225
      10. Setting permissions with Access Control Lists 226
      11. Setting ACLs with setfacl 227
      12. Setting default ACLs 228
      13. Enabling ACLs 229
      14. Adding directories for users to collaborate 231
      15. Creating group collaboration directories (set GID bit) 231
      16. Creating restricted deletion directories (sticky bit) 233
      17. Centralizing User Accounts 233
      18. Summary 234
      19. Exercises 234
    5. Chapter 12: Managing Disks and Filesystems 237
      1. Understanding Disk Storage 237
      2. Partitioning Hard Disks 239
      3. Understanding partition tables 239
      4. Viewing disk partitions 240
      5. Creating a single-partition disk 241
      6. Creating a multiple-partition disk 245
      7. Using Logical Volume Manager Partitions 249
      8. Checking an existing LVM 249
      9. Creating LVM logical volumes 252
      10. Growing LVM logical volumes 254
      11. Mounting Filesystems 254
      12. Supported filesystems 255
      13. Enabling swap areas 257
      14. Disabling swap area 258
      15. Using the fstab file to define mountable filesystems 258
      16. Using the mount command to mount filesystems 261
      17. Mounting a disk image in loopback 262
      18. Using the umount command 262
      19. Using the mkfs Command to Create a Filesystem 263
      20. Managing Storage with Cockpit 264
      21. Summary 265
      22. Exercises 266
  6. Part IV: Becoming a Linux Server Administrator 267
    1. Chapter 13: Understanding Server Administration 269
      1. Getting Started with Server Administration 270
      2. Step 1: Install the server 270
      3. Step 2: Configure the server 272
      4. Using configuration files 272
      5. Checking the default configuration 272
      6. Step 3: Start the server 272
      7. Step 4: Secure the server 274
      8. Password protection 274
      9. Firewalls 274
      10. TCP Wrappers 274
      11. AppArmor 275
      12. Security settings in configuration files 275
      13. Step 5: Monitor the server 275
      14. Configure logging 275
      15. Run system activity reports 276
      16. Watch activity live with Cockpit 276
      17. Keep system software up to date 277
      18. Check the filesystem for signs of crackers 277
      19. Checking and Setting Servers 277
      20. Managing Remote Access with the Secure Shell Service 277
      21. Starting the openssh-server service 278
      22. Using SSH client tools 278
      23. Using ssh for remote login 279
      24. Using SSH for remote execution 280
      25. Copying files between systems with scp and rsync 281
      26. Interactive copying with sftp 284
      27. Using key-based (passwordless) authentication 285
      28. Configuring System Logging 286
      29. Enabling system logging with rsyslog 287
      30. Understanding the rsyslog.conf file 287
      31. Understanding log messages 289
      32. Setting up and using a loghost with rsyslogd 289
      33. Watching logs with logwatch 290
      34. Checking System Resources with sar 291
      35. Checking System Space 293
      36. Displaying system space with df 293
      37. Checking disk usage with du 294
      38. Finding disk consumption with find 294
      39. Managing Servers in the Enterprise 295
      40. Summary 296
      41. Exercises 296
    2. Chapter 14: Administering Networking 299
      1. Configuring Networking for Desktops 300
      2. Checking your network interfaces 302
      3. Checking your network from NetworkManager 302
      4. Checking your network from Cockpit 303
      5. Checking your network from the command line 304
      6. Configuring network interfaces 308
      7. Setting IP addresses manually 308
      8. Setting IP address aliases 309
      9. Setting routes 310
      10. Configuring a network proxy connection 311
      11. Configuring Networking from the Command Line 312
      12. Configure networking with nmtui 312
      13. Editing a NetworkManager TUI connection 313
      14. Understanding networking configuration files 314
      15. Other networking files 315
      16. Setting alias network interfaces 318
      17. Setting up Ethernet channel bonding 319
      18. Setting custom routes 320
      19. Configuring Networking in the Enterprise 321
      20. Configuring Linux as a router 321
      21. Configuring Linux as a DHCP server 322
      22. Configuring Linux as a DNS server 322
      23. Configuring Linux as a proxy server 323
      24. Summary 323
      25. Exercises 324
    3. Chapter 15: Starting and Stopping Services 327
      1. Understanding the Initialization Daemon (init or systemd) 328
      2. Understanding the classic init daemons 329
      3. Understanding systemd initialization 335
      4. Learning systemd basics 335
      5. Learning systemd’s backward compatibility to SysVinit 341
      6. Checking the Status of Services 343
      7. Checking services for SysVinit systems 343
      8. Stopping and Starting Services 346
      9. Stopping and starting SysVinit services 346
      10. Stopping a service with systemd 347
      11. Starting a service with systemd 348
      12. Restarting a service with systemd 348
      13. Reloading a service with systemd 349
      14. Enabling Persistent Services 350
      15. Configuring persistent services for SysVinit 350
      16. Enabling a service with systemd 351
      17. Disabling a service with systemd 352
      18. Configuring a Default Runlevel or Target Unit 353
      19. Configuring the SysVinit default runlevel 353
      20. Adding New or Customized Services 354
      21. Adding new services to SysVinit 355
      22. Step 1: Create a new or customized service script file 355
      23. Step 2: Add the service script to /etc/rc.d/init.d 356
      24. Step 3: Set appropriate permission on the script 357
      25. Step 4: Add the service to runlevel directories 357
      26. Adding new services to systemd 357
      27. Step 1: Create a new or customized service configuration unit file 358
      28. Step 2: Move the service configuration unit file 358
      29. Step 3: Add the service to the Wants directory 359
      30. Summary 360
      31. Exercises 360
    4. Chapter 16: Configuring a Print Server 363
      1. Common UNIX Printing System 363
      2. Setting Up Printers 365
      3. Adding a printer automatically 365
      4. Using web-based CUPS administration 366
      5. Allow remote printing administration 367
      6. Add a printer not automatically detected 367
      7. Using the Print Settings window 368
      8. Configuring local printers with the Print Settings window 369
      9. Configuring remote printers 372
      10. Adding a remote CUPS printer 373
      11. Adding a remote UNIX (LDP/LPR) printer 373
      12. Adding a Windows (SMB) printer 374
      13. Working with CUPS Printing 375
      14. Configuring the CUPS server (cupsd.conf) 375
      15. Starting the CUPS server 376
      16. Configuring CUPS printer options manually 377
      17. Using Printing Commands 378
      18. Printing with lp 378
      19. Listing status with lpstat -t 379
      20. Removing print jobs with cancel 379
      21. Configuring Print Servers 380
      22. Configuring a shared CUPS printer 380
      23. Configuring a shared Samba printer 381
      24. Understanding smb.conf for printing 382
      25. Setting up SMB clients 382
      26. Summary 383
      27. Exercises 383
    5. Chapter 17: Configuring a Web Server r 385
      1. Understanding the Apache Web Server 385
      2. Getting and Installing Your Apache Web Server 386
      3. Controlling Apache 389
      4. Securing Apache 389
      5. Apache file permissions and ownership 389
      6. Apache and firewalls 390
      7. Apache and AppArmor 390
      8. Understanding the Apache configuration files 393
      9. Using directives 393
      10. Understanding default settings 395
      11. Adding a virtual host to Apache 398
      12. Allowing users to publish their own web content 400
      13. Securing your web traffic with TLS 401
      14. Understanding how SSL is configured 402
      15. Generating an SSL key and self-signed certificate 403
      16. Generating a certificate signing request 405
      17. Troubleshooting Your Web Server 406
      18. Checking for configuration errors 406
      19. Access forbidden and server internal errors 408
      20. Summary 410
      21. Exercises 410
    6. Chapter 18: Configuring an FTP Server 413
      1. Understanding FTP 413
      2. Installing the vsftpd FTP Server 415
      3. Controlling the vsftpd Service 416
      4. Securing your FTP server 417
      5. Integrating Linux file permissions with vsftpd 418
      6. Configuring Your FTP Server 418
      7. Setting up user access 418
      8. Allowing uploading 419
      9. Setting up vsftpd for the Internet 420
      10. Using FTP Clients to Connect to Your Server 422
      11. Accessing an FTP server from a browser 422
      12. Accessing an FTP server with the lftp command 423
      13. Using the gFTP client 425
      14. Summary 426
      15. Exercises 426
    7. Chapter 19: Configuring a Windows File Sharing (Samba) Server r 429
      1. Understanding Samba 429
      2. Installing Samba 430
      3. Controlling Samba 431
      4. Viewing Samba processes 431
      5. Configuring Samba 435
      6. Configuring the [global] section 435
      7. Configuring the [homes] section 437
      8. Configuring the [printers] section 437
      9. Creating a Samba shared folder 438
      10. Checking the Samba share 438
      11. Accessing Samba Shares 441
      12. Accessing Samba shares in Linux 442
      13. Accessing Samba shares from a Linux file manager 442
      14. Mounting a Samba share from a Linux command line 442
      15. Accessing Samba shares in Windows 444
      16. Using Samba in the Enterprise 444
      17. Summary 444
      18. Exercises 445
    8. Chapter 20: Configuring an NFS File Server 447
      1. Installing an NFS Server 448
      2. Starting the NFS Service 449
      3. Sharing NFS Filesystems 450
      4. Configuring the /etc/exports file 450
      5. Hostnames in /etc/exports 451
      6. Access options in /etc/exports 452
      7. User mapping options in /etc/exports 453
      8. Exporting the shared filesystems 454
      9. Securing Your NFS Server 454
      10. Using NFS Filesystems 455
      11. Viewing NFS shares 456
      12. Manually mounting an NFS filesystem 456
      13. Mounting an NFS filesystem at boot time 457
      14. Mounting noauto filesystems 458
      15. Using mount options 458
      16. Using autofs to mount NFS filesystems on demand 460
      17. Automounting to the /net directory 460
      18. Automounting home directories 461
      19. Unmounting NFS Filesystems 463
      20. Summary 464
      21. Exercises 464
    9. Chapter 21: Troubleshooting Linux 467
      1. Boot-Up Troubleshooting 467
      2. Understanding startup 468
      3. Starting from the firmware (BIOS or UEFI) 469
      4. Troubleshooting BIOS setup 470
      5. Troubleshooting boot order 471
      6. GRUB 2 boot loader 471
      7. Starting the kernel 472
      8. Troubleshooting the initialization system 474
      9. Troubleshooting Software Packages 476
      10. Troubleshooting Networking 479
      11. Troubleshooting outgoing connections 479
      12. View network interfaces 480
      13. Check physical connections 480
      14. Check routes 481
      15. Check hostname resolution 482
      16. Troubleshooting incoming connections 483
      17. Check if the client can reach your system at all 483
      18. Check if the service is available to the client 484
      19. Check the service on the server 485
      20. Troubleshooting Memory 485
      21. Uncovering memory issues 486
      22. Checking for memory problems 488
      23. Dealing with memory problems 489
      24. Summary 490
      25. Exercises 490
  7. Part V: Learning Linux Security Techniques 493
    1. Chapter 22: Understanding Basic Linux Security y 495
      1. Implementing Physical Security 495
      2. Implementing disaster recovery 496
      3. Securing user accounts 496
      4. One user per user account 497
      5. Limiting access to the root user account 497
      6. Setting expiration dates on temporary accounts 497
      7. Removing unused user accounts 498
      8. Securing passwords 500
      9. Choosing good passwords 500
      10. Setting and changing passwords 501
      11. Enforcing best password practices 502
      12. Understanding the password files and password hashes 504
      13. Securing the filesystem 506
      14. Managing dangerous filesystem permissions 506
      15. Securing the password files 507
      16. Locking down the filesystem 508
      17. Managing software and services 509
      18. Updating software packages 509
      19. Keeping up with security advisories 509
      20. Advanced implementation 510
      21. Monitoring Your Systems 510
      22. Monitoring log files 510
      23. Monitoring user accounts 512
      24. Detecting counterfeit accounts and privileges 512
      25. Detecting bad account passwords 514
      26. Monitoring the filesystem 516
      27. Verifying software packages 516
      28. Scanning the filesystem 516
      29. Detecting viruses and rootkits 518
      30. Auditing and Reviewing Linux 521
      31. Conducting compliance reviews 521
      32. Conducting security reviews 522
      33. Summary 522
      34. Exercises 523
    2. Chapter 23: Understanding Advanced Linux Security y 525
      1. Implementing Linux Security with Cryptography 525
      2. Understanding hashing 526
      3. Understanding encryption/decryption 527
      4. Understanding cryptographic ciphers 527
      5. Understanding cryptographic cipher keys 527
      6. Understanding digital signatures 533
      7. Implementing Linux cryptography 535
      8. Ensuring file integrity 535
      9. Encrypting a Linux filesystem at installation 536
      10. Encrypting a Linux directory 537
      11. Encrypting a Linux file 540
      12. Encrypting Linux with miscellaneous tools 540
      13. Using Encryption from the Desktop 541
      14. Implementing Linux Security with PAM 541
      15. Understanding the PAM authentication process 542
      16. Understanding PAM contexts 543
      17. Understanding PAM control flags 544
      18. Understanding PAM modules 545
      19. Understanding PAM system event configuration files 545
      20. Administering PAM on your Linux system 546
      21. Managing PAM-aware application configuration files 546
      22. Implementing resources limits with PAM 547
      23. Implementing time restrictions with PAM 549
      24. Enforcing good passwords with PAM 550
      25. Encouraging sudo use with PAM 551
      26. Obtaining more information on PAM 551
      27. Summary 552
      28. Exercises 552
    3. Chapter 24: Enhancing Linux Security with AppArmor 553
      1. Understanding AppArmor 553
      2. Working with AppArmor 556
      3. Summary 559
      4. Exercises 560
    4. Chapter 25: Securing Linux on a Network 561
      1. Auditing Network Services 561
      2. Evaluating access to network services with nmap 563
      3. Using nmap to audit your network services’ advertisements 566
      4. Working with Firewalls 570
      5. Understanding firewalls 571
      6. Implementing firewalls 572
      7. Starting with UFW 572
      8. Understanding the iptables utility 574
      9. Using the iptables utility 576
      10. Summary 583
      11. Exercises 583
  8. Part VI: Engaging with Cloud Computing 585
    1. Chapter 26: Shifting to Clouds and Containers 587
      1. Understanding Linux Containers 588
      2. Namespaces 589
      3. Container registries 589
      4. Base images and layers 590
      5. Working with Linux Containers 590
      6. Deploying LXD containers 590
      7. Deploying Docker containers 593
      8. Using containers in the enterprise 600
      9. Summary 600
      10. Exercises 600
    2. Chapter 27: Deploying Linux to the Public Cloud 601
      1. Running Linux in the Cloud Using cloud-init 601
      2. Creating LXD Linux Images for Cloud Deployments 604
      3. Working with LXD profiles 604
      4. Working with LXD images 607
      5. Using OpenStack to deploy cloud images 608
      6. Using Amazon EC2 to Deploy Cloud Images 610
      7. Installing the AWS CLI 611
      8. Provisioning and launching an EC2 instance 613
      9. Summary 618
      10. Exercises 618
    3. Chapter 28: Automating Apps and Infrastructure with Ansible 619
      1. Understanding Ansible 620
      2. Exploring Ansible Components 621
      3. Inventories 621
      4. Playbooks 622
      5. Plays 622
      6. Tasks 622
      7. Modules 622
      8. Roles, imports, and includes 623
      9. Stepping Through an Ansible Deployment 623
      10. Prerequisites 624
      11. Setting up SSH keys to each node 624
      12. Installing Ansible 626
      13. Creating an inventory 626
      14. Authenticating to the hosts 626
      15. Creating a playbook 627
      16. Run the playbook 628
      17. Running Ad-Hoc Ansible Commands 629
      18. Trying ad-hoc commands 629
      19. Summary 631
      20. Exercises 631
    4. Chapter 29 Deploying Applications as Containers with Kubernetes 633
      1. Understanding Kubernetes 634
      2. Kubernetes masters 634
      3. Kubernetes workers 635
      4. Kubernetes applications 635
      5. Kubernetes interfaces 636
      6. Trying Kubernetes 636
      7. Getting Kubernetes up and running 637
      8. Deploying a Kubernetes application 638
      9. Getting information on the deployment’s pods 639
      10. Exposing applications with services 643
      11. Scaling up an application 644
      12. Checking the load balancer 645
      13. Scaling down an application 646
      14. Deleting a service 646
      15. Summary 647
      16. Exercises 647
  9. Appendix: Exercise Answers 649
  10. Index 701
Authors Biography

David Clinton is a Linux server administrator who has worked with IT infrastructure in academic and enterprise environments. He has taught video courses for Amazon Web Services, as well as other technologies. He is a co-author of AWS Certified Solutions Architect Study Guide: Associate (SAA-C01) Exam and AWS Certified Cloud Practitioner Study Guide: Foundational (CLF-C01) Exam.

Christopher Negus is a senior open source technical writer at Amazon Web Services. He has written dozens of books on Linux, including Red Hat Linux Bible, Linux Troubleshooting Bible and Linux Toys.

Additional information
Weight1.210 kg
Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.