Home  >  Q&A  >  body text

centos - 一台服务器,如何装多个Linux系统?

伊谢尔伦伊谢尔伦2744 days ago1069

reply all(18)I'll reply

  • 黄舟

    黄舟2017-04-17 13:08:05

    docker!

    reply
    0
  • 黄舟

    黄舟2017-04-17 13:08:05

    Are you talking about docker?

    reply
    0
  • 伊谢尔伦

    伊谢尔伦2017-04-17 13:08:05

    You can refer to VMware ESXi

    reply
    0
  • 天蓬老师

    天蓬老师2017-04-17 13:08:05

    I have also considered the issue you mentioned, but since I don’t have the resources at hand and haven’t practiced it, I can only talk about it briefly, and I can’t guarantee its accuracy.
    According to what you mean, vmware's vSphere may meet your requirements. But it seems that more than 1 server is needed. See picture
    In addition to vmware products, there is also the open source software Xen. The advantage of Xen over vm workstation is that Xen is very resource-saving. In other words, if you are running 5 vm workstations now, it is very laggy. Maybe it will be smoother after switching to Xen. The following is from Baidu Encyclopedia:

    Xen achieves high performance through a technology called paravirtualization (less performance loss, about 2% in typical cases, 8% in the worst case;
    Compared with others that use full virtualization, the penalty is up to 20%
    In contrast to other solutions that are attrition), Xen also performs extremely well even on some architectures (x86) that are extremely unfriendly to traditional virtualization technology

    reply
    0
  • ringa_lee

    ringa_lee2017-04-17 13:08:05

    Vagrant can be used to create vm, and the memory and CPU of each vm can be defined through Vagrantfile.
    However, the VM must always run on a physical machine. If the physical machine hangs up, other VMs will definitely hang up as well.

    reply
    0
  • PHP中文网

    PHP中文网2017-04-17 13:08:05

    Obviously, what lz needs is a virtual machine, and this virtual machine runs on Linux, so that resources will not be occupied by windows.
    Here is the list of virtual machines. If you want to be quick and convenient, first install a Linux on the server, and then install an openVZ virtual machine based on this Linux, so that you can use openvz to start multiple virtual machines at the same time. And openVZ can set the memory and CPU occupied by each virtual system

    reply
    0
  • 大家讲道理

    大家讲道理2017-04-17 13:08:05

    XenServer works great

    reply
    0
  • 巴扎黑

    巴扎黑2017-04-17 13:08:05

    There is also a joke, how is the poster’s computer defined? Haha, it’s not related to the topic, don’t blame me

    reply
    0
  • 迷茫

    迷茫2017-04-17 13:08:05

    Still not clear about your needs, do you want 5 Linux to coexist on the server or do you want to run 5 Linux at the same time?

    For multiple systems, you can install 5 Linuxes to coexist based on your hardware, but it is best to plan and partition them separately, so that only one system can be started at a time, but the system that is started can enjoy the entire CPU , and memory resources, even if one dies, it will not affect the others.

    For running 5 Linux at the same time, currently I only know how to install them in virtual machines (vbox, vm) and let them run at the same time, but this still requires the host to provide CPU and memory resources. The distribution also said that you can make 5 of them with the same specifications to "equally share" the resources

    reply
    0
  • PHP中文网

    PHP中文网2017-04-17 13:08:05

    http://blog.csdn.net/p2227/article/details/7233032

    reply
    0
  • Cancelreply