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 [2015/02/21 09:19]
7upman [Prerequisites]
howto:linux:install:ubuntu [2016/11/10 15:37] (current)
7upman [3.Ubuntu Server Startup Script (credit to forum member jonolafur)]
Line 11: Line 11:
   * FFmpeg   * FFmpeg
 <code>sudo apt-get install ffmpeg libavcodec-extra-53 libavformat-extra-53</code> <code>sudo apt-get install ffmpeg libavcodec-extra-53 libavformat-extra-53</code>
 +<note tip>FFmpeg is [[https://askubuntu.com/questions/432542/is-ffmpeg-missing-from-the-official-repositories-in-14-04|replaced]] by avconv</note>
 +  * workaround for missing FFmpeg
 +<code>sudo add-apt-repository ppa:mc3man/trusty-media</code>
 +<code>sudo apt-get update</code>
 +<code>sudo apt-get install ffmpeg gstreamer0.10-ffmpeg</code>
   * dcraw for digital pictures   * dcraw for digital pictures
 <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 83: 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+==== Fixing multicast on Linux hosts ==== 
-<code>-Dserviio.remoteHost=XXX.XXX.X.XXX</code> +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 
-Replacing XXX.XXX.X.XXX with the IP Address of the remote server +To do this, add following line to /etc/network/interfaces: 
 +<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 ==== 
 +<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 MediaBrowserIt is possible to make something like http://www.your-example-domain.com/media. This is done with Apache's ProxyPass. 
 + 
 +Enable proxy module 
 +<code>a2enmod proxy</code> 
 + 
 +Make a new Apache configuration file 
 +<code>nano /etc/apache2/sites-enabled/001-serviio.conf</code> 
 + 
 +Put this inside 
 +<code><Location /media> 
 +Require all granted 
 +ProxyPass http://localhost:23424/mediabrowser 
 +ProxyPassReverse http://localhost:23424/mediabrowser 
 +</Location> 
 + 
 +<Location /cds> 
 +Require all granted 
 +ProxyPass http://localhost:23424/cds 
 +ProxyPassReverse http://localhost:23424/cds 
 +</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.1424510362.txt.gz · Last modified: 2015/02/21 09:19 by 7upman