Jellyfin is a free, self-hosted media server. Store your movies, TV shows, and music on your server, and Jellyfin will organize them into libraries, automatically download covers, descriptions, and cast details, and stream everything to your browser, smartphone, or TV. Jellyfin is completely open source, costs nothing, and doesn't require an account with a provider.
In this guide, we'll show you two ways to get started: the easy way using your VPS's One-Click Apps and the manual installation using Docker Compose.
The fastest way to get your own media server is through your VPS's One-Click Apps. ZapX configures the domain and HTTPS for you, so you don't need the console to install it.
- A Linux VPS (Debian or Ubuntu) with One-Click Apps set up. See Set Up One-Click Apps to learn how.
- At least 1 GB of RAM for Jellyfin; 2 GB is recommended.
- Enough storage space for your media files. Movies and TV shows can quickly take up several hundred gigabytes.
- Open your VPS in the ZapX dashboard and go to the One-Click Apps tab.
- Search for Jellyfin in the App catalog and click Install app.
- Leave Use a custom subdomain or zap.cloud enabled and choose an address. With a domain, Jellyfin is available over HTTPS; without one, it's only available over HTTP.
- No other details are needed. Click Queue installation. The app will be online in one or two minutes.
Set up Jellyfin immediately after installation Jellyfin doesn't create an admin account in advance. The first person to visit the address will go through the setup wizard and create the admin account. So, open the app at its address as soon as it's installed and complete the setup.
The Jellyfin setup wizard starts the first time you visit:
- Server name and language: Give your server a name and choose the interface language. If you don't enter a name, Jellyfin will display a random string.
- Admin account: Set a username and password for your admin account. You can add other users for family or friends later from the dashboard.
- Media libraries: Click “Add Media Library” and choose a content type, such as “Movies” or “Shows.” Click the plus sign next to “Folders” and select the appropriate folder:
/data/moviesfor movies or/data/tvshowsfor TV shows. You can also add libraries later. - Metadata: Choose the language and country Jellyfin should use to find titles and descriptions.
- Remote access: Leave “Allow remote connections to this server” enabled. Otherwise, Jellyfin will block all external connections.
Finally, click “Finish” and sign in with your admin account.
The One-Click App includes two media folders: one for movies and one for TV shows. On your VPS, they're stored in Docker volumes with names ending in _jellyfin-movies and _jellyfin-tvshows. Run this command in the console to see the exact names:
docker volume ls | grep jellyfin
Using SFTP as root, upload your files to the _data subfolder of the appropriate volume. For movies, for example, upload them to /var/lib/docker/volumes/<Name of the volume>/_data. See Connect using SFTP for instructions on connecting.
Put each movie in its own folder named with its title and release year, for example, Big Buck Bunny (2008)/Big Buck Bunny (2008).mp4. This helps Jellyfin find the right information and cover art. Without the year or with an abbreviated title, Jellyfin may quickly add the wrong movie to your library. Then click “Scan All Libraries” in the dashboard so Jellyfin can scan the new files.
Transcoding videos without a graphics card If a device can't play a video directly, Jellyfin transcodes it during playback. On a VPS, the CPU handles this; no graphics card is available. This puts a heavy load on the server. Files that your devices can play directly use the least resources. See Codec support for Jellyfin clients.
Jellyfin is available as an app for Android, iOS, smart TVs, and streaming devices. Enter your One-Click App's address as the server address in the app, for example, https://jellyfin.example.com, and sign in with your account.
To check whether an update is available for your installation, open the app settings (gear icon), go to App update, and select Check for updates. If a new version is available, install it by selecting Apply update. Your settings, users, and media files will be preserved because they're stored in separate volumes.
Change the app's address under App actions. You can also stop, reinstall, or uninstall the app there.
The rest of this guide covers manual installation from the console using Docker Compose. This is useful, for example, if you want to integrate Jellyfin into an existing server environment or store your media in a custom folder. The instructions are based on the official Jellyfin container guide.
- A Linux server running Debian or Ubuntu that you can access over SSH.
- Docker with the Compose plugin. See our guide Set Up Docker for instructions on installing Docker.
Create a directory with subfolders for configuration, cache, and media, then create a compose.yaml file in it:
mkdir -p jellyfin/config jellyfin/cache jellyfin/media
cd jellyfin
nano compose.yaml
Add the following content, based on the example in the official guide:
services:
jellyfin:
image: jellyfin/jellyfin
container_name: jellyfin
ports:
- 8096:8096/tcp
volumes:
- ./config:/config
- ./cache:/cache
- type: bind
source: ./media
target: /media
restart: 'unless-stopped'
Save the file and start Jellyfin:
docker compose up -d
Jellyfin will then be available on port 8096. Open http://<IP address of your server>:8096 in your browser and go through the setup wizard as described above under First visit: Setup wizard. Select /media as the media folder. Store your files in the media subfolder.
Firewall and HTTPS
If a firewall is active on your server, port 8096 (TCP) must be accessible. See Manage the firewall on Linux. For ongoing use, you should run Jellyfin with a domain over HTTPS behind a reverse proxy. See Set Up a Reverse Proxy with nginx. You can then bind the port locally only, using 127.0.0.1:8096:8096/tcp instead of 8096:8096/tcp.
Go to the directory and download the new version:
cd jellyfin
docker compose pull
docker compose up -d
Congratulations! Jellyfin is now running on your server and streaming your media. Find more information here:
- Jellyfin website – Project website with app downloads
- Jellyfin documentation – Guides to libraries, naming, and playback
Do you have questions that aren't answered here? Our support team is happy to help every day! 🙂