How does CentOS use Web console Cockpit to create and manage KVM virtual machines?
How does CentOS use Web console Cockpit to create and manage KVM virtual machines? This problem may be often seen in our daily work. Through this question, I hope you can gain more. Let's take a look at the solution with the editor today.
After installing the cockpit,Web console, it is not started by default. You can enable it by using the following command:
# systemctl enable-now cockpit.socket
The interface of Web after installation is shown in the following figure:
The role of the Cockpit console
Cockpit is a Web console with an easy-to-use Web-based interface that allows you to perform administrative tasks on the server. It allows you to access it from a mobile device. It can perform a variety of tasks, which you can see on the following web page.
By default, virtual machine modules are not included in a standard Cockpit installation. We need to install some other packages starting with the cockpit-machines package, which can be installed in two ways:
① command line installation method: # yum install cockpit-machines
② is installed through the Web console of cockpit
Open a Web browser and cockpit uses port 9090, for example:
To access the cockpit Web console example: https://: 9090
After clicking the installation, you can see the "virtual machine" option in the menu on the left, and then click "Creat VM" on the right to create a new "virtual machine" as shown in the following figure:
These are the detailed steps for CentOS to create and manage a KVM virtual machine with the Web console Cockpit. Have you learned anything after reading it? If you want to know more about it, you are welcome to follow the industry information!