Difference between revisions of "Korban: Install MediaTomb"

From OnnoWiki
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
'''mediatomb belum tersedia di Ubuntu 18.04'''
 +
 +
 +
 
==Konfigurasi Multicast==
 
==Konfigurasi Multicast==
  
Line 15: Line 19:
 
  /sbin/route add -net 239.0.0.0 netmask 255.0.0.0 enp0s4
 
  /sbin/route add -net 239.0.0.0 netmask 255.0.0.0 enp0s4
 
  /sbin/ifconfig enp0s4 allmulti
 
  /sbin/ifconfig enp0s4 allmulti
 +
 +
 +
Save & beri ijin untuk di execute
 +
 +
chmod +x /erc/rc.local
  
 
==Instalasi==
 
==Instalasi==
  
  apt-get install sqlite mediatomb
+
  apt -y install sqlite mediatomb
 
  chmod -Rf 777 /var/lib/mediatomb
 
  chmod -Rf 777 /var/lib/mediatomb
 
  chown -Rf nobody.nogroup /var/lib/mediatomb
 
  chown -Rf nobody.nogroup /var/lib/mediatomb
Line 38: Line 47:
  
 
  /etc/init.d/mediatomb restart
 
  /etc/init.d/mediatomb restart
 +
 +
 +
==Pranala Menarik==
 +
 +
* [[Linux: file /etc/rc.local]]

Latest revision as of 09:37, 2 May 2018

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