Difference between revisions of "Cluster der kan alt/NFS Server"
From Teknologisk videncenter
m (→NFS server) |
m (→NFS server) |
||
Line 17: | Line 17: | ||
<source lang=cli> | <source lang=cli> | ||
service nfs-kernel-server restart | service nfs-kernel-server restart | ||
+ | </source> | ||
+ | ===NFS Clienter=== | ||
+ | Installer NFS clienten | ||
+ | <souce lang=cli> | ||
+ | apt-get install nfs-common | ||
+ | </source> | ||
+ | Mount folderen på klienten | ||
+ | <source lang=cli> | ||
+ | mount 10.0.0.1:/home/ /home/ | ||
</source> | </source> | ||
{{Source cli}} | {{Source cli}} | ||
[[Category:Cluster]][[Category:Ubuntu]] | [[Category:Cluster]][[Category:Ubuntu]] |
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 <souce lang=cli> apt-get install nfs-common </source> Mount folderen på klienten
mount 10.0.0.1:/home/ /home/