Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Ubuntu 20.04 Essentials

You're reading from   Ubuntu 20.04 Essentials A guide to Ubuntu 20.04 desktop and server editions

Arrow left icon
Product type Paperback
Published in Aug 2020
Publisher Packt
ISBN-13 9781800568525
Length 328 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Neil Smyth Neil Smyth
Author Profile Icon Neil Smyth
Neil Smyth
Arrow right icon
View More author details
Toc

Table of Contents (38) Chapters Close

1. Introduction 2. A Brief History of Linux FREE CHAPTER 3. Installing Ubuntu on a Clean Disk Drive 4. Installing Ubuntu with the Network Installer 5. Dual Booting Ubuntu with Windows 6. Allocating Windows Disk Partitions to Ubuntu 7. A Guided Tour of the GNOME 3 Desktop 8. An Overview of the Ubuntu Cockpit Web Interface 9. Using the Bash Shell on Ubuntu 10. Managing Ubuntu Users and Groups 11. Managing Ubuntu systemd Units 12. Ubuntu Software Package Management and Updates 13. Ubuntu Snap Package Management 14. Ubuntu Network Management 15. Ubuntu Firewall Basics 16. Using gufw and ufw to Configure an Ubuntu Firewall 17. Basic Ubuntu Firewall Configuration with firewalld 18. Configuring SSH Key-based Authentication on Ubuntu 19. Ubuntu Remote Desktop Access with Vino 20. Ubuntu Remote Desktop Access with VNC 21. Displaying Ubuntu Applications Remotely (X11 Forwarding) 22. Using NFS to Share Ubuntu Files with Remote Systems 23. Sharing Files between Ubuntu and Windows Systems with Samba 24. An Overview of Virtualization Techniques 25. Installing KVM Virtualization on Ubuntu 26. Creating KVM Virtual Machines using Cockpit and virt-manager 27. Creating KVM Virtual Machines with virt-install and virsh 28. Creating an Ubuntu KVM Networked Bridge Interface 29. Managing KVM using the virsh Command-Line Tool 30. An Introduction to Linux Containers 31. Working with Containers on Ubuntu 32. Setting Up an Ubuntu Web Server 33. Configuring an Ubuntu Postfix Email Server 34. Adding a New Disk Drive to an Ubuntu System 35. Adding a New Disk to an Ubuntu Volume Group and Logical Volume 36. Adding and Managing Ubuntu Swap Space 37. Ubuntu System and Process Monitoring Index

27. Creating KVM Virtual Machines with virt-install and virsh

In the previous chapter we explored the creation of KVM guest operating systems on an Ubuntu host using Cockpit and the virt-manager graphical tool. In this chapter we will turn our attention to the creation of KVM-based virtual machines using the virt-install and virsh command-line tools. These tools provide all the capabilities of the virt-manager and Cockpit options with the added advantage that they can be used within scripts to automate virtual machine creation. In addition, the virsh command allows virtual machines to be created based on a specification contained within a configuration file.

The virt-install tool is supplied to allow new virtual machines to be created by providing a list of command-line options. This chapter assumes that the necessary KVM tools are installed. For details on these requirements read the chapter entitled “Installing KVM Virtualization on Ubuntu”.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime