全文検索:
- 2024.10.04 lsyncd
- === 2.両サーバへ鍵でSSH可能に ==== <code|Aサーバ> ssh-copy-id root@192.168.10.12 </code> <code|Bサーバ> ssh-copy-id root@192.168.10.11 </code> ==== 3.lsyncd.conf.lua ==== ... ncssh, source = "/var/www/html/", host = "root@192.168.10.12", targetdir = "/var/www/html/",... ncssh, source = "/var/www/html/", host = "root@192.168.10.11", targetdir = "/var/www/html/",