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/07/28 21:52]
zip [4.Enabling Remote Console Access From Windows (credit to forum member tvkdlna)]
howto:linux:install:ubuntu [2016/11/10 15:37] (current)
7upman [3.Ubuntu Server Startup Script (credit to forum member jonolafur)]
Line 27: Line 27:
 </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 92: Line 95:
 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 103: 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 116: 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.1469742720.txt.gz · Last modified: 2016/07/28 21:52 by zip