IGOS Nusantara dan rsync: Perbedaan revisi

Dari IGNwiki
Langsung ke: navigasi, cari
Baris 31: Baris 31:
 
  path=/home/pc20/umum
 
  path=/home/pc20/umum
 
  hosts allow=192.168.1.5 127.0.0.1
 
  hosts allow=192.168.1.5 127.0.0.1
 +
 +
File /etc/rsyncd.motd berisi pesan atau label
 +
# echo "Ini rsync server milik pc..." > /etc/rsyncd.motd

Revisi per 7 Desember 2009 07.47

IGOS Nusantara dan rsync

  1. yum install rsync

PC10 membuat konfigurasi /etc/rsync.conf

use chroot = yes
read only = yes
pid file = /var/run/rsyncd.pid
max connections = 2
motd file = /etc/rsyncd.motd
log file = /var/log/rsync.log

[pc10]
comment=pc1 Akses Umum
path=/home/pc10/umum
hosts allow=192.168.1.5 127.0.0.1


PC20 membuat konfigurasi /etc/rsync.conf

use chroot = yes
read only = yes
pid file = /var/run/rsyncd.pid
max connections = 2
motd file = /etc/rsyncd.motd
log file = /var/log/rsync.log

[pc20]
comment=pc2 Akses Umum
path=/home/pc20/umum
hosts allow=192.168.1.5 127.0.0.1

File /etc/rsyncd.motd berisi pesan atau label

# echo "Ini rsync server milik pc..." > /etc/rsyncd.motd