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