2009年2月26日 星期四

Make Symbolic link for mirror Rsync

Symbolic link : atmail
Real Directory : atmaildata

atmail -> atmaildata

1. rename the existing directory name (main and mirror server).
mv atmail atmaildata


2. modify the rsync.sh in the main server.
vi rsync.sh
change /usr/local/atmail --> /usr/local/atmaildata


3. change own for the symbolic link (main and mirror server).
chown -h atmail:atmail atmail


沒有留言: