Difference between revisions of "Jinzora"

From SME Server
Jump to navigationJump to search
m
Line 104: Line 104:
 
[[Category: Webapps]]
 
[[Category: Webapps]]
 
[[Category: Dungog]]
 
[[Category: Dungog]]
 +
[[Category: Media Apps]]

Revision as of 16:02, 10 May 2010


Jinzora for SME Server

PythonIcon.png Skill level: medium
The instructions on this page require a basic knowledge of linux.


Maintainer

Dungog.net (Software)

Description

http://www.jinzora.org

Jinzora enables you to stream your digital music and videos to any internet connected computer using a web browser.

Installation

Install from the SME Contribs repository using the following command on the SME Server shell:

yum --enablerepo=smecontribs install smeserver-jinzora

There is no need to reboot.

Setup

touch /opt/jinzora/settings.php
chmod 660 /opt/jinzora/settings.php
chown www.www /opt/jinzora/settings.php

To setup jinzora start your browser with the URL http://servername/jinzora and complete the forms.

Use the Jinzora installer suggestions, if in doubt
Step 4 - the defaults, standalone and streaming
[- or upgrade if upgrading then rm the install directory as below]

Step 5 >
- Backend Type = Database,
- Data Structure = File system,
- Media Layout = Artist, [Ignore Genre, less sorting]

Step 6 > Mysql values
- databasename 'jinzora2'
- user 'jinzora'
- find mysql password with 'config show jinzora' [see extra settings below]
- Create Database : false, but ignore any warnings.

Step 7 - enter the full path to your music
eg. /home/e-smith/files/ibays/dungog/files/music/
php open_basedir expects the music to be in an ibay
[symlinks don't work, mounting drives under ibays should, eg your mp3 player]

after installed, rm -rf /opt/jinzora/install

if setup gets confused, drop the database and reinstall jinzora

WARNING - long tracks, say over ten minutes, cause the web server to slow down requiring:

/etc/rc.d/init.d/httpd-e-smith restart

Upgrade

Jinzora does require you to go through the set up again, if your lucky it can take under a minute, choose upgrade on step 4 if things go badly, eg you enter a wrong value or you loose your settings.php and the setup gets confussed, you can force the reinstall of jinzora with rpm -Uvh --force jinzora-2.7.5-1.noarch.rpm

From the Manual - Upgrading Jinzora is generally a very simple process. If you are running a Jinzora 2.x release to upgrade simply download the package and replace all files in your current Jinzora installation with the new files. When you reload the Jinzora home page you will be taken through the Jinzora installer if necessary and if possible you may simply upgrade your existing installation rather than needing a full re-install. The installer has logic built in to know what it needs to do for you.

Incremental verision upgrades (2.3.2 to 2.3.3) do not require any intervention on your part. Simply replace the files and you should be all set. Minor and major version upgrades (2.2.x to 2.3.x or 2.2.x to 3.x when available) require going back through the installer and choosing "Upgrade".

Usage

Usage -> Yourserver.net/jinzora/

External / Local Access

Log in as root to your SME and the ONE of the following you need:

- if you want only local access (default)

config setprop jinzora PublicAccess local

- if you want only local access with a password authentification

config setprop jinzora PublicAccess local-pw

- if you want access from LAN and WAN without password

config setprop jinzora PublicAccess global

- if you want access from LAN and WAN with password

config setprop jinzora PublicAccess global-pw

- if you want access from everywhere with password only from WAN

config setprop jinzora PublicAccess global-pw-remote


Then do:

expand-template /etc/httpd/conf/httpd.conf
service httpd-e-smith restart

Uninstallation

rpm -e jinzora smeserver-jinzora

To remove mysql database and user, both are jinzora, see MySQL#Remove a database and MySQL#Remove a user. There is no need to reboot.

Bugs

Please raise bugs under the SME-Contribs section in bugzilla and select the smeserver-jinzora component or use this link .