In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
Today, the editor will take you to understand the steps of building a media server in Linux system. The knowledge points in the article are introduced in great detail. Friends who feel helpful can browse the content of the article with the editor, hoping to help more friends who want to solve this problem to find the answer to the problem. Let's follow the editor to learn more about "what are the steps to build a media server in Linux system".
Jellyfin is an open source branch of Emby Media Server. They are very similar in software, but because Emby developers have recently closed the source code, it is widely believed that Jellyfin has advantages.
Setting up a Jellyfin media server on Linux is not complicated. Very similar to software, it is very easy to install based on (Emby) on the Linux platform. In this guide, we will show you how to set up Jellyfin on Linux and show you how to use it!
Install Jellyfin software on Linux
Jellyfin developers provide several ways to install a media server on the Linux platform. Downloadable DEB and custom packages from Docker to Arch Linux AUR.
In this guide, we will focus on downloadable software packages. However, if you are an advanced user of Linux and know how to use Docker, click here to get started.
To start installing Jellyfin on the Linux server, you can open a terminal window through SSH or go directly to the server. Then, follow the command line installation instructions outlined below.
Ubuntu server / Debian server
Jellyfin has a DEB package, which is the perfect medium if you have a Ubuntu server or a Debian server. To start using DEB, install the "apt-transport-https" package first.
Linuxmi@linuxmi:~/www.linuxmi.com$ sudo apt install apt-transport-https
Next, use the wget downloader tool to obtain the GPG key of the Jellyfin software repository. The key is required, otherwise Ubuntu/Debian will not be able to interact with the Jellyfin repository.
Linuxmi@linuxmi:~/www.linuxmi.com$ wget-O-https://repo.jellyfin.org/jellyfin_team.gpg.key | sudo apt-key add-
Once the key is added to the system, it's time to run a long command. This command will scan your system to determine the correct version of Debian or Ubuntu, and add the correct repository. You must enter this command exactly as shown in the following example!
Linuxmi@linuxmi:~/www.linuxmi.com (dpkg-print-architecture)] https://repo.jellyfin.org/( awk-Foundry'/ ^ VERSION_CODENAME=/ {print $NF}'/ etc/os-release) main "| sudo tee / etc/apt/sources.list.d/jellyfin.list
Deb [arch=amd64] https://repo.jellyfin.org/ubuntu focal main
After executing the above command, you should set up the repository on your server. Now, run the apt update command to refresh the system's software source.
Linuxmi@linuxmi:~/www.linuxmi.com$ sudo apt update
Finally, use the apt install command to install the Jellyfin Media Server package on your computer.
Linuxmi@linuxmi:~/www.linuxmi.com$ sudo apt install jellyfin
Arch Linux (runs as a server)
Silly as it sounds, many Linux users run Arch Linux as a server. If you are one of these people, here is how to install Jellyfin. First, install the "git" and "base-devel" packages using the Pacman command.
Sudo pacman-S git base-devel
Next, download the Trizen AUR helper tool. This program eliminates the tedious work of building AUR packages and helps you install Jellyfin.
Git clone https://aur.archlinux.org/trizen.git
Install Trizen using makepkg.
Cd trizen
Makepkg-sri
Next, use the trizen-S command to install the Jellyfin media server package on the system.
Trizen-S jellyfin
Start the Jellyfin Media Server using systemctl.
Sudo systemctl start jellyfin.service
Sudo systemctl enable jellyfin.service
Set up Jellyfin
Jellyfin is set up on Linux with the help of wizard tools. To begin the setup process, open a web browser on any computer and enter URL below. Keep in mind that this URL is an example. You will need to replace it with the IP address of the Linux server where Jellyfin is installed.
Http://172.17.0.1:8096/
After accessing the Jellyfin page in your browser, follow the step-by-step instructions below to configure a new Jellyfin media server.
Step 1: the first thing you will see in the Jellyfin wizard is: "Welcome to Jellyfin!" Read the message. Then, click next at the bottom of the page to continue.
Step 2: on the next page, you will be asked to create a new user profile for Jellyfin. Fill in the text box to create a user name and password. Or leave it as is, and then click next to continue.
Step 3: click the "add Media Library" button at the top of the page. By selecting this option, you will see content Type, display name, and folder.
Click content Type, and then set the type of content you want to add to the library. For example, if you want to add a movie collection, select Movie.
Next, locate the display name and enter the name of the library you want to add.
Step 4: on the add Library page, locate the folder + button, and then click it to access the folder browser. Then, use it to browse the folder that contains the media files.
Note that if the Jellyfin server application can access this folder, you can only add media files to the Jellyfin. If you cannot find the media folder in the folder + window, open a terminal window on the server and run the following command.
Sudo chmod 755-R / home/linuxmi/www.linuxmi.com/
Sudo chown jellyfin:jellyfin / home/linuxmi/www.linuxmi.com/
Step 5: after adding media to the Jellyfin installer, locate the next button at the bottom of the page, and then click it. On the next page, you will see the preferred metadata language. Choose the language you speak so that Jellyfin knows why the metadata language is set. Then, click next.
Step 6: on the next page, Jellyfin wants to set up remote access. Check both boxes if you want to access the Jellyfin media server outside the network. If not, deselect them, and then click next.
Once remote access is configured in Jellyfin, the setup process is complete. From here, you can access the media on the server. Or, download applications for your smartphone, set-top box, etc., here.
Thank you for your reading, the above is the whole content of "what are the steps to build a media server in Linux system?" learn friends to hurry up to operate it. I believe that the editor will certainly bring you better quality articles. Thank you for your support to the website!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.