Home  >  Q&A  >  body text

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

伊谢尔伦伊谢尔伦2744 days ago1074

reply all(18)I'll reply

  • PHPz

    PHPz2017-04-17 13:08:05

    If the server’s hardware resources are sufficient, opening 5 virtual machines is not a problem.
    First, install Linux on the physical machine. There are many options for installing virtual machines. Virtualbox, as everyone said, is a desktop virtual machine solution. Xenserver and ESX are too heavy. It is recommended to use KVM. The Linux kernel directly supports it and the usage efficiency will be higher. .

    reply
    0
  • 黄舟

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

    You can use ProxMox VE, based on debian

    reply
    0
  • 阿神

    阿神2017-04-17 13:08:05

    kvm is a good practice

    reply
    0
  • 天蓬老师

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

    I think CoreOS is suitable for the topic. It runs 5 Docker containers at the same time. Each container can be considered as a "lite version of Linux system".

    The process running in each Docker container thinks that it monopolizes the entire system, and that is enough.

    As for sharing host resources evenly, you can run a dedicated Docker container for resource monitoring.

    If you want, you can also run Docker within Docker. I have done this.

    reply
    0
  • 天蓬老师

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

    Docker or virtual machine will work

    reply
    0
  • 巴扎黑

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

    VMware ESXi or coreos+docker

    reply
    0
  • ringa_lee

    ringa_lee2017-04-17 13:08:05

    KVM production test: https://wiki.archlinux.org/index.php/KVM_(%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87)

    reply
    0
  • 巴扎黑

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

    VM can fully meet your needs, the only problem is the loss of performance.
    The best alternative is LXD, see https://www.v2ex.com/t/271712 for details

    reply
    0
  • Cancelreply