Project

General

Profile

Support #685

Updated by Daniel Curtis over 8 years ago

This is a guide on how to install Emby Media Server on Arch Linux. 

 h2. Prepare the Environment 

 * Make sure the system is up to date: 
 <pre> 
 sudo pacman -Syu 
 </pre> 


 * Install the base-devel and wget packages: 
 <pre> 
 sudo pacman -S base-devel wget rsync 
 </pre> 

 * Download the packages for yaourt: 
 <pre> 
 cd /tmp 
 wget https://aur.archlinux.org/cgit/aur.git/snapshot/package-query.tar.gz && wget https://aur.archlinux.org/cgit/aur.git/snapshot/yaourt.tar.gz 
 tar xzf package-query.tar.gz 
 tar xzf yaourt.tar.gz 
 </pre> 
 #* Install "yaourt":https://project.altservice.com/issues/509 package-query: 
 <pre> 
 cd package-query 
 makepkg -csi 
 </pre> 
 #* Install yaourt 
 <pre> 
 cd ../yaourt 
 makepkg -csi 
 </pre> 

 h2. Install Emby 

 * Install emby: 
 <pre> 
 yaourt emby-server 
 </pre> 

 * Start and enable emby at boot: 
 <pre> 
 sudo systemctl enable emby-server 
 sudo systemctl start emby-server 
 </pre> 

 * Finish the installation by completing the setup wizard at http://emby.example.com:8096 

 h2. Setup SSL 

 * Generate a strong SSL key and a CSR to send for signing by a CA: 
 <pre> 
 cd /etc/ssl 
 openssl req -sha512 -out media.example.com.csr -new -newkey rsa:4096 -nodes -keyout emby.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/emby.example.com.crt 
 </pre> 

 * Generate a pfx file for emby to use 
 <pre> 
 cd /etc/ssl 
 openssl pkcs12 -export -in emby.example.com.crt -inkey emby.example.com.key -out emby.example.com.pfx 
 </pre> 

 * Next log into http://emby.example.com:8096 and go to +Setting -> Advanced -> Hosting+ and set the *Custom certificate path* to @/etc/ssl/media.example.com.pfx@ 

 h2. Resources 

 * https://emby.media/downloads/linux-server/ 
 * http://dominicm.com/install-emby-server-on-arch-linux/ 
 * http://emby.media/community/index.php?/topic/18029-how-to-configure-ssl-support/

Back