Nfs

From Attie's Wiki
(Difference between revisions)
Jump to: navigation, search
m
m
Line 1: Line 1:
 
Sharing folders with NFS!
 
Sharing folders with NFS!
  
On the server do the following:
+
<h2>Server</h2>
 
<pre>
 
<pre>
 
$ nano /etc/exports
 
$ nano /etc/exports
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>
+
multiple hosts can be specified with the ip/xx notation or with a space between hosts
<br>
+
<h2>Client</h2>
Then on the client do this:
+
 
<pre>
 
<pre>
 
$ nano /etc/fstab
 
$ nano /etc/fstab

Revision as of 00:42, 11 April 2010

Sharing folders with NFS!

Server

$ 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

Client

$ 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