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