Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Mastering Linux Administration
  • Table Of Contents Toc
Mastering Linux Administration

Mastering Linux Administration - Second Edition

By : Calcatinge, Balog
5 (6)
close
close
Mastering Linux Administration

Mastering Linux Administration

5 (6)
By: Calcatinge, Balog

Overview of this book

Harness the power of Linux in modern data center management, leveraging its unparalleled versatility for efficiently managing your workloads in on-premises and cloud environments. In this second edition, you'll find updates on the latest advancements in Linux administration including containerization, shell scripting, and hypervisors. Written by an experienced Linux trainer, this book will start you off with Linux installation on on-premises systems. As you progress, you’ll master the Linux command line, files, packages, and filesystems. You'll explore essential Linux commands and techniques to secure your Linux environment. New to this edition is a chapter on shell scripting, providing structured guidance on using shell programming for basic Linux automation. This book also delves into the world of containers, with two new chapters dedicated to Docker containers and hypervisors, including KVM virtual machines. Once adept with Linux containers, you'll learn about modern cloud technologies, managing and provisioning container workloads using Kubernetes, and automating system tasks using Ansible. Finally, you'll get to grips with deploying Linux to the cloud using AWS and Azure-specific tools. By the end of this Linux book, you'll have mastered everyday administrative tasks, seamlessly navigating workflows spanning from on-premises to the cloud.
Table of Contents (24 chapters)
close
close
1
Part 1:Basic Linux Administration
7
Part 2:Advanced Linux Administration
13
Part 3:Server Administration
17
Part 4:Cloud Administration

Working with basic KVM commands

One of the first commands that you will use when working with KVM is the one used for creating a VM. Other commands, as shown in the following sections, are the ones used to start, stop, delete, or pause an already existing VM.

Creating a VM using the command line

Before creating our first VM using libvirt, we must check and see whether our default bridge network configuration was created. We can verify this by using the following command:

sudo virsh net-list

This command shows if the default bridge configuration was created and if it is running. In our case, the bridge connection is not running, thus we will need to set it up ourselves. The command used to start the default bridge network is as follows:

sudo virsh net-start default

Once it has been started, the network bridge is not set up for automatic start, thus we will use the following command to set it for automatic start:

sudo virsh net-autostart default

Now, the output is...

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Mastering Linux Administration
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon