Update: Jellyfin now provides a Bash installation script for APT users: https://jellyfin.org/docs/general/installation/linux/#debuntu-debian-ubuntu-and-derivatives-using-apt
Overall it’s quite straightforward, especially when compared with installing the LAMP environment or WordPress, thanks to the APT package manager.
For an Ubuntu server, refer to https://jellyfin.org/docs/general/installation/linux#ubuntu.
| |
Done.
Furthermore, we’d like to enable HTTPS to our sites, and maybe we’d want this server to be with more usages such as running another WordPress website. For this consideration, Nginx with reverse proxy may be the best solution:
Install Nginx to run a web server. Install certbot to acquire certificates for TLS encryption. Easy, just google for it and follow the official documentation.
Open a browser and visit http://your_ip:8096/ to log in to your newly built Jellyfin server. Initialize the settings, then change the base URL to /jellyfin (as in the following document) or another path of your choice. Remember to use the same path in the Nginx configuration.
Read the docs: https://jellyfin.org/docs/general/networking/nginx.html#https-config-example
The path change takes effect only after Jellyfin restarts. It took me a long time to realize that pressing “Save changes” was not enough.
Mostly you just need to copy the configuration as the doc shows. Only one thing needs attention: in the following part, change the variable to IP address as the comment says.
| |
Now restart nginx.service, enter your_domain/your_path in the browser, and everything should work. Enjoy your own Jellyfin server—perhaps with family and friends!