Modifications

Sauter à la navigation Sauter à la recherche
aucun résumé de modification
Ligne 16 : Ligne 16 :  
[[Fichier:RASP-PLEX-MEDIA-SERVER-Disque-00a.jpg]]
 
[[Fichier:RASP-PLEX-MEDIA-SERVER-Disque-00a.jpg]]
   −
{{traduction}}
+
Maintenant, nous allons créer un lien vers notre disque dur et l'associer à un répertoire dans notre Raspberry-pi.
   −
So now lets create somewhere to link our hard drive to the Raspberry Pi this will be a directory called “library”. In the terminal type
+
Nous allons donc créer un répertoire "library" (signifiant ''bibliothèque''). Tapez la commande suivante dans un terminal
    
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
Ligne 24 : Ligne 24 :  
</syntaxhighlight>
 
</syntaxhighlight>
   −
Now we shall open a text editor and add a line of code to mount the drive on boot. For our drive we used a FAT32 formatted drive. As this is the only USB drive it will be given the assignment “sda” and if the drive has one partition, where our data is stored, then it will be “1”. This gives us the location of our media which is “sda1”.
+
Maintenant, nous allons ouvrir un éditeur de texte et ajouter une ligne dans le fichier de configuration {{fname|fstab}}. Cette ligne montera (attachera) automatiquement le lecteur USB au démarrage du Raspberry Pi. Le lecteur USB sera associé au répertoire physique /mnt/library que nous venons de créer.  
    +
Nous utilisons le système de fichier FAT32 pour formater notre disque USB (FAT32 est le système de fichier par défaut sous Windows). Comme il s'agit d'un lecteur USB, le système assignera un périphique "sda" (ou sdb, etc). Comme le lecteur n'a qu'une seule partition pour stocker les données, le périphérique sera identifié avec "sda1".
 +
 +
Saisissez la ligne de commande suivante pour éditer le fichier {{fname|/etc/fstab}}
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
 
sudo nano /etc/fstab  
 
sudo nano /etc/fstab  
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
 +
vous verrez alors un contenu similaire à celui-ci
    
[[Fichier:RASP-PLEX-MEDIA-SERVER-Disque-01.jpg]]
 
[[Fichier:RASP-PLEX-MEDIA-SERVER-Disque-01.jpg]]
 +
 +
{{traduction}}
    
So now we shall mount our drive, got to the last line which starts with a “/” and make a new line under it. Enter the following and try and keep your spacing similar to those above.
 
So now we shall mount our drive, got to the last line which starts with a “/” and make a new line under it. Enter the following and try and keep your spacing similar to those above.
29 918

modifications

Menu de navigation