IGOS Nusantara dan rsync: Perbedaan revisi

Dari IGNwiki
Langsung ke: navigasi, cari
Baris 3: Baris 3:
 
# yum install rsync
 
# yum install rsync
  
PC1 membuat konfigurasi /etc/rsync.conf
+
PC10 membuat konfigurasi /etc/rsync.conf
  
 
  use chroot = yes
 
  use chroot = yes
Baris 12: Baris 12:
 
  log file = /var/log/rsync.log
 
  log file = /var/log/rsync.log
 
   
 
   
  [pc1]
+
  [pc10]
 
  comment=pc1 Akses Umum
 
  comment=pc1 Akses Umum
  path=/home/pc1/umum
+
  path=/home/pc10/umum
  hosts allow=192.168.1.12 127.0.0.1
+
  hosts allow=192.168.1.5 127.0.0.1
  
  
PC2 membuat konfigurasi /etc/rsync.conf
+
PC20 membuat konfigurasi /etc/rsync.conf
  
 
  use chroot = yes
 
  use chroot = yes
Baris 27: Baris 27:
 
  log file = /var/log/rsync.log
 
  log file = /var/log/rsync.log
 
   
 
   
  [pc2]
+
  [pc20]
 
  comment=pc2 Akses Umum
 
  comment=pc2 Akses Umum
  path=/home/pc2/umum
+
  path=/home/pc20/umum
  hosts allow=192.168.1.12 127.0.0.1
+
  hosts allow=192.168.1.5 127.0.0.1

Revisi per 7 Desember 2009 07.42

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