Difference between revisions of "SchoolOnffLine: Instalasi NFS dan rsync"

From OnnoWiki
Jump to navigation Jump to search
(New page: Instalasi apt-get install nfs-common nfs-kernel-server rsync ==Konfigurasi vi /etc/export.contoh /home/backup *(ro,sync,subtree_check) /home/backup/public *(rw,sync,subtree_check)...)
 
 
Line 4: Line 4:
  
  
==Konfigurasi
+
==Siapkan Contoh Konfigurasi==
  
 
  vi /etc/export.contoh
 
  vi /etc/export.contoh

Latest revision as of 17:29, 17 November 2010

Instalasi

apt-get install nfs-common nfs-kernel-server rsync


Siapkan Contoh Konfigurasi

vi /etc/export.contoh
/home/backup *(ro,sync,subtree_check)
/home/backup/public *(rw,sync,subtree_check)
/home/library *(ro,sync,subtree_check)
/home/media *(ro,sync,subtree_check)
vi /etc/rsyncd.conf
pid file = /var/run/rsyncd.pid
max connections = 5
use chroot = yes
uid = nobody
gid = nogroup
[backup]
path=/folder/tempat/backup


Pranala Menarik