Difference between revisions of "NFS: Konfigurasi Client"

From OnnoWiki
Jump to navigation Jump to search
Line 11: Line 11:
 
==contoh yang agak rumit==
 
==contoh yang agak rumit==
  
Asumsi Server NFS 192.168.0.1
+
* Asumsi Server NFS 192.168.0.1
Nama Folder  /album /iso /media /library /backup /repository /public
+
* Nama Folder  /album /iso /media /library /backup /repository /public
  
  

Revision as of 16:47, 19 March 2011

Install paket

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

Cara mount

mount ip-address-server:/folder/share /folder/lokal
mount -t nfs ip-address-server:/folder/share /folder/lokal
mount.nfs ip-address-server:/folder/share /folder/lokal

contoh yang agak rumit

  • Asumsi Server NFS 192.168.0.1
  • Nama Folder /album /iso /media /library /backup /repository /public


mkdir /mnt/album
mkdir /mnt/iso
mkdir /mnt/media
mkdir /mnt/library
mkdir /mnt/backup
mkdir /mnt/repository
mkdir /mnt/public
mount -t nfs 192.168.0.1:/nfs/album /mnt/album
mount -t nfs 192.168.0.1:/nfs/iso /mnt/iso
mount -t nfs 192.168.0.1:/nfs/media /mnt/media
mount -t nfs 192.168.0.1:/nfs/library /mnt/library
mount -t nfs 192.168.0.1:/nfs/backup /mnt/backup
mount -t nfs 192.168.0.1:/nfs/repository /mnt/repository
mount -t nfs 192.168.0.1:/nfs/Public /mnt/public

Pranala Menarik