NFS » Historique » Version 11
  Patrice Nadeau, 2014-09-28 09:43 
  
| 1 | 6 | Patrice Nadeau | %{font-size:18pt}NFS% | 
|---|---|---|---|
| 2 | |||
| 3 | 8 | Patrice Nadeau | |
| 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 | 1 | Patrice Nadeau | |
| 37 | 8 | Patrice Nadeau | h3. CLI(Command Line Interface)  | 
| 38 | |||
| 39 | 2 | Patrice Nadeau | Le fichier _/etc/exports_ contient les noms des répertoires à rendre disponibles.  | 
| 40 | |||
| 41 | Les explications de configuration sont fournis par  | 
||
| 42 | <pre><code class="bash">  | 
||
| 43 | man 5 exports  | 
||
| 44 | </code></pre>  | 
||
| 45 | |||
| 46 | 3 | Patrice Nadeau | Une fois modifié, relire le fichier avec  | 
| 47 | 2 | Patrice Nadeau | <pre><code class="bash">  | 
| 48 | exportfs -a  | 
||
| 49 | </code></pre>  | 
||
| 50 | 1 | Patrice Nadeau | |
| 51 | 8 | Patrice Nadeau | h3. GUI(Graphical User interface)  | 
| 52 | |||
| 53 | 11 | Patrice Nadeau | Via le module _nfs server_ de YaST (*yast nfs_server*)  | 
| 54 | 8 | Patrice Nadeau | |
| 55 | 1 | Patrice Nadeau | h1. Client  | 
| 56 | |||
| 57 | 4 | Patrice Nadeau | h2. Installation  | 
| 58 | |||
| 59 | 1 | Patrice Nadeau | <pre><code class="bash">  | 
| 60 | # Installation  | 
||
| 61 | zypper install nfs-client  | 
||
| 62 | </code></pre>  | 
||
| 63 | 4 | Patrice Nadeau | |
| 64 | 1 | Patrice Nadeau | h2. Utilisation  | 
| 65 | 8 | Patrice Nadeau | |
| 66 | h3. CLI(Command Line Interface)  | 
||
| 67 | |||
| 68 | Voir #22  | 
||
| 69 | |||
| 70 | h3. GUI(Graphical User interface)  | 
||
| 71 | 4 | Patrice Nadeau | |
| 72 | 9 | Patrice Nadeau | Via le module _NFS client_ de YaST (_yast nfs_)  |