Project

General

Profile

Support #662

Install Emby Media Server on FreeBSD

Added by Daniel Curtis about 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Multimedia Server
Target version:
Start date:
09/27/2015
Due date:
% Done:

100%

Estimated time:
2.00 h
Spent time:

Description

This is a guide on how to install Emby Media Server on FreeBSD 9.

Prepare the Environment

  • Make sure the system is up to date:
    pkg update && pkg upgrade
    
  • Install a few dependencies
    pkg install portmaster
    

Install Emby

  • Install ffmpeg:
    portmaster multimedia/ffmpeg
    
    • NOTE: Make sure to enable [X]LAME and [X]ASS during the ffmpeg port configuration
  • Install emby:
    pkg install emby-server
    
  • Start and enable emby at boot:
    echo 'emby_server_enable="YES"' >> /etc/rc.conf
    service emby-server start
    

Setup SSL

  • Generate a strong SSL key and a CSR to send for signing by a CA:
    cd /usr/local/etc/ssl
    openssl req -sha512 -out media.example.com.csr -new -newkey rsa:4096 -nodes -keyout media.example.com.key
    
  • Send the CSR off to a CA to make a signed certificate, then add the contents of the certificate to the server:
    vi /usr/local/etc/ssl/media.example.com.crt
    
  • Generate a pfx file for emby to use
    cd /usr/local/etc/ssl
    openssl pkcs12 -export -in media.example.com.crt -inkey media.example.com.key -out media.example.com.pfx
    
  • Next log into http://media.example.com:8096 and go to Setting -> Advanced -> Hosting and set the Custom certificate path to /usr/local/etc/ssl/media.example.com.pfx

Resources

History

#1 Updated by Daniel Curtis about 5 years ago

  • Description updated (diff)
  • Status changed from New to In Progress
  • % Done changed from 0 to 50

#2 Updated by Daniel Curtis about 5 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 50 to 100

#3 Updated by Daniel Curtis almost 5 years ago

  • Description updated (diff)

#4 Updated by Daniel Curtis almost 5 years ago

  • Description updated (diff)

#5 Updated by Daniel Curtis almost 5 years ago

  • Status changed from Resolved to Closed

#6 Updated by Daniel Curtis over 4 years ago

  • Description updated (diff)

Also available in: Atom PDF