Difference between revisions of "Korban: Install MediaTomb"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) (Created page with "==Konfigurasi Multicast== sudo su route add -net 239.0.0.0 netmask 255.0.0.0 ens18 ifconfig ens18 allmulti ==Instalasi== apt-get install sqlite mediatomb ==Konfigurasi...") |
Onnowpurbo (talk | contribs) |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | '''mediatomb belum tersedia di Ubuntu 18.04''' | ||
+ | |||
+ | |||
+ | |||
==Konfigurasi Multicast== | ==Konfigurasi Multicast== | ||
− | + | Cek nama interface | |
− | route add -net 239.0.0.0 netmask 255.0.0.0 | + | |
− | ifconfig | + | 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== | ==Instalasi== | ||
− | apt- | + | apt -y install sqlite mediatomb |
+ | chmod -Rf 777 /var/lib/mediatomb | ||
+ | chown -Rf nobody.nogroup /var/lib/mediatomb | ||
==Konfigurasi== | ==Konfigurasi== | ||
vi /etc/mediatomb/config.xml | 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== | ||
+ | |||
+ | * [[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