Support #662
Updated by Daniel Curtis about 9 years ago
This is a guide on how to install Emby Media Server on FreeBSD 9. h2. Prepare the Environment * Make sure the system is up to date: <pre> pkg update && pkg upgrade </pre> * Install portmaster <pre> pkg install portmaster </pre> h2. Install Emby * Install ffmpeg: <pre> portmaster multimedia/ffmpeg </pre> #* *NOTE*: Make sure to enable *[X]LAME* and *[X]ASS* during the ffmpeg port configuration * Install emby from the port tree: <pre> portmaster multimedia/emby-server </pre> * Start and enable emby at boot: <pre> echo 'emby_server_enable="YES"' >> /etc/rc.conf service emby-server start </pre> * Finish the installation by completing the setup wizard at http://media.example.com:8096 http://localhost:8069 h2. Setup SSL * Generate a strong SSL key and a CSR to send for signing by a CA: <pre> cd /usr/local/etc/ssl openssl req -sha512 -out media.example.com.csr -new -newkey rsa:4096 -nodes -keyout media.example.com.key </pre> * Send the CSR off to a CA to make a signed certificate, then add the contents of the certificate to the server: <pre> vi /usr/local/etc/ssl/media.example.com.crt </pre> * Generate a pfx file for emby to use <pre> cd /usr/local/etc/ssl openssl pkcs12 -export -in media.example.com.crt -inkey media.example.com.key -out media.example.com.pfx </pre> * 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@ h2. Resources * http://emby.media/downloads/freebsd-server/ * http://emby.media/community/index.php?/topic/18029-how-to-configure-ssl-support/