Ligne 74 : |
Ligne 74 : |
| | | |
| === Fixer l'adresse IP du Pi === | | === Fixer l'adresse IP du Pi === |
− | To ensure that we can discover our Pi on a network we will now fix the IP address of the Pi.
| + | Pour nous assurer que nous pourront facilement découvrir notre Pi sur notre réseau, nous allons fixer son adresse IP (de manière à ce que celle-ci ne change plus). |
| | | |
− | First we need to find out the IP address, in the terminal type.
| + | {{ambox|text=Ce tutoriel propose de fixer l'adresse IP de votre serveur Plex à celle déjà en cours d'utilisation. Il est également possible de sélectionner une adresse IP suffisamment haute pour ne pas entrer en conflit avec les adresses allouée par votre Box/routeur. Par exemple: 192.168.1.'''200''' }} |
| + | |
| + | {{ambox|text=Si vous avez modifié le ''hostname'' de votre Raspberry-Pi (comme suggéré), vous avez également l'opportunité d'utiliser celui-ci à la place de l'adresse IP. Si cette méthode n'est pas efficace sur votre réseau local, il sera toujours temps d'opter pour une adresse IP fixe}} |
| + | |
| + | Pour commencer, nous avons besoin de connaître l'adresse IP actuelle. |
| + | |
| + | Tapez la commande suivante dans un terminal. |
| | | |
| <syntaxhighlight lang="bash"> | | <syntaxhighlight lang="bash"> |
Ligne 82 : |
Ligne 88 : |
| </syntaxhighlight> | | </syntaxhighlight> |
| | | |
− | {{ambox|text=Prenez note de l'adresse IP}} | + | {{ambox|text=Prenez note de l'adresse IP qui s'affichera}} |
| | | |
− | Now let's fix the IP address, in the terminal type | + | Pour fixer l'adresse IP, saisissez la commande suivante Now let's fix the IP address, in the terminal type |
| | | |
| <syntaxhighlight lang="bash"> | | <syntaxhighlight lang="bash"> |
Ligne 90 : |
Ligne 96 : |
| </syntaxhighlight> | | </syntaxhighlight> |
| | | |
− | At the very end of the line we will add the IP address that we earlier wrote down. So type
| + | Nous allons ajouter l'adresse IP à la fin de la ligne de commande. Saisissez: |
| | | |
| <syntaxhighlight lang="bash"> | | <syntaxhighlight lang="bash"> |
Ligne 96 : |
Ligne 102 : |
| </syntaxhighlight> | | </syntaxhighlight> |
| | | |
− | With the IP entered press CTRL + O, then Enter to save your changes.
| + | Une fois l'adresse IP saisie pressez CTRL + O, puis entrée pour sauvegarder les modifications. |
| | | |
− | Now press CTRL + X to close the file.
| + | Pressez maintenant CTRL + X pour quitter le programme d'édition. |
| | | |
− | Now reboot your Pi to make the changes permanent.
| + | Maintenant, vous pouvez rebooter votre Pi pour rendre la modification permanente. |
| | | |
| <syntaxhighlight lang="bash"> | | <syntaxhighlight lang="bash"> |
Ligne 106 : |
Ligne 112 : |
| </syntaxhighlight> | | </syntaxhighlight> |
| | | |
− | With your Pi rebooted we shall now test that we can access the Plex server. On your laptop or desktop PC open a web browser and type your IP address followed by :32400/web so for example I typed.
| + | Avec notre Pi redémarré, nous devrions maintenant être capable de tester l'accès au serveur Plex. |
| + | |
| + | Sur un PC ou laptop, ouvrez un navigateur internet et taper l'adresse IP suivie par :32400/web comme dans l'exemple ci-dessous. |
| | | |
| <syntaxhighlight lang="bash"> | | <syntaxhighlight lang="bash"> |