Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install, deploy and manage KVM Virtualization

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

Enter the storage:

Upload ISO image files to storage directory / var/lib/libvirt/images/ via remote connection software

[root@kvm ~] # ls / var/lib/libvirt/images/CentOS-8.4.2105-x86_64-dvd1.iso

Check whether the ISO image exists in the web interface

Create a system installation image

1.3.3 kvm Network Management

Add a bridged network

1.3.4 instance management instance (virtual machine) creation

Insert the virtual machine into the CD

Set the password to access the virtual machine on the web

Start the virtual machine

Open the console

Install a virtual machine

Installation completed

Malfunction

Web interface cannot be accessed, command line error (accept: Too many open files)

Configure nginx [root@kvm ~] # vim / etc/nginx/nginx.confuser nginx;worker_processes auto;error_log / var/log/nginx/error.log;pid / run/nginx.pid;worker_rlimit_nofile 655350 / / add this line [root@kvm ~] # systemctl restart nginx.service to set system parameters [root@kvm ~] # vim / etc/security/limits.conf# End of file / / add the following two lines * soft nofile 655350 * hard nofile 655350 to restart the virtual machine You can successfully visit [root@kvm ~] # reboot, "how to install, deploy and manage KVM Virtualization". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!

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.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report