Synology en
Aus Ultimate Media Collector (UMC) - Wiki
Big thanks to Antho5486 for this Tutorial
Well folks, since I've had some hard time configuring my Syno 207+ in order to get UMC working, I decided to create a small tutorial. Maybe it's basic for most of you but I know some people could need a hand.
My NAS is a Synology 207+ but it should be the same for other Synology products (and even other Linux based systems).
If you are like me and have a Syno 207+ you should already know that it has an Apache server. Yes, but the one pre-installed does not have the required modules for UMC (especially sqlite). I couldn't find a way to install those modules on top of the existing Apache without having to do it each time you upgrade so I decided to install a new instance of Apache.
The aim of this tutorial will be to :
- install and configure an Apache server with required modules
- configuring PCH
Prerequisite: Have IPKG installed on your NAS (you need to have a modded NAS). For more information on how-to do that you can check on wiki
Before starting, I'd like to thank pascal.berger who provided me a few useful links.
Install Apache: In order to do that you need to activate SSH access to your NAS. You can do that directly in the management panel.
Now you've activated SSH, open your terminal and type:
ssh root@NAS_IP
You'll have to enter administrator's password of your NAS, then you'll be connected.
Then, type:
mkdir /volume1/tmp cd /volume1/tmp
you just created a folder named "tmp" in your volume1 (first HDD). You can change this folder's name to whatever you want if you already have a tmp folder.
Now we need to install Apache. Type :
ipkg install php-apache ipkg install php-mysql ipkg install php-pear
When all of these are installed we are going to configure some files. Type:
vi /opt/etc/apache2/httpd.conf
Port
The pre-defined port is 8000, you can decide whether to change it. If you don't your web server will be at http://NAS_IP:8000
Server name
ServerName NAS_IP:8000
Document root
DocumentRoot "/volume1/web"
(if you want to put your files in the web folder of your NAS)
Directory
You need to change the following line to whatever you changed DocumentRoot to. In this example DocumentRoot was set to "/var/www/htdocs" before changed"
Before:
<Directory "/var/www/htdocs">...
After:
<Directory "/volume1/web">
...
php.conf
Make sure this line is in httpd.conf, if not then add it:
Include etc/apache2/conf.d/php.conf
You can now save and quit.
Normally you don't have to change anything in php.conf but make sure the following lines are in it:
LoadModule libexec/libphp5.so AddType application/x-httpd-php.php
Now everything is installed and configured. Apache needs to be restarted for the changes to be made. Type :
/opt/etc/init.d/S80apache restart
If everything has been done well you should be able to display a page.
Type:
vi /volume1/web/phpinfo.php
Then write the followings:
<?php phpinfo(); ?>
Save and quit.
Now open your browser and enter the web address. If you did everything like me it should be http://NAS_IP:8000/phpinfo.php
You should get your PHP information page.
Access from PCH
The most difficult part has been done. You can now create the mediacenter with UMC and put the files in your directory root in a folder named UMC for example.
Then, to access it from your PCH go in Web Services and add one named Mediacenter for instance. Type the following address:
http://NAS_IP:8000/UMC/index.php?destination=home
You should have access to the beautiful UMC's interface.
I hope I have been clear enough and it will help some of you enjoying this wonderful tool that is UMC.

