In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
Fedora how to use Cockpit to create a virtual machine, many novices are not very clear about this, in order to help you solve this problem, the following editor will explain for you in detail, people with this need can come to learn, I hope you can gain something.
Cockpit is an active development project with many plug-ins that extend its work. For example, one of them is "Machines", which interacts with libvirtd and allows users to create and manage virtual machines.
Install softwar
The required software is libvirt, cockpit and cockpit-machines. To install them on Fedora 31, run the following command on the terminal using sudo:
$sudo dnf install libvirt cockpit cockpit-machines
Cockpit is also in the "Headless Management" package group. This software group is useful for Fedora-based servers that are accessed only over the network. Here, use the following command to install:
$sudo dnf groupinstall "Headless Management" sets up the Cockpit service
After you have installed the necessary packages, it is time to enable the service. The libvirtd service runs a virtual machine, while Cockpit has an active socket service that allows you to access Web GUI:
$sudo systemctl enable libvirtd-now$ sudo systemctl enable cockpit.socket-now
This should be sufficient to run the virtual machine and manage it through Cockpit. (optional) if you want to access and manage the computer from another device on the network, you need to open the service to the network. To do this, add a new rule to the firewall configuration:
$sudo firewall-cmd-zone=public-add-service=cockpit-permanent$ sudo firewall-cmd-reload
To confirm that the service is running and that no problems have occurred, check the status of the service:
$sudo systemctl status libvirtd$ sudo systemctl status cockpit.socket
Everything should be working properly at this time. Cockpit Web GUI should be accessible through https://localhost:9090 or https://127.0.0.1:9090. Alternatively, enter the local network IP in a Web browser on any other device connected to the same network. (if the SSL certificate is not set, you may need to allow connections from the browser. )
Create and install machines
Log in to the interface using the user name and password of the system. You can also choose whether to allow passwords to be used for administrative tasks in this session.
Select Virtual Machines, and then select Create VM to create a new virtual machine. The console provides you with several options:
Download the operating system using Cockpit's built-in library
Use the downloaded installation media on the system
Point to the URL of the system installation tree
Booting media over the network through the PXE protocol
Enter all necessary parameters. Then select "Create" to start the new virtual machine.
A graphics console appears. Most modern Web browsers allow you to interact with the VM console using the keyboard and mouse. Now you can complete the installation and use the new VM, just as you did through virt-manager in the past.
Is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.