Both sides previous revision
Previous revision
Next revision
|
Previous revision
Last revision
Both sides next revision
|
howto:linux:install:ubuntu [2016/07/28 21:52] zip [4.Enabling Remote Console Access From Windows (credit to forum member tvkdlna)] |
howto:linux:install:ubuntu [2016/10/08 14:54] ricardobalk How to set up a password |
On Linux hosts it could be that you need to set up [[http://forum.serviio.org/viewtopic.php?f=5&t=415&p=2843#p2837|multicast]] to let Serviio work correctly | On Linux hosts it could be that you need to set up [[http://forum.serviio.org/viewtopic.php?f=5&t=415&p=2843#p2837|multicast]] to let Serviio work correctly |
To do this, add following line to /etc/network/interfaces: | To do this, add following line to /etc/network/interfaces: |
<code>up route add -net 239.0.0.0 netmask 255.0.0.0 dev eth0</code> | |
<note important>Replace eth0 with the [[http://www.cyberciti.biz/faq/linux-list-network-interfaces-names-command/|name of the network interface]]</note> | <note important>Replace eth0 with the [[http://www.cyberciti.biz/faq/linux-list-network-interfaces-names-command/|name of the network interface]]</note> |
| <code>up route add -net 239.0.0.0 netmask 255.0.0.0 dev eth0</code> |
| |
| |
==== Making Serviio's MediaBrowser accessible via the web ==== | ==== Making Serviio's MediaBrowser accessible via the web ==== |
<note>You need Apache in order to do this</note> | <note>Instructions given are tested on an Ubuntu Server running Apache 2.4</note> |
Usually you go to http://localhost:23424/mediabrowser to access the MediaBrowser. It is possible to make something like http://www.your-example-domain.com/media. This is done with Apache's ProxyPass. | Usually you go to http://localhost:23424/mediabrowser to access the MediaBrowser. It is possible to make something like http://www.your-example-domain.com/media. This is done with Apache's ProxyPass. |
| |
<code>a2enmod proxy</code> | <code>a2enmod proxy</code> |
| |
Change the Apache configuration file | Make a new Apache configuration file |
<code>nano /etc/apache2/sites-enables/000-default.conf</code> | <code>nano /etc/apache2/sites-enabled/001-serviio.conf</code> |
| |
Put this inside | Put this inside |
<code><Location /media> | <code><Location /media> |
order deny,allow | Require all granted |
deny from all | |
allow from all | |
ProxyPass http://localhost:23424/mediabrowser | ProxyPass http://localhost:23424/mediabrowser |
ProxyPassReverse http://localhost:23424/mediabrowser | ProxyPassReverse http://localhost:23424/mediabrowser |
| |
<Location /cds> | <Location /cds> |
order deny,allow | Require all granted |
deny from all | |
allow from all | |
ProxyPass http://localhost:23424/cds | ProxyPass http://localhost:23424/cds |
ProxyPassReverse http://localhost:23424/cds | ProxyPassReverse http://localhost:23424/cds |
</Location></code> | </Location></code> |
| |
| Enable the new configuration and reload your configuration |
| <code> |
| a2ensite 001-serviio |
| service apache reload |
| </code> |
| |
| ==== Setting up a password ==== |
| Go to <ip-address of the server>:23423/console/ and use this console to set up a password. |
| |
~~NOTOC~~ | ~~NOTOC~~ |