Technology

Rsync – source to target

Get ssh keys from source

copy ssh keys to target

edit sshd source with the default username to target

execute:

/usr/bin/rsync -azL –timeout=59 –rsh=’ssh -p 22 -l username’ /var/www/source 198.ipaddress-target:/var/www/directory-target

 

 

Advertisements
Uncategorized

Using Yii and Gii


Make Webapp : c:\xampp\php\php yiic.php webapp c:\xampp\htdocs\rental
Edit : c:\xampp\htdocs\rental\protected\config\main.php
Execute Gii : http://localhost/rental/index.php?r=gii