You are previewing Linux Mint System Administrator's Beginner's Guide.
O'Reilly logo
Linux Mint System Administrator's Beginner's Guide

Book Description

Probably the fastest route to becoming a Linux Mint system administrator, this book takes you from A–Z with clear step-by-step instructions, ranging from basic installation, to configuring networks, to troubleshooting. The perfect primer.

  • Discover Linux Mint and learn how to install it

  • Learn basic shell commands and how to deal with user accounts

  • Find out how to carry out system administrator tasks such as monitoring, backups, and network configuration

  • In Detail

    System administrators are responsible for keeping servers and workstations working properly. They perform actions to get a secure, stable, and robust operating system. In order to do that, system administrators perform actions such as monitoring, accounts maintenance, restoring backups, and software installation. All these actions and tasks are crucial to business success.

    "Linux Mint System Administrator’s Beginner’s Guide" is a practical and concise guide that offers you clear step-by-step exercises to learn good practices, commands, tools, and tips and tricks to convert users into system administrators in record time.

    You’ll learn how to perform basic operations, such as create user accounts and install software. Moving forward, we’ll find out more about important tasks executed daily by system administrators.

    Data and information are very important so you’ll learn how to create and restore backups. You will also learn about one of the most important points of an operating system: security.

    Thanks to "Linux Mint System Administrator’s Beginner’s Guide", you’ll learn all the basics you need to install and keep a robust and reliable Linux Mint operating system up to date.

    Table of Contents

    1. Linux Mint System Administration Beginner's Guide
      1. Table of Contents
      2. Linux Mint System Administration Beginner's Guide
      3. Credits
      4. About the Author
      5. About the Reviewers
      6. www.PacktPub.com
        1. Support files, eBooks, discount offers and more
          1. Why Subscribe?
          2. Free Access for Packt account holders
      7. Preface
        1. What this book covers
        2. What you need for this book
        3. Who this book is for
        4. Conventions
        5. Time for action – heading
          1. What just happened?
          2. Have a go hero – heading
        6. Reader feedback
        7. Customer support
          1. Errata
          2. Piracy
          3. Questions
      8. 1. Introduction to Linux Mint
        1. Overview
          1. A bit of history
        2. Open source project
          1. Contributing to the project
        3. Why Linux Mint is different
        4. Editions
        5. Summary
        6. References
      9. 2. Installing Linux Mint
        1. Creating a bootable Linux Mint USB flash drive
        2. Time for action – downloading and burning the ISO image
          1. What just happened?
        3. Installing Linux Mint from a flash drive
        4. Time for action – booting and installing Linux Mint
          1. What just happened?
        5. Booting Linux Mint
        6. Time for action – booting Linux Mint for the first time
          1. What just happened?
        7. Summary
      10. 3. Basic Shell
        1. What's a shell?
        2. Where are you?
        3. Time for action – learning pwd and cd commands
          1. What just happened?
          2. Have a go hero – using a shortcut for accessing your home directory
        4. Running commands
        5. Time for action – launching a program from the command line
          1. What just happened?
          2. Have a go hero – executing programs without using the full path
        6. Search commands
        7. Time for action – using the which command
          1. What just happened?
        8. Listing, examining, and finding files
        9. Time for action – using the ls, locate, find, and cat commands
          1. What just happened?
          2. Have a go hero – getting more information when listing files
        10. Pipelines and redirection
        11. Time for action – using pipelines and redirection by applying different commands
          1. What just happened?
          2. Have a go hero – appending content to a file using redirection
        12. Setting environment variables
        13. Time for action – setting the PATH environment variable
          1. What just happened?
          2. Have a go hero – learning the export command
        14. Displaying command history
        15. Time for action – using the history command
          1. What just happened?
          2. Have a go hero – checking the history of executed commands
        16. Creating your first shell script
        17. Time for action – creating and executing a shell script
          1. What just happened?
          2. Have a go hero – learning advanced shell programming
        18. How to get help
        19. Time for action – using the man and the info commands
          1. What just happened?
        20. Summary
      11. 4. Account Provisioning
        1. Who am I?
        2. Time for action – finding out the current user
          1. What just happened?
        3. Becoming the root user
        4. Time for action – using the sudo command to become the root user
          1. What just happened?
          2. Have a go hero – executing the whoami command after becoming the root user
        5. Changing password
        6. Time for action – changing the password for a user
          1. What just happened?
          2. Have a go hero – using the passwd command
        7. Adding a new user
        8. Time for action – creating a new user
          1. What just happened?
          2. Have a go hero – try to delete a user
        9. Adding a new group
        10. Time for action – creating a new group called develop
          1. What just happened?
          2. Have a go hero – try to delete a group
        11. Adding a user to a group
        12. Time for action – adding the user luke to the develop group
          1. What just happened?
        13. Changing user privileges
        14. Time for action – granting permissions to a user for monitoring system logs
          1. What just happened?
          2. Have a go hero – using command line for changing permissions
        15. Summary
      12. 5. Installing, Removing, and Upgrading Software
        1. Installing software
        2. Time for action – installing the AbiWord word processor
          1. What just happened?
          2. Have a go hero – discovering software provided by Linux Mint
        3. Removing software
        4. Time for action – removing the AbiWord program
          1. What just happened?
        5. Upgrading software
        6. Time for action – upgrading software through the Update Manager tool
          1. What just happened?
          2. Have a go hero – finding out how to change preferences in Update Manager
        7. Summary
      13. 6. Configuring Hardware
        1. Detecting hardware
        2. Time for action – how to display the device information
          1. What just happened?
          2. Have a go hero – using the dmesg, lspci, and lsusb commands
        3. Configuring your monitor
        4. Time for action – changing the screen resolution
          1. What just happened?
        5. Configuring a keyboard
        6. Time for action – adding a new layout
          1. What just happened?
        7. Configuring your mouse
        8. Time for action – changing mouse orientation
          1. What just happened?
        9. Configuring sound
        10. Time for action – how to enable window and button sound
          1. What just happened?
        11. Installing additional drivers
        12. Summary
      14. 7. Networking
        1. Configuring a wired network
        2. Time for action – configuring your connection
          1. What just happened?
          2. Have a go hero – changing the hostname
        3. Configuring the wireless network
        4. Time for action – how to connect your computer to a wireless network
          1. What just happened?
        5. Accessing a Windows-shared folder
        6. Time for action – how to access a specific shared folder
          1. What just happened?
        7. Connecting to servers
        8. Time for action – connecting to an FTP server
          1. What just happened?
          2. Have a go hero – connecting to a server using the secure WebDAV protocol
        9. Summary
      15. 8. Storage and Backup
        1. Filesystem types
        2. Disk quotas
        3. Time for action – assigning disk quota to a specific user
          1. What just happened?
          2. Have a go hero – scheduling quota checking
        4. Disk usage analysis
        5. Time for action – examining disk usage
          1. What just happened?
        6. Creating backups
        7. Time for action – making a backup of a specific folder
          1. What just happened?
          2. Have a go hero – creating and restoring a backup file
        8. Restoring backups
        9. Time for action – restoring a backup folder
          1. What just happened?
          2. Have a go hero – create backup for applications
        10. Summary
      16. 9. Security
        1. Running an SSH server
        2. Time for action – installing and configuring an SSH server
          1. What just happened?
        3. Installing anti-virus software
        4. Time for action – installing the Clam-AV anti-virus
          1. What just happened?
        5. Configuring a firewall
        6. Time for action – how to configure a simple firewall
          1. What just happened?
          2. Have a go hero – disabling firewall on startup using the command line
        7. Using a security module for the kernel
        8. Time for action – installing AppArmor
          1. What just happened?
        9. Managing your password safely
        10. Time for action – installing and using KeePass
          1. What just happened?
        11. Building a security checklist
        12. Summary
      17. 10. Monitoring Your System
        1. Processes and services
        2. Starting and stopping services
        3. Time for action – stopping and starting an SSH daemon
          1. What just happened?
          2. Have a go hero – checking current status of all services
        4. Activating services
        5. Time for action – activating Samba
          1. What just happened?
        6. Listing the running processes
        7. Time for action – list the processes running on our machine
          1. What just happened?
        8. Displaying CPU, memory, and network usage
        9. Time for action – Displaying resources information in real time
          1. What just happened?
          2. Have a go hero – getting information about filesystems usage
        10. Summary
      18. 11. Troubleshooting
        1. Hardware
        2. Time for action – checking memory, CPU, USB, and PCI devices
          1. What just happened?
        3. Checking log files
        4. Time for action – listing the last five lines of the syslog file
          1. What just happened?
        5. Kernel
        6. Time for action – using lsmod, modprobe, and dmesg commands
          1. What just happened?
        7. Networking
        8. Time for action – checking who is listening on what port
          1. What just happened?
        9. Processes and filesystems
        10. Time for action – finding a specific process
          1. What just happened?
        11. Summary
      19. Index