NFS: Konfigurasi Client

From OnnoWiki
Revision as of 16:45, 19 March 2011 by Onnowpurbo (talk | contribs)
Jump to navigation Jump to search

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