Home  >  Q&A  >  body text

linux - vm虚拟机的系统如何转移到真正的服务器

问题:我在虚拟机里面安装了centos系统和一系列的软件,问,我如何把我虚拟机的环境 (复制)镜像到阿里云的主机呢?

就是 想在阿里云弄个服务器,这个服务器相当于复制我虚拟机里面的系统(一模一样的)。这个要怎么实现呢?重新安装一遍的话 好麻烦啊。

天蓬老师天蓬老师2745 days ago1415

reply all(4)I'll reply

  • 伊谢尔伦

    伊谢尔伦2017-04-17 15:06:19

    I don’t know if Alibaba Cloud supports importing ovf into new virtual machines. If possible, export the ovf template from VMware.
    Another idea is to upload your own Docker image, start Docker on Alibaba Cloud and then use the image to restore it.

    reply
    0
  • ringa_lee

    ringa_lee2017-04-17 15:06:19

    docker

    reply
    0
  • 高洛峰

    高洛峰2017-04-17 15:06:19

    You can refer to this blog post I wrote about how to unzip and use portable packaging using PHP7 as an example.

    reply
    0
  • 天蓬老师

    天蓬老师2017-04-17 15:06:19

    php7’s method is too complex and cumbersome, and has low operability.
    For this kind of migration, as someone above mentioned, docker is the best choice.

    reply
    0
  • Cancelreply