NFS » Historique » Version 3
  Patrice Nadeau, 2014-09-27 13:01 
  
| 1 | 1 | Patrice Nadeau | NFS  | 
|---|---|---|---|
| 2 | 2 | Patrice Nadeau | > Work in progress ..  | 
| 3 | 1 | Patrice Nadeau | |
| 4 | h1. Serveur  | 
||
| 5 | |||
| 6 | h2. Installation  | 
||
| 7 | |||
| 8 | 2 | Patrice Nadeau | Les « packages » _libdaemon_ et _avahi_ doivent être présents.  | 
| 9 | 1 | Patrice Nadeau | |
| 10 | 2 | Patrice Nadeau | <pre><code class="bash">  | 
| 11 | 1 | Patrice Nadeau | zypper install nfs-kernel-server  | 
| 12 | </code></pre>  | 
||
| 13 | |||
| 14 | h2. Démarrage  | 
||
| 15 | |||
| 16 | <pre><code class="bash">  | 
||
| 17 | systemctl enable nfsserver.service  | 
||
| 18 | systemctl start nfsserver.service  | 
||
| 19 | </code></pre>  | 
||
| 20 | |||
| 21 | h2. Pare-feu  | 
||
| 22 | 2 | Patrice Nadeau | |
| 23 | h2. Configuration  | 
||
| 24 | |||
| 25 | Le fichier _/etc/exports_ contient les noms des répertoires à rendre disponibles.  | 
||
| 26 | |||
| 27 | Les explications de configuration sont fournis par  | 
||
| 28 | <pre><code class="bash">  | 
||
| 29 | man 5 exports  | 
||
| 30 | </code></pre>  | 
||
| 31 | |||
| 32 | 3 | Patrice Nadeau | Une fois modifié, relire le fichier avec  | 
| 33 | 2 | Patrice Nadeau | <pre><code class="bash">  | 
| 34 | exportfs -a  | 
||
| 35 | </code></pre>  | 
||
| 36 | 1 | Patrice Nadeau | |
| 37 | h1. Client  | 
||
| 38 | |||
| 39 | <pre><code class="bash">  | 
||
| 40 | # Installation  | 
||
| 41 | zypper install nfs-client  | 
||
| 42 | </code></pre>  |