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/01/10 17:32] zip [1.Download Serviio] |
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 17: | Line 37: | ||
| and replace < | and replace < | ||
| + | |||
| + | If any problems should arise with the system locales, a specific locale can be added to the script right before the path to serviio. | ||
| + | |||
| + | < | ||
| + | script | ||
| + | | ||
| + | end script</ | ||
| + | |||
| + | The system specific locale can be found using the following command. | ||
| + | |||
| + | < | ||
| + | < | ||
| + | C | ||
| + | C.UTF-8 | ||
| + | da_DK.utf8 | ||
| + | en_AG | ||
| + | en_AG.utf8 | ||
| + | en_AU.utf8 | ||
| + | en_BW.utf8 | ||
| + | en_CA.utf8 | ||
| + | en_DK.utf8 | ||
| + | en_GB.utf8 | ||
| + | en_HK.utf8 | ||
| + | en_IE.utf8 | ||
| + | </ | ||
| + | Replace " | ||
| The upstart system now starts the serviio server as soon as all networking jobs have been started: | The upstart system now starts the serviio server as soon as all networking jobs have been started: | ||
| Line 46: | Line 92: | ||
| < | < | ||
| + | ==== 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> | ||
| + | < | ||
| - | ==== 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~~ | + | ==== 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~~ | ||