Difference between revisions of "Gerbera"

From OnnoWiki
Jump to navigation Jump to search
Line 39: Line 39:
  
  
 +
Restart Gerbera
  
 
+
/etc/init.d/gerbera restart
 
 
 
 
  
 
==Referensi==
 
==Referensi==
  
 
* https://installati.one/install-gerbera-ubuntu-22-04/
 
* https://installati.one/install-gerbera-ubuntu-22-04/

Revision as of 19:43, 14 December 2023

Sumber: https://installati.one/install-gerbera-ubuntu-22-04/

Setup network

sudo su
route add -net 239.0.0.0 netmask 255.0.0.0 eth1
ifconfig eth1 allmulti

Instalasi

sudo apt-get update
sudo apt-get -y install gerbera


Edit Konfigurasi

Default tempat file media ada di

/var/lib/gerbera

Isi /var/lib/mediatomb dengan file avi, mp3 dll yang ingin di akses. Jangan lupa untuk

chmod -Rf 777 /var/lib/gerbera/
chown -Rf nobody.nogroup /var/lib/gerbera/

Edit file

vi /etc/gerbera/config.xml

Ubah / pastikan ui dan account enable="yes"

<server>
  <ui enabled="yes" show-tooltips="yes">
    <accounts enabled="yes" session-timeout="30">
       <account user="gerbera" password="gerbera"/>
    </accounts>
  </ui>


Restart Gerbera

/etc/init.d/gerbera restart

Referensi