Category: Ubuntu

  • Creating Ubuntu 22.04 KVM Virtual Machines with virt-install and virsh

    In the previous chapters, we explored the creation of KVM guest operating systems on an Ubuntu host using Cockpit and the virt-manager graphical tool. This chapter will focus on creating 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…

  • Creating Ubuntu 22.04 KVM Virtual Machines using Cockpit and virt-manager

    KVM-based virtual machines can easily be configured on Ubuntu using the virt-install command-line tool, the virt-manager GUI tool, or the Virtual Machines module of the Cockpit web console. This chapter will use Cockpit to install an operating system as a KVM guest on an Ubuntu host. The chapter titled Creating Ubuntu 22.04 KVM Virtual Machines…

  • Installing KVM Virtualization on Ubuntu 22.04

    Earlier versions of Ubuntu provided two virtualization platforms: Kernel-based Virtual Machine (KVM) and Xen. In recent releases, support for Xen has been removed, leaving KVM as the only bundled virtualization option supplied with Ubuntu. In addition to KVM, third-party solutions are available in products such as VMware and Oracle VirtualBox. Since KVM is supplied with…

  • An Overview of Ubuntu 22.04 Virtualization Techniques

    Virtualization is generically defined as the ability to run multiple operating systems simultaneously on a single computer system. While not necessarily a new concept, Virtualization has come to prominence in recent years because it provides a way to fully utilize the CPU and resource capacity of a server system while providing stability (in that if…

  • Sharing Files between Ubuntu 22.04 and Windows Systems with Samba

    Although Linux has made some inroads into the desktop market, its origins and future are very much server based. It is unsurprising, therefore, that Ubuntu can act as a file server. It is also common for Ubuntu and Windows systems to be used side by side in networked environments. Therefore, it is a common requirement…

  • Using NFS to Share Ubuntu 22.04 Files with Remote Systems

    Ubuntu provides two mechanisms for sharing files and folders with other systems on a network. One approach is to use technology called Samba. Samba is based on Microsoft Windows Folder Sharing and allows Linux systems to make folders accessible to Windows systems, and also to access Windows based folder shares from Linux. This approach can…

  • Displaying Ubuntu 22.04 Applications Remotely (X11 Forwarding)

    In the previous chapter, we looked at how to display the entire Ubuntu desktop on a remote computer. While this works well if you need to display the entire desktop remotely, it could be considered overkill if you only want to display a single application. Therefore, this chapter will look at displaying individual applications on…

  • Ubuntu 22.04 Remote Desktop Access with VNC

    The chapter entitled “Ubuntu Remote Desktop Access with Vino” explored remote access to the Ubuntu GNOME desktop using the Vino server, an approach that is intended solely for situations where the remote system is already running a GNOME desktop session. In this chapter we will cover launching and accessing GNOME desktop sessions that run in…

  • Ubuntu 22.04 Remote Desktop Access with Vino

    Ubuntu can be configured to provide remote access to the graphical desktop environment over a network or internet connection. Although not enabled by default, it is relatively straightforward to display and access an Ubuntu desktop from a system anywhere else on a network or the internet. This can be achieved regardless of whether that system…

  • Configuring SSH Key-based Authentication on Ubuntu 22.04

    When an Ubuntu system is first installed, it is not configured by default to allow remote command-line access via Secure Shell (SSH) connections. When installed, SSH provides password-protected and encrypted access to the system for the root account and any other users added during the installation phase. This level of security is far from adequate…