Network File System v.3: Difference between revisions

From ICO wiki
Jump to navigationJump to search
Ajoonsaa (talk | contribs)
No edit summary
Ajoonsaa (talk | contribs)
No edit summary
Line 23: Line 23:
=NFS serveri seadistamine=
=NFS serveri seadistamine=


Ava nanoga fail
Luua jagatavate failide jaoks kataloog
 
<pre>
mkdir /var/nfs
</pre>
 
Ava nanoga fail /etc/exports
<pre>  
<pre>  
nano /etc/exports
nano /etc/exports
</pre>
</pre>


Lisada sinna rida
Lisada faili lõppu rida
 
/var/nfs            192.168.1.0/24(rw,no_root_squash)

Revision as of 12:31, 10 November 2009

Network File System 3

Tekst

Töö käik

Logime ennast root kasutajaks:

sudo -i

Enne installerimist tasub uuendada tarkvara nimekirja:

apt-get update

NFS serveri installeerimine

Installeerimine apt abil:

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

NFS serveri seadistamine

Luua jagatavate failide jaoks kataloog

mkdir /var/nfs

Ava nanoga fail /etc/exports

 
nano /etc/exports

Lisada faili lõppu rida

/var/nfs 192.168.1.0/24(rw,no_root_squash)