User Tools

Site Tools


howto:linux:install:ubuntu

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
howto:linux:install:ubuntu [2016/03/20 14:47]
ricardobalk Apache MediaBrowser proxy
howto:linux:install:ubuntu [2016/11/10 15:37] (current)
7upman [3.Ubuntu Server Startup Script (credit to forum member jonolafur)]
Line 19: Line 19:
 <code>sudo apt-get install dcraw</code> <code>sudo apt-get install dcraw</code>
 ==== 1.Download Serviio ==== ==== 1.Download Serviio ====
-Always check what the latest version is on the website, it is currently 1.2.1 and update accordingly+Always check what the latest version is on the website, it is currently 1.6.1 and update accordingly
 Here is link to serviio.org download page. Here is link to serviio.org download page.
 http://www.serviio.org/download http://www.serviio.org/download
-<code>wget http://download.serviio.org/releases/serviio-1.2.1-linux.tar.gz</code>+<code>wget http://download.serviio.org/releases/serviio-1.6.1-linux.tar.gz</code>
 ==== 2.Extract Serviio ==== ==== 2.Extract Serviio ====
-<code>tar xvf serviio-1.2.1-linux.tar.gz+<code>tar xvf serviio-1.6.1-linux.tar.gz
 </code> </code>
 ==== 3.Ubuntu Server Startup Script (credit to forum member jonolafur) ==== ==== 3.Ubuntu Server Startup Script (credit to forum member jonolafur) ====
 +
 +Note for Ubuntu systems that use systemd not upstart (i.e. 15+) this forum item discusses the way to configure correctly: [[http://forum.serviio.org/viewtopic.php?f=5&t=4836]]
 +
 Create and save the following script in the directory /etc/init/ and call it serviio.conf Create and save the following script in the directory /etc/init/ and call it serviio.conf
 <code>start on started networking <code>start on started networking
Line 88: Line 91:
  
 <code>sudo stop serviio</code> <code>sudo stop serviio</code>
-==== 4.Enabling Remote Console Access From Windows (credit to forum member tvkdlna) ==== 
-Create a firewall rule to allow TCP data on port 23423 on both the client and server 
- 
-Edit C:\Program Files\Serviio\bin\ServiioConsole.exe.vmoptions adding: 
-<code>-Dserviio.remoteHost=XXX.XXX.X.XXX</code> 
-Replacing XXX.XXX.X.XXX with the IP Address of the remote server  
- 
  
 ==== Fixing multicast on Linux hosts ==== ==== Fixing multicast on Linux hosts ====
 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.
  
Line 110: Line 106:
 <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
Line 123: Line 117:
  
 <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~~
howto/linux/install/ubuntu.1458485243.txt.gz · Last modified: 2016/03/20 14:47 by ricardobalk