在Ubuntu上配置Jellyfin的步骤如下:
sudo snap install jellyfin --classic
sudo apt update
sudo apt install software-properties-common
sudo add-apt-repository ppa:jellyfin/stable
sudo apt update
sudo apt install jellyfin
http://<your_server_ip>:8096
。admin
和密码 admin
登录。sudo nano /etc/jellyfin/config/config.yaml
httpPort: 8096
httpsPort: 8443
httpsCertificatePath: /path/to/your/certificate.pem
httpsPrivateKeyPath: /path/to/your/privatekey.pem
mediaDirectories:
- /path/to/your/media
sudo snap start jellyfin
sudo snap stop jellyfin
sudo systemctl start jellyfin
sudo systemctl stop jellyfin
sudo snap set jellyfin start-on-boot=true
sudo systemctl enable jellyfin
如果你的服务器启用了防火墙,确保开放Jellyfin使用的端口(默认是8096):
sudo ufw allow 8096/tcp
在浏览器中访问 http://<your_server_ip>:8096
,你应该能够看到Jellyfin的登录界面。
通过以上步骤,你应该能够在Ubuntu上成功配置和运行Jellyfin。如果有任何问题,请参考Jellyfin的官方文档或社区支持。