NFS » Historique » Version 4
Patrice Nadeau, 2014-09-27 13:33
| 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 | 4 | Patrice Nadeau | Via _yast firewall_ |
| 24 | |||
| 25 | 2 | Patrice Nadeau | h2. Configuration |
| 26 | |||
| 27 | Le fichier _/etc/exports_ contient les noms des répertoires à rendre disponibles. |
||
| 28 | |||
| 29 | Les explications de configuration sont fournis par |
||
| 30 | <pre><code class="bash"> |
||
| 31 | man 5 exports |
||
| 32 | </code></pre> |
||
| 33 | |||
| 34 | 3 | Patrice Nadeau | Une fois modifié, relire le fichier avec |
| 35 | 2 | Patrice Nadeau | <pre><code class="bash"> |
| 36 | exportfs -a |
||
| 37 | </code></pre> |
||
| 38 | 1 | Patrice Nadeau | |
| 39 | h1. Client |
||
| 40 | |||
| 41 | 4 | Patrice Nadeau | h2. Installation |
| 42 | |||
| 43 | 1 | Patrice Nadeau | <pre><code class="bash"> |
| 44 | # Installation |
||
| 45 | zypper install nfs-client |
||
| 46 | </code></pre> |
||
| 47 | 4 | Patrice Nadeau | |
| 48 | h2. Utilisation |
||
| 49 | |||
| 50 | Via le module _NFS client_ de YaST |