Difference between revisions of "Debian NFS server"

From NAS-Central Buffalo - The Linkstation Wiki
Jump to: navigation, search
m
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 +
{{Template:Articles|Kurobox}}
 
== Install an NFS server ==  
 
== Install an NFS server ==  
 
 
 
Installing an NFS server is as simple as  
 
Installing an NFS server is as simple as  
  # apt-get install nfs-user-server
+
  # apt-get install nfs-user-server
 +
 
 +
OR
 +
  # apt-get install nfs-kernel-server
 +
 
 +
Next you have to make sure that your share is being exported and available to other machine. This can be done by change the /etc/exports file. This should look something like:
 +
 
 +
# /etc/exports: the access control list for filesystems which may be exported
 +
#              to NFS clients.  See exports(5).
 +
/mnt/share 192.168.1.0/255.255.255.0(rw)
 +
 
 +
You furthermore have to make sure that your /etc/hosts.allow and /etc/hosts.deny allow access to the kuro-box from your client machine.
 +
More information can be found in the [http://nfs.sourceforge.net/ Linux NFS FAQ]
 
 
 
 
+
NOTE: There have been reports that the 'userland' server does not serve files bigger then 2GB (http://www.kurobox.com/forums/viewtopic.php?t=894)
-----
+
 
Note that there is also a kernel based NFS server (nfs-kernel-server). I could however not get it running, YMMV
+
[[Category:Debian]]

Latest revision as of 00:02, 13 July 2007

Install an NFS server

Installing an NFS server is as simple as

# apt-get install nfs-user-server 	

OR

 # apt-get install nfs-kernel-server

Next you have to make sure that your share is being exported and available to other machine. This can be done by change the /etc/exports file. This should look something like:

# /etc/exports: the access control list for filesystems which may be exported
#               to NFS clients.  See exports(5).
/mnt/share 192.168.1.0/255.255.255.0(rw)

You furthermore have to make sure that your /etc/hosts.allow and /etc/hosts.deny allow access to the kuro-box from your client machine. More information can be found in the Linux NFS FAQ

NOTE: There have been reports that the 'userland' server does not serve files bigger then 2GB (http://www.kurobox.com/forums/viewtopic.php?t=894)