Difference between revisions of "Cluster der kan alt/NFS Server"

From Teknologisk videncenter
Jump to: navigation, search
m (NFS server)
m (NFS Clienter)
Line 20: Line 20:
 
===NFS Clienter===
 
===NFS Clienter===
 
Installer NFS clienten
 
Installer NFS clienten
<souce lang=cli>
+
<source lang=cli>
 
apt-get install nfs-common
 
apt-get install nfs-common
 
</source>
 
</source>

Revision as of 07:32, 8 November 2012

NFS server

Editer /etc/exports tilføj disse 2 linier i bunden

/home/      10.0.0.0/24(rw,no_root_squash,no_subtree_check,async)
/script/    10.0.0.0/24(rw,no_root_squash,no_subtree_check,async)

Exporter de nye shares:

exportfs

Det burde ikke være nødvendig, men kan genstart NFS serveren med

service nfs-kernel-server restart

NFS Clienter

Installer NFS clienten

apt-get install nfs-common

Mount folderen på klienten

mount 10.0.0.1:/home/ /home/