Flex 대신 jellyfin 을 운용해보자 (@docker)

Posted by TheFanStory Linux/ubuntu : 2019. 11. 7. 14:49

 

 

ㅇ docker 가 아닌 직접 설치 :  https://www.ostechnix.com/how-to-setup-linux-media-server-using-jellyfin/ 

 

ㅇ jellyfin 공식 설치 안내 :  https://jellyfin.org/docs/general/administration/installing.html

 

공식 홈페이지가 대놓고 docker 부터 설명하고있으니 우리도 docker 로 설치해보자.

직접 설치는 링크 참고.

 

[ Installing Jellyfin ]

 

The Jellyfin Docker image is available on Docker Hub for multiple architectures.

  1. Get the latest image:
    docker pull jellyfin/jellyfin
  2. Create directories on the host for persistent data storage:
    mkdir /path/to/config
    mkdir /path/to/cache
  3. Start the server:
    docker run -d \
    --volume /path/to/config:/config \
    --volume /path/to/cache:/cache \
    --volume /path/to/media:/media \
    --net=host \
    jellyfin/jellyfin

여기에서 /path/to/ 는 각자 적당한 위치 ( /docker/jellyfin 등 ) 에 설정하면 된다.

/media 위치는 동영상 파일들이 위치하는 곳이다.

 

 

 

Alternatively, using docker-compose:

 

version: "3"

services:

       jellyfin: image: jellyfin/jellyfin

       network_mode: "host"

       volumes:

             - /path/to/config:/config

             - /path/to/cache:/cache

             - /path/to/media:/media

 

 

 

[ Quick Start ]

 

  1. Install Jellyfin on your system.

  2. Browse to http://<yourmachine>:8096

  3. Follow the initial setup wizard.

  4. Secure the server with a method of your choice.

    • Create an SSL certificate and add it on the Networking page.
    • Put your server behind a reverse proxy.
    • Only allow local connections and refrain from forwarding any ports.
  5. Enjoy your media.

 

 

 

[ Port Bindings ]

공유기에서 포트바인딩 할때 참고

 

Server port bindings

This document aims to provide an admin with knowledge on what ports Jellyfin binds and what purpose they serve.

 

Static ports

  • 8096/tcp is used by default for HTTP traffic. This is admin configurable.
  • 8920/tcp is used by default for HTTPS traffic. This is admin configurable.
  • 1900/udp is used for service autodiscovery. This is not admin configurable as it would break client autodiscover.

Dynamic ports

  • Completely random UDP port bind. It picks any UDP port that is unused on startup. It is used for specific LiveTV setups involving HD Homerun devices.

 

 

'Linux > ubuntu' 카테고리의 다른 글

Flex Media Server 설치 (@docker)  (0) 2019.11.07
DOCKER 소개 및 설치, 기본 명령어 소개  (0) 2019.11.07
ubuntu 시스템 정보 확인  (0) 2019.11.07