Ligne 24 : |
Ligne 24 : |
| sudo apt-get update && sudo apt-get upgrade -y | | sudo apt-get update && sudo apt-get upgrade -y |
| </syntaxhighlight> | | </syntaxhighlight> |
| + | |
| + | Now we are going to upgrade the distribution, Raspbian, software. To ensure that our operating system is fully up to date. In the terminal type. |
| + | |
| + | <syntaxhighlight lang="bash"> |
| + | sudo apt-get update && sudo apt-get dist-upgrade |
| + | </syntaxhighlight> |
| + | |
| + | Once completed and the terminal is returned to you enter the next command to install the HTTPS transport package to enable access to HTTPS content over the Internet. |
| + | |
| + | <syntaxhighlight lang="bash"> |
| + | sudo apt-get install apt-transport-https -y --force-yes |
| + | </syntaxhighlight> |
| + | |
| + | Next we shall download a key that will authenticate our downloads to ensure they are safe |
| + | |
| + | <syntaxhighlight lang="bash"> |
| + | wget -O - https://dev2day.de/pms/dev2day-pms.gpg.key | sudo apt-key add - |
| + | </syntaxhighlight> |
| + | |
| + | With the key downloaded we now add a new repository to our list, this repository is provided by dev2day.de who has worked on the packages that will power our Plex install. |
| + | |
| + | In the terminal type |
| + | |
| + | <syntaxhighlight lang="bash"> |
| + | echo "deb https://dev2day.de/pms/ jessie main" | sudo tee /etc/apt/sources.list.d/pms.list |
| + | </syntaxhighlight> |
| + | |
| + | We now update our list again, to ensure that we now have the latest updates for the Plex Media Server. |
| + | |
| + | <syntaxhighlight lang="bash"> |
| + | sudo apt-get update |
| + | </syntaxhighlight> |
| + | |
| + | Lastly we install the Plex Media Server software. |
| + | |
| + | <syntaxhighlight lang="bash"> |
| + | sudo apt-get install -t jessie plexmediaserver -y |
| + | </syntaxhighlight> |
| + | |
| + | The install will only take a few minutes and once completed the Plex Media Server will automatically start as a background service on your Pi. |
| + | |
| + | At this point it is worth rebooting your Raspberry Pi 3 as proceeding without a reboot caused a bug when trying to configure the Plex server via the browser. |
| + | |
| + | To reboot in the terminal type. |
| + | |
| + | <syntaxhighlight lang="bash"> |
| + | sudo reboot |
| + | </syntaxhighlight> |
| + | |
| | | |
| {{RASP-PLEX-MEDIA-SERVER-TRAILER}} | | {{RASP-PLEX-MEDIA-SERVER-TRAILER}} |