Passa ai contenuti principali

Post

Visualizzazione dei post da Aprile, 2017

[HOW-TO] Migrate linux has never been so easy

Recently i had to migrate my servers from a Virtualbox instances to KVM and LXC containers. ( this guide is also valid for Desktop PC) Before that i simply move the .vdi file from a machine to another, but .vdi are not compatible with KVM/LXC formats. Moreover converting .vdi to .raw (compatible format for kvm/lxc) is not a good practice since your system will be probably broken. But, i'm an extremely lazy person...so how can i migrate a server without a long manual process of reinstalling , reconfiguring and moving file? After some researches i've found this wonderful guide:  https://lowendbox.com/blog/how-to-migrate-a-hosted-server-in-5-easy-steps-with-rsync/ I want to summarize and improve it for you (the process will take 5-10 human minutes + the variable upload time): NOTE : you must be logged as root user before execute following commands. Step1: First of all, you need to have both machines powered up. Assure that you have same linux os version on both ma