NFS » Historique » Version 7
Patrice Nadeau, 2014-09-27 13:43
| 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 | 7 | Patrice Nadeau | h1. Information |
| 10 | |||
| 11 | NFS(Network File System) est une solution d’accès de fichier sur un serveur central. |
||
| 12 | La solution est en deux partie, une serveur et l'autre client. |
||
| 13 | |||
| 14 | 1 | Patrice Nadeau | h1. Serveur |
| 15 | |||
| 16 | h2. Installation |
||
| 17 | |||
| 18 | 2 | Patrice Nadeau | Les « packages » _libdaemon_ et _avahi_ doivent être présents. |
| 19 | 1 | Patrice Nadeau | |
| 20 | 2 | Patrice Nadeau | <pre><code class="bash"> |
| 21 | 1 | Patrice Nadeau | zypper install nfs-kernel-server |
| 22 | </code></pre> |
||
| 23 | |||
| 24 | h2. Démarrage |
||
| 25 | |||
| 26 | <pre><code class="bash"> |
||
| 27 | systemctl enable nfsserver.service |
||
| 28 | systemctl start nfsserver.service |
||
| 29 | </code></pre> |
||
| 30 | |||
| 31 | h2. Pare-feu |
||
| 32 | 2 | Patrice Nadeau | |
| 33 | 4 | Patrice Nadeau | Via _yast firewall_ |
| 34 | |||
| 35 | 2 | Patrice Nadeau | h2. Configuration |
| 36 | |||
| 37 | Le fichier _/etc/exports_ contient les noms des répertoires à rendre disponibles. |
||
| 38 | |||
| 39 | Les explications de configuration sont fournis par |
||
| 40 | <pre><code class="bash"> |
||
| 41 | man 5 exports |
||
| 42 | </code></pre> |
||
| 43 | |||
| 44 | 3 | Patrice Nadeau | Une fois modifié, relire le fichier avec |
| 45 | 2 | Patrice Nadeau | <pre><code class="bash"> |
| 46 | exportfs -a |
||
| 47 | </code></pre> |
||
| 48 | 1 | Patrice Nadeau | |
| 49 | h1. Client |
||
| 50 | |||
| 51 | 4 | Patrice Nadeau | h2. Installation |
| 52 | |||
| 53 | 1 | Patrice Nadeau | <pre><code class="bash"> |
| 54 | # Installation |
||
| 55 | zypper install nfs-client |
||
| 56 | </code></pre> |
||
| 57 | 4 | Patrice Nadeau | |
| 58 | h2. Utilisation |
||
| 59 | |||
| 60 | Via le module _NFS client_ de YaST |