Difference between revisions of "Gerbera"

From OnnoWiki
Jump to navigation Jump to search
(Created page with "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 sud...")
 
Line 11: Line 11:
 
  sudo apt-get update
 
  sudo apt-get update
 
  sudo apt-get -y install gerbera
 
  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>
  
  

Revision as of 19:41, 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>




Referensi