Difference between revisions of "Korban: Install MediaTomb"

From OnnoWiki
Jump to navigation Jump to search
Line 1: Line 1:
 
==Konfigurasi Multicast==
 
==Konfigurasi Multicast==
  
  sudo su
+
Cek nama interface
  route add -net 239.0.0.0 netmask 255.0.0.0 ens18
+
 
  ifconfig ens18 allmulti
+
  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
  
 
==Instalasi==
 
==Instalasi==

Revision as of 07:06, 7 June 2017

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

Instalasi

apt-get 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