<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Jellyfin Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/jellyfin/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Sat, 06 Mar 2021 22:42:55 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.13</generator>
	<item>
		<title>Deploy your own multimedia center by installing Jellyfin on Ubuntu 20.04</title>
		<link>https://www.osradar.com/deploy-multimedia-center-jellyfin-ubuntu-20-04/</link>
					<comments>https://www.osradar.com/deploy-multimedia-center-jellyfin-ubuntu-20-04/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Tue, 09 Mar 2021 00:41:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[focal]]></category>
		<category><![CDATA[Focal Fossa]]></category>
		<category><![CDATA[Jellyfin]]></category>
		<category><![CDATA[Media]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=28965</guid>

					<description><![CDATA[<p>Hello friends. In this post, I will explain to you how to deploy your own media center in the cloud by installing Jellyfin on Ubuntu 20.04. Introducing to Jellyfin Jellyfin is the volunteer-built media solution that puts you in control of your media. Stream to any device from your own server, with no strings attached. [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/deploy-multimedia-center-jellyfin-ubuntu-20-04/">Deploy your own multimedia center by installing Jellyfin on Ubuntu 20.04</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Hello friends. In this post, I will explain to you how to deploy your own media center in the cloud by installing Jellyfin on Ubuntu 20.04.</p>



<h2 id="introducing-to-jellyfin"><a href="#introducing-to-jellyfin" name="introducing-to-jellyfin"></a>Introducing to Jellyfin</h2>



<blockquote class="wp-block-quote"><p><a href="https://jellyfin.org/" target="_blank" rel="noreferrer noopener">Jellyfin</a> is the volunteer-built media solution that puts you in control of your media. Stream to any device from your own server, with no strings attached. Your media, your server, your way.</p></blockquote>



<p>The app enables you to collect, manage, and stream your media. Run the Jellyfin server on your system and gain access to the leading free-software entertainment system, bells and whistles included.</p>



<p>So if you have a lot of media files and you want to have them always at hand, then Jellyfin is the best for you.</p>



<h2 id="install-jellyfin-on-ubuntu-20.04"><a href="#install-jellyfin-on-ubuntu-20.04" name="install-jellyfin-on-ubuntu-20.04"></a>Install Jellyfin on Ubuntu 20.04</h2>



<p>Installing Jellyfin is possible thanks to a repository that we have to add to do the process. So, let’s get started.</p>



<p>First, open a terminal and upgrade Ubuntu</p>



<pre class="wp-block-preformatted">sudo apt update
sudo apt upgrade</pre>



<p>After that, you need to enable the Ubuntu universe repository. This is because Jellyfin requires dependencies to be loosened in that repository.</p>



<pre class="wp-block-preformatted">sudo add-apt-repository universe</pre>



<p>Then install a package called apt-transport-https that will help add the Jellyfin repository.</p>



<pre class="wp-block-preformatted">sudo apt install apt-transport-https</pre>



<p>After that, you can download and add the GPG key from the official repository of the application</p>



<pre class="wp-block-preformatted">wget -O - https://repo.jellyfin.org/ubuntu/jellyfin_team.gpg.key | sudo apt-key add -
--2021-03-06 17:13:36--  https://repo.jellyfin.org/ubuntu/jellyfin_team.gpg.key
Resolving repo.jellyfin.org (repo.jellyfin.org)... 2604:a880:cad:d0::cf3:f001, 68.183.204.194
Connecting to repo.jellyfin.org (repo.jellyfin.org)|2604:a880:cad:d0::cf3:f001|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3078 (3.0K) [application/octet-stream]
Saving to: ‘STDOUT’

-                                          100%[=====================================================================================>]   3.01K  --.-KB/s    in 0s      

2021-03-06 17:13:36 (127 MB/s) - written to stdout [3078/3078]

OK</pre>



<p>This process ensures that we can install applications from the repository. Making the system more and more secure.</p>



<p>Now yes, add the Jellyfin repository.</p>



<pre class="wp-block-preformatted">echo "deb [arch=$( dpkg --print-architecture )] https://repo.jellyfin.org/ubuntu $( lsb_release -c -s ) main" | sudo tee /etc/apt/sources.list.d/jellyfin.list

deb [arch=amd64] https://repo.jellyfin.org/ubuntu focal main</pre>



<p>And refresh <a href="https://www.osradar.com/apt-the-ubuntu-package-manager/" target="_blank" rel="noreferrer noopener">APT</a> so that the process can complete.</p>



<pre class="wp-block-preformatted">sudo apt update</pre>



<p>Now you can install the application by running</p>



<pre class="wp-block-preformatted">sudo apt install jellyfin
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  fontconfig-config fonts-dejavu-core jellyfin-ffmpeg jellyfin-server jellyfin-web libass9 libbluray2 libcairo2 libdrm-intel1 libfontconfig1 libgraphite2-3
  libharfbuzz0b libmp3lame0 libopus0 libpciaccess0 libpixman-1-0 libtheora0 libvdpau1 libvorbisenc2 libvpx6 libwebp6 libwebpmux3 libx11-6 libx11-data libx264-155
  libx265-179 libxau6 libxcb-render0 libxcb-shm0 libxcb1 libxdmcp6 libxext6 libxrender1 libzvbi-common libzvbi0 ocl-icd-libopencl1
Suggested packages:
  libbluray-bdj opus-tools opencl-icd
Recommended packages:
  libaacs0 vdpau-driver-all | vdpau-driver
The following NEW packages will be installed:
  fontconfig-config fonts-dejavu-core jellyfin jellyfin-ffmpeg jellyfin-server jellyfin-web libass9 libbluray2 libcairo2 libdrm-intel1 libfontconfig1 libgraphite2-3
  libharfbuzz0b libmp3lame0 libopus0 libpciaccess0 libpixman-1-0 libtheora0 libvdpau1 libvorbisenc2 libvpx6 libwebp6 libwebpmux3 libx11-6 libx11-data libx264-155
  libx265-179 libxau6 libxcb-render0 libxcb-shm0 libxcb1 libxdmcp6 libxext6 libxrender1 libzvbi-common libzvbi0 ocl-icd-libopencl1
0 upgraded, 37 newly installed, 0 to remove and 20 not upgraded.
Need to get 93.4 MB of archives.
After this operation, 291 MB of additional disk space will be used.</pre>



<p>After installing, you need to start it and enable it so it can start with the system.</p>



<pre class="wp-block-preformatted">sudo systemctl enable --now jellyfin
Synchronizing state of jellyfin.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable jellyfin</pre>



<p>To check that everything is OK, check the status of the service</p>



<pre class="wp-block-preformatted">sudo systemctl status jellyfin
● jellyfin.service - Jellyfin Media Server
     Loaded: loaded (/lib/systemd/system/jellyfin.service; enabled; vendor preset: enabled)
    Drop-In: /etc/systemd/system/jellyfin.service.d
             └─jellyfin.service.conf
     Active: active (running) since Sat 2021-03-06 17:15:35 CET; 2min 3s ago
   Main PID: 3764 (jellyfin)
      Tasks: 16 (limit: 2286)
     Memory: 89.9M
     CGroup: /system.slice/jellyfin.service
             └─3764 /usr/bin/jellyfin --webdir=/usr/share/jellyfin/web --restartpath=/usr/lib/jellyfin/restart.sh --ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg

Mar 06 17:15:43 osradar jellyfin[3764]: [17:15:43] [INF] Registering publisher for urn:schemas-upnp-org:device:MediaServer:1 on 157.90.172.109
Mar 06 17:15:43 osradar jellyfin[3764]: [17:15:43] [INF] Executed all pre-startup entry points in 0:00:00.8272122
Mar 06 17:15:43 osradar jellyfin[3764]: [17:15:43] [INF] Core startup complete
Mar 06 17:15:44 osradar jellyfin[3764]: [17:15:44] [INF] Executed all post-startup entry points in 0:00:00.5657009
Mar 06 17:15:44 osradar jellyfin[3764]: [17:15:44] [INF] Startup complete 0:00:08.0004279
Mar 06 17:15:45 osradar jellyfin[3764]: [17:15:45] [INF] StartupTrigger fired for task: Update Plugins
Mar 06 17:15:45 osradar jellyfin[3764]: [17:15:45] [INF] Queueing task PluginUpdateTask
Mar 06 17:15:45 osradar jellyfin[3764]: [17:15:45] [INF] Executing Update Plugins
Mar 06 17:15:46 osradar jellyfin[3764]: [17:15:46] [INF] Update Plugins Completed after 0 minute(s) and 0 seconds
Mar 06 17:15:46 osradar jellyfin[3764]: [17:15:46] [INF] ExecuteQueuedTasks</pre>



<p>Jellyfin is now available on <code>http://server:8096</code> but you should set up a reverse proxy with Nginx and enable HTTPS to ensure that all data transmitted is secure.</p>



<h2 id="configuring-nginx-as-the-reverse-proxy-and-enabling-https"><a href="#configuring-nginx-as-the-reverse-proxy-and-enabling-https" name="configuring-nginx-as-the-reverse-proxy-and-enabling-https"></a>Configuring Nginx as the reverse proxy and enabling HTTPS</h2>



<p>So, install <a href="https://www.osradar.com/redirect-all-traffic-from-http-to-https-using-nginx/" target="_blank" rel="noreferrer noopener">Nginx</a> and make sure it is running.</p>



<pre class="wp-block-preformatted">sudo apt install nginx
sudo systemctl status nginx</pre>



<p>Then create a new configuration file for Jellyfin</p>



<pre class="wp-block-preformatted">sudo nano /etc/nginx/conf.d/jellyfin.conf</pre>



<p>And add the following content</p>



<pre class="wp-block-preformatted">upstream backend {
     server 127.0.0.1:8096;
     keepalive 64;
 }

 server {
    listen 80;
    server_name osradartest.ga;

 <code>location / { </code>
        <code>proxy_set_header X-Forwarded-Host $host;</code>
        <code>proxy_set_header X-Forwarded-Server $host;</code>
        <code>proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;</code>
        <code>proxy_pass http://backend;</code>
        <code>proxy_http_version 1.1;</code>
        <code>proxy_pass_request_headers on;</code>
        <code>proxy_set_header Connection "keep-alive";</code>
        <code>proxy_store off;</code>
 }
 }</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="941" height="437" src="https://www.osradar.com/wp-content/uploads/2021/03/1-3.png" alt="1.- Configuring Nginx to work with Jellyfin" class="wp-image-28989" srcset="https://www.osradar.com/wp-content/uploads/2021/03/1-3.png 941w, https://www.osradar.com/wp-content/uploads/2021/03/1-3-300x139.png 300w, https://www.osradar.com/wp-content/uploads/2021/03/1-3-768x357.png 768w, https://www.osradar.com/wp-content/uploads/2021/03/1-3-696x323.png 696w" sizes="(max-width: 941px) 100vw, 941px" /><figcaption>1.- Configuring Nginx to work with Jellyfin</figcaption></figure>



<p>Save the changes and close the editor.</p>



<p>After that, you need to enable HTTPS and with the help of Certbot the process is very easy. So, install it as well as the Nginx plugin.</p>



<pre class="wp-block-preformatted">sudo apt install certbot python3-certbot-nginx</pre>



<p>After that, get a new certificate with the following command:</p>



<pre class="wp-block-preformatted">sudo certbot --nginx --agree-tos --redirect --hsts --staple-ocsp --email you@example.com -d your-domain</pre>



<p>Of course, replace the value of <code>--email</code> and <code>-d</code> with your email and domain respectively.</p>



<p>Finally, restart Nginx.</p>



<pre class="wp-block-preformatted">sudo systemctl restart nginx</pre>



<p>And you will be able to access Jellyfin to complete the installation.</p>



<h2 id="complete-the-installation"><a name="complete-the-installation" href="#complete-the-installation"></a>Complete the installation of Jellyfin on Ubuntu</h2>



<p>Now open a web browser and go to <code>https://your-domain</code> and you will see the loading screen.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="502" src="https://www.osradar.com/wp-content/uploads/2021/03/2-2-1024x502.png" alt="2.- Jellyfin loading screen" class="wp-image-28991" srcset="https://www.osradar.com/wp-content/uploads/2021/03/2-2-1024x502.png 1024w, https://www.osradar.com/wp-content/uploads/2021/03/2-2-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2021/03/2-2-768x376.png 768w, https://www.osradar.com/wp-content/uploads/2021/03/2-2-696x341.png 696w, https://www.osradar.com/wp-content/uploads/2021/03/2-2-1068x523.png 1068w, https://www.osradar.com/wp-content/uploads/2021/03/2-2.png 1366w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>2.- Jellyfin loading screen</figcaption></figure>



<p>Then you will see the welcome screen. Select the language to display and press the <code>Next</code> button.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="504" src="https://www.osradar.com/wp-content/uploads/2021/03/3-1-1024x504.png" alt="3.- Welcome screen" class="wp-image-28992" srcset="https://www.osradar.com/wp-content/uploads/2021/03/3-1-1024x504.png 1024w, https://www.osradar.com/wp-content/uploads/2021/03/3-1-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2021/03/3-1-768x378.png 768w, https://www.osradar.com/wp-content/uploads/2021/03/3-1-696x342.png 696w, https://www.osradar.com/wp-content/uploads/2021/03/3-1-1068x525.png 1068w, https://www.osradar.com/wp-content/uploads/2021/03/3-1.png 1360w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>3.- Welcome screen</figcaption></figure>



<p>Then, create a new user.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1360" height="669" src="https://www.osradar.com/wp-content/uploads/2021/03/4-1024x504.png" alt="4.- creating the new user" class="wp-image-28993" srcset="https://www.osradar.com/wp-content/uploads/2021/03/4-1024x504.png 1024w, https://www.osradar.com/wp-content/uploads/2021/03/4-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2021/03/4-768x378.png 768w, https://www.osradar.com/wp-content/uploads/2021/03/4-696x342.png 696w, https://www.osradar.com/wp-content/uploads/2021/03/4-1068x525.png 1068w, https://www.osradar.com/wp-content/uploads/2021/03/4.png 1360w" sizes="(max-width: 1360px) 100vw, 1360px" /><figcaption>4.- creating the new user</figcaption></figure>



<p>You can add your media collection at once.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="504" src="https://www.osradar.com/wp-content/uploads/2021/03/5-1024x504.png" alt="5.- Media Library" class="wp-image-28994" srcset="https://www.osradar.com/wp-content/uploads/2021/03/5-1024x504.png 1024w, https://www.osradar.com/wp-content/uploads/2021/03/5-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2021/03/5-768x378.png 768w, https://www.osradar.com/wp-content/uploads/2021/03/5-696x342.png 696w, https://www.osradar.com/wp-content/uploads/2021/03/5-1068x525.png 1068w, https://www.osradar.com/wp-content/uploads/2021/03/5.png 1360w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>5.- Media Library</figcaption></figure>



<p>After that, select the language of the metadata.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="504" src="https://www.osradar.com/wp-content/uploads/2021/03/6-1024x504.png" alt="6.- Metada language" class="wp-image-28995" srcset="https://www.osradar.com/wp-content/uploads/2021/03/6-1024x504.png 1024w, https://www.osradar.com/wp-content/uploads/2021/03/6-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2021/03/6-768x378.png 768w, https://www.osradar.com/wp-content/uploads/2021/03/6-696x342.png 696w, https://www.osradar.com/wp-content/uploads/2021/03/6-1068x525.png 1068w, https://www.osradar.com/wp-content/uploads/2021/03/6.png 1360w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>6.- Metada language</figcaption></figure>



<p>Then, you have the option to configure remote access.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="504" src="https://www.osradar.com/wp-content/uploads/2021/03/7-1024x504.png" alt="7.- Configuring the remote access" class="wp-image-28996" srcset="https://www.osradar.com/wp-content/uploads/2021/03/7-1024x504.png 1024w, https://www.osradar.com/wp-content/uploads/2021/03/7-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2021/03/7-768x378.png 768w, https://www.osradar.com/wp-content/uploads/2021/03/7-696x342.png 696w, https://www.osradar.com/wp-content/uploads/2021/03/7-1068x525.png 1068w, https://www.osradar.com/wp-content/uploads/2021/03/7.png 1360w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>7.- Configuring the remote access</figcaption></figure>



<p>If all goes well, you will see this screen.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="504" src="https://www.osradar.com/wp-content/uploads/2021/03/8-1024x504.png" alt="8.- Installation complete!" class="wp-image-28997" srcset="https://www.osradar.com/wp-content/uploads/2021/03/8-1024x504.png 1024w, https://www.osradar.com/wp-content/uploads/2021/03/8-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2021/03/8-768x378.png 768w, https://www.osradar.com/wp-content/uploads/2021/03/8-696x342.png 696w, https://www.osradar.com/wp-content/uploads/2021/03/8-1068x525.png 1068w, https://www.osradar.com/wp-content/uploads/2021/03/8.png 1360w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>8.- Installation complete!</figcaption></figure>



<p>Then log in with the user you created.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="504" src="https://www.osradar.com/wp-content/uploads/2021/03/9-1024x504.png" alt="9.- Login screen" class="wp-image-28998" srcset="https://www.osradar.com/wp-content/uploads/2021/03/9-1024x504.png 1024w, https://www.osradar.com/wp-content/uploads/2021/03/9-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2021/03/9-768x378.png 768w, https://www.osradar.com/wp-content/uploads/2021/03/9-696x342.png 696w, https://www.osradar.com/wp-content/uploads/2021/03/9-1068x525.png 1068w, https://www.osradar.com/wp-content/uploads/2021/03/9.png 1360w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>9.- Login screen</figcaption></figure>



<p>You will be able to enjoy Jellyfin and use your media library.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="504" src="https://www.osradar.com/wp-content/uploads/2021/03/10-1024x504.png" alt="10.- Jellyfin running" class="wp-image-28999" srcset="https://www.osradar.com/wp-content/uploads/2021/03/10-1024x504.png 1024w, https://www.osradar.com/wp-content/uploads/2021/03/10-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2021/03/10-768x378.png 768w, https://www.osradar.com/wp-content/uploads/2021/03/10-696x342.png 696w, https://www.osradar.com/wp-content/uploads/2021/03/10-1068x525.png 1068w, https://www.osradar.com/wp-content/uploads/2021/03/10.png 1360w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>10.- Jellyfin running</figcaption></figure>



<h2 id="conclusion"><a href="#conclusion" name="conclusion"></a>Conclusion</h2>



<p>Jellyfin is another complete alternative to have our files in the cloud. In this case, they are multimedia files that we can play from anywhere with internet access.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/deploy-multimedia-center-jellyfin-ubuntu-20-04/">Deploy your own multimedia center by installing Jellyfin on Ubuntu 20.04</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/deploy-multimedia-center-jellyfin-ubuntu-20-04/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
