Przejdź do treści głównej
50% zniżki wszystkie plany, oferta limitowana. Od $2.48/mo
Audiobookshelf

Audiobookshelf

Audiobookshelf to open source'owy, samodzielnie hostowany serwer multimediów dla twoich audiobooków i podcastów. Przesyłaj strumieniowo bibliotekę na dowolne urządzenie, śledź postęp słuchania między sesjami i chroń prywatność swojej kolekcji.

Na pierwszy rzut oka

13.5k

Gwiazdki na GitHub

11

Wyświetlenia strony

Licencja GPL-3.0 Wersja Latest OS Ubuntu Server 24.04 LTS Min RAM 1 GB IP IPV4

Dostęp

  • Otwórz URL: https://<SERVER_IP>
  • Zaakceptuj ostrzeżenie o certyfikacie przeglądarki (certyfikat jest samopodpisany)
  • Postępuj zgodnie z kreatorem konfiguracji, aby utworzyć użytkownika root

Ważne pliki i katalogi

  • Config File: /etc/default/audiobookshelf
  • Service File: /lib/systemd/system/audiobookshelf.service
  • Konfiguracja Nginx: /etc/nginx/sites-available/audiobookshelf
  • Certyfikat SSL: /etc/nginx/ssl/fullchain.pem
  • Klucz prywatny SSL: /etc/nginx/ssl/privkey.pem
  • Access Log: /var/log/nginx/audiobookshelf.access.log
  • Error Log: /var/log/nginx/audiobookshelf.error.log

Zarządzanie usługami

Sprawdź status usługi:

systemctl status audiobookshelf

Uruchom ponownie usługę:

systemctl restart audiobookshelf

Zatrzymaj usługę:

systemctl stop audiobookshelf

Uruchom usługę:

systemctl start audiobookshelf

Zobacz logi:

journalctl -u audiobookshelf -f

Zarządzanie Nginx

Konfiguracja testu:

nginx -t

Uruchom ponownie Nginx:

systemctl restart nginx

Przeładuj Nginx:

systemctl reload nginx

Sprawdź status Nginx:

systemctl status nginx

Włączanie SSL z domeną

1. Skieruj swoją domenę na IP serwera.

2. Install Certbot:

apt install -y certbot python3-certbot-nginx

3. Generate a Let's Encrypt certificate:

certbot certonly --nginx --non-interactive --agree-tos --email [email protected] -d yourdomain.com

4. Replace SSL paths in Nginx config:

vim /etc/nginx/sites-available/audiobookshelf
# Before:
    # ssl_certificate     /etc/nginx/ssl/fullchain.pem;
    # ssl_certificate_key /etc/nginx/ssl/privkey.pem;
# After:
    # ssl_certificate /etc/letsencrypt/live/yourdomain.com/fullchain.pem;
    # ssl_certificate_key /etc/letsencrypt/live/yourdomain.com/privkey.pem;

5. Replace server_name _; with your domain in both HTTP and HTTPS blocks:

vim /etc/nginx/sites-available/audiobookshelf
# Before:
    server_name: _;
# After:
    server_name: yourdomain.com;

6. Reload Nginx:

systemctl reload nginx

Uwagi

  • Audiobookshelf działa jako natywna usługa systemd
  • Nginx acts as a reverse proxy and TLS terminator
  • HTTPS jest domyślnie włączony z użyciem certyfikatu samopodpisanego
  • Large uploads are supported (client_max_body_size 10240M)
  • Audiobookshelf listens on 127.0.0.1:13378 and is only accessible through Nginx

Więcej w Self-hosted

Powiązane aplikacje.

Deploy Audiobookshelf now. Od $2,48/mies.