Thursday, January 27, 2022

How To Install Jellyfin Media Server With Apache On Ubuntu 20.04 LTS

in This Tutorial you will learn "How To Install Jellyfin Media Server With Apache Web Server On Ubuntu 20.04 LTS"
Jellyfin is an open source fork of Emby Media Server that allows you to organize and stream your movies, shows, music, and photos.
Apache is the most widely used web server software.
_________________________________________________________________________________________
Server - Os:  Ubuntu 20.04.3 LTS 64Bit        | IP -192.168.1.80            |Hostname -  ubuntu.example.com
_________________________________________________________________________________________
lsb_release -d ; hostname -I ; hostname
echo "deb [arch=$( dpkg --print-architecture )] https://repo.jellyfin.org/ubuntu focal main" | sudo tee /etc/apt/sources.list.d/jellyfin.list
wget -O - https://repo.jellyfin.org/jellyfin_team.gpg.key | sudo apt-key add -
apt update ; apt install apt-transport-https ca-certificates jellyfin apache2 -y
systemctl start jellyfin ; systemctl status jellyfin

a2enmod proxy proxy_http headers proxy_wstunnel
nano /etc/apache2/sites-available/jellyfin.conf
<VirtualHost *:80>
   ServerName ubuntu.example.com
   ErrorDocument 404 /404.html
   DocumentRoot /var/www
   ProxyPass / http://127.0.0.1:8096/
   ProxyPassReverse / http://127.0.0.1:8096/
   Header always unset X-Frame-Options
</VirtualHost>

a2dissite 000-default.conf ; a2ensite jellyfin.conf
apache2ctl configtest
systemctl daemon-reload ; systemctl reload apache2 ; systemctl enable apache2
echo "192.168.1.80 ubuntu.example.com"  >> /etc/hosts
Library Path - mkdir -p /jellyfin-library/Movies
ubuntu.example.com
__________________________________________________________________________________________

No comments:

Post a Comment