在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的官方文檔或社區支持。