NetworkFileSystem: Unterschied zwischen den Versionen

Aus Info-Theke
Zur Navigation springen Zur Suche springen
(Die Seite wurde neu angelegt: „Kategorie:ServerApplikation = Installation = <pre>apt-get install portmap nfs-kernel-server nfs-common oder apt-get install rpcbind nfs-kernel-server nfs-com…“)
 
Zeile 12: Zeile 12:


= Konfiguration =
= Konfiguration =
<pre>echo "/media/data  192.168.2.0/24(rw,async,no_subtree_check)" >> /etc/exports
<pre>echo "/media/data  192.168.2.0/24(rw,async,no_root_squash,no_subtree_check)" >> /etc/exports
exportfs -a
exportfs -a
exportfs -r
exportfs -r

Version vom 1. Dezember 2014, 22:27 Uhr


Installation

apt-get install portmap nfs-kernel-server nfs-common
oder
apt-get install rpcbind nfs-kernel-server nfs-common

service rpcbind restart
service nfs-kernel-server restart


Konfiguration

echo "/media/data  192.168.2.0/24(rw,async,no_root_squash,no_subtree_check)" >> /etc/exports
exportfs -a
exportfs -r

Client

test -d /media/banana || mkdir /media/banana
echo "banana:/media/data  /media/banana  nfs  rsize=8192,wsize=8192,hard,intr  0 0" >>/etc/fstab