PlexMedia를 구축을하여, 자신의 영화들을 등록을 하면
넷플릭스와 비슷한 자시만의 영화서비스를 이용할수 있습니다.
주로 다음과 같은 목적으로 이용이 됩니다.
- TV에 USB 연결 없이 영화 파일 재생가능
- 모바일장치를 통해 영화/음악 파일 재생가능
PelxMedia 설치
https://www.plex.tv/downloads/
Before you Begin
Familiarize yourself with our Getting Started guide and complete the steps for setting your Linode’s hostname and timezone.
Complete the sections of our Securing Your Server to create a standard user account with
sudo
privileges.Ensure that your system is up to date:
1
sudo apt-get update && sudo apt-get upgrade
Plex requires that you create an account to make use of the service, and provides additional features such as DVR capability and offline viewing if you pay for their premium Plex Pass offering. To complete this guide, you will need a Plex account.
Install Plex
Head to the Plex Downloads page and copy the installation link for Ubuntu. Use
wget
to download the installer via the copied link:1
wget https://downloads.plex.tv/plex-media-server/1.5.5.3634-995f1dead/plexmediaserver_1.5.5.3634-995f1dead_amd64.deb
This example uses the current link for Ubuntu, at the time of writing. Be sure to use the up-to-date version supplied on the Plex website.
Use
dpkg
to install the Plex server:1
sudo dpkg -i plexmediaserver*.deb
Enable Plex Media Server to start on reboot, and then start the server:
1 2
sudo systemctl enable plexmediaserver.service sudo systemctl start plexmediaserver.service
Configure Plex
This section will show you how to complete your server setup and start adding media libraries.
Initial Setup
Administration of the Plex server is performed via its web interface. Before you can connect to the web interface from your workstation, you will first need to create an SSH tunnel to your Linode. Substitute
user
with thesudo
user on your Linode, and192.0.2.1
with the IP address of the Plex server:1
ssh user@192.0.2.1 -L 8888:localhost:32400
Enter
http://localhost:8888/web
into your browser to view the Plex web interface, as shown below. Input your Plex account username and password to proceed with the setup process:Give your Plex server a name. Be sure to leave the Allow me to access my media outside my home box checked, and click Next:
Finally, you’ll create the directories that will store your Plex media. In this example we’ll create library directories for
movies
andtelevision
within aplex-media
directory. These will be located within your user’s/home
:1 2
cd ~/ mkdir -p plex-media/movies && mkdir plex-media/television
Add and Organize Media
Now that you’ve signed into Plex, you should see the following page. Click the Add Library button to start setting up your media libraries:
Select your library type, and click Next:
Navigate to the corresponding media directory that you created previously, then click Add:
You can add additional libraries by clicking the + symbol next to the Libraries list on the Plex side bar:
Add your media to the appropriate directories. Be sure to review Plex’s naming conventions for media files, to ensure that your files are identified correctly.