PlexMedia를 구축을하여, 자신의 영화들을 등록을 하면

넷플릭스와 비슷한 자시만의 영화서비스를 이용할수 있습니다.

주로 다음과 같은 목적으로 이용이 됩니다.

  • TV에 USB 연결 없이 영화 파일 재생가능
  • 모바일장치를 통해 영화/음악 파일 재생가능




PelxMedia 설치

https://www.plex.tv/downloads/

Before you Begin

  1. Familiarize yourself with our Getting Started guide and complete the steps for setting your Linode’s hostname and timezone.

  2. Complete the sections of our Securing Your Server to create a standard user account with sudo privileges.

  3. Ensure that your system is up to date:

    1
    sudo apt-get update && sudo apt-get upgrade
    
  4. 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

  1. 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.

  2. Use dpkg to install the Plex server:

    1
    sudo dpkg -i plexmediaserver*.deb
    
  3. 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

  1. 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 the sudo user on your Linode, and 192.0.2.1 with the IP address of the Plex server:

    1
    ssh user@192.0.2.1 -L 8888:localhost:32400
    
  2. 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:

    Plex web interface.

  3. 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:

    Plex web interface - Server Name.

  4. Finally, you’ll create the directories that will store your Plex media. In this example we’ll create library directories for movies and television within a plex-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

  1. 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:

    Plex web interface - Add Library

  2. Select your library type, and click Next:

    Plex web interface - Library type

  3. Navigate to the corresponding media directory that you created previously, then click Add:

    Plex web interface - Library location

  4. You can add additional libraries by clicking the + symbol next to the Libraries list on the Plex side bar:

    Plex web interface - additional Library

  5. 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.



라이브러리 추가



  • No labels