amazon ec2 - Ubuntu 12.10 Copy Virtual Hosts From One Server to Another -


i'd copy sites-available , sites-enabled folders 1 server , move them new server without typing them out again. there fast way this? maybe copy them desktop , new server? don't know commands make work.

can use rsync?

on server1:

rsync -ap /etc/apache2/sites-available you@<ip_of_server2>:/etc/apache2/sites-available 

Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -