This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
howto:linux:install:ubuntu [2013/03/28 12:07] tfm [3.Ubuntu Server Startup Script (credit to forum member jonolafur)] |
howto:linux:install:ubuntu [2016/11/10 15:37] (current) 7upman [3.Ubuntu Server Startup Script (credit to forum member jonolafur)] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Ubuntu Server Installation Guide ====== | ====== Ubuntu Server Installation Guide ====== | ||
Based on [[http:// | Based on [[http:// | ||
+ | |||
+ | ---- | ||
==== Prerequisites ==== | ==== Prerequisites ==== | ||
- | * Java< | + | * Java |
- | * FFmpeg< | + | You need Java version 8 or later. |
+ | Confusingly you are looking for a version of 1.8 or later. | ||
+ | sudo apt-get update | ||
+ | sudo apt-get install | ||
+ | * FFmpeg | ||
+ | < | ||
+ | <note tip> | ||
+ | * workaround for missing FFmpeg | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | * dcraw for digital pictures | ||
+ | < | ||
==== 1.Download Serviio ==== | ==== 1.Download Serviio ==== | ||
- | < | + | 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. | ||
+ | http:// | ||
+ | < | ||
==== 2.Extract Serviio ==== | ==== 2.Extract Serviio ==== | ||
- | < | + | < |
</ | </ | ||
==== 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:// | ||
+ | |||
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 | ||
< | < | ||
Line 71: | Line 91: | ||
< | < | ||
- | ==== 4.Enabling Remote Console Access From Windows (credit to forum member tvkdlna) ==== | ||
- | Edit C:\Program Files\Serviio\bin\ServiioConsole.exe.vmoptions adding: | ||
- | < | ||
- | Replacing XXX.XXX.X.XXX with the IP Address of the remote server | ||
- | ~~NOTOC~~ | + | ==== Fixing multicast on Linux hosts ==== |
+ | On Linux hosts it could be that you need to set up [[http:// | ||
+ | To do this, add following line to / | ||
+ | <note important> | ||
+ | < | ||
+ | |||
+ | ==== Making Serviio' | ||
+ | < | ||
+ | Usually you go to http:// | ||
+ | |||
+ | Enable proxy module | ||
+ | < | ||
+ | |||
+ | Make a new Apache configuration file | ||
+ | < | ||
+ | |||
+ | Put this inside | ||
+ | < | ||
+ | Require all granted | ||
+ | ProxyPass http:// | ||
+ | ProxyPassReverse http:// | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | Require all granted | ||
+ | ProxyPass http:// | ||
+ | ProxyPassReverse http:// | ||
+ | </ | ||
+ | |||
+ | Enable the new configuration and reload your configuration | ||
+ | < | ||
+ | a2ensite 001-serviio | ||
+ | service apache reload | ||
+ | </ | ||
+ | |||
+ | ==== Setting up a password ==== | ||
+ | Go to < | ||
+ | |||
+ | ~~NOTOC~~ |