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