IGOS Nusantara dan rsync: Perbedaan revisi

Dari IGNwiki
Langsung ke: navigasi, cari
Baris 1: Baris 1:
 
== IGOS Nusantara dan rsync ==
 
== IGOS Nusantara dan rsync ==
  
# yum install rsync
+
=== Install rsync ===
 +
yum install rsync
  
 +
=== Buat konfigurasi di PC10 dan PC20 ===
 
PC10 membuat konfigurasi /etc/rsync.conf
 
PC10 membuat konfigurasi /etc/rsync.conf
  
Baris 32: Baris 34:
 
  hosts allow=192.168.1.5 127.0.0.1
 
  hosts allow=192.168.1.5 127.0.0.1
  
 +
=== Buat /ect/rsyncd.motd ===
 
File /etc/rsyncd.motd berisi pesan atau label
 
File /etc/rsyncd.motd berisi pesan atau label
 
  # echo "Ini rsync server milik pc..." > /etc/rsyncd.motd
 
  # echo "Ini rsync server milik pc..." > /etc/rsyncd.motd

Revisi per 7 Desember 2009 07.48

IGOS Nusantara dan rsync

Install rsync

yum install rsync

Buat konfigurasi di PC10 dan PC20

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

Buat /ect/rsyncd.motd

File /etc/rsyncd.motd berisi pesan atau label

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