Korban: Install MediaTomb

From OnnoWiki
Jump to navigation Jump to search

mediatomb belum tersedia di Ubuntu 18.04


Konfigurasi Multicast

Cek nama interface

ifconfig -a

misalnya nama interface adalah enp0s4

Edit

/etc/rc.local

masukan sebelum exit

/sbin/route add -net 239.0.0.0 netmask 255.0.0.0 enp0s4
/sbin/ifconfig enp0s4 allmulti


Save & beri ijin untuk di execute

chmod +x /erc/rc.local

Instalasi

apt -y install sqlite mediatomb
chmod -Rf 777 /var/lib/mediatomb
chown -Rf nobody.nogroup /var/lib/mediatomb

Konfigurasi

vi /etc/mediatomb/config.xml
<server>
  <ui enabled="yes" show-tooltips="yes">
    <accounts enabled="no" session-timeout="30">
      <account user="mediatomb" password="mediatomb"/>
    </accounts>
  </ui>
  <name>Korban101</name>


Restart

/etc/init.d/mediatomb restart


Pranala Menarik