Nfs

From Attie's Wiki
(Difference between revisions)
Jump to: navigation, search
m (Created page with 'Sharing folders with NFS! On the server do the following: <pre> $ nano /etc/exports </pre> and add the following line (with changes): <pre> /home/attie 192.168.0.2(rw) </pre> …')
 
m
Line 9: Line 9:
 
/home/attie  192.168.0.2(rw)
 
/home/attie  192.168.0.2(rw)
 
</pre>
 
</pre>
 
+
multiple hosts can be specified with the ip/xx notation or with a space between hosts<br>
 +
<br>
 
Then on the client do this:
 
Then on the client do this:
 
<pre>
 
<pre>

Revision as of 00:42, 11 April 2010

Sharing folders with NFS!

On the server do the following:

$ nano /etc/exports

and add the following line (with changes):

/home/attie   192.168.0.2(rw)

multiple hosts can be specified with the ip/xx notation or with a space between hosts

Then on the client do this:

$ nano /etc/fstab

add the following line (again with changes):

server:/home/attie   /home/attie/remotepc    nfs    noauto,user    0 0

and then mount the share:

$ mount /home/attie/remotepc
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox