How To Install And Setup Jinzora Media Server In Ubuntu

jinzora

If you have a huge collection of music and would like to build a media streaming server to manage your collection, then Jinzora is the right one for you.

Jinzora is a Web based media streaming and management system. It is supported in various platforms and it allows you to access your music collection from any devices over the Internet.

Pre-installation

Before you can install Jinzora, you must set up a Web server first. If you have not done so, follow this tutorial to install LAMP on your Ubuntu machine.

Go to Jinzora and download the latest stable release for Linux/MacOS. (The current stable version is Jinzora 2.7.5)

Using Archive manager, extract the Jinzora2 folder to your home.

On the terminal (Applications -> Accessories -> Terminal), copy the Jinzora2 folder to the root of the Web server

sudo cp jinzora2 /var/www
sudo cp -r jinzora2 /var/www

Run the configure script to change the file permission

cd /var/www/jinzora2
sudo sh configure.sh

Next, install the required files.

sudo apt-get install php5-gd
sudo /etc/init.d/apache2 restart

Change php.ini setting

Some of the default setting in the php.ini did not meet the requirement of Jinzora2. We have to change it in order for Jinzora to work.

gksu gedit /etc/php5/apache2/php.ini

Search for

memory_limit = 16M      ; Maximum amount of memory a script may consume (16MB)

and change to the value to 64.

Search for

max_execution_time = 30     ; Maximum execution time of each script, in seconds

and change the value to 300

Search for

post_max_size = 8M

and change the value to 32

Search for

upload_max_filesize = 2M

change the value to 32

Save and close the file. You are now set to install Jinzora

Installing Jinzora

1. Open your browser, point the URL to http://localhost/jinzora2

You will be greeted with Jinzora Welcome screen

alt=”jinzora-welcome-small” />

Below the page, click the ‘Proceed to Requirements‘ to continue the installation.

2. Jinzora will now check your system to see if it meets the minimum requirement. Since we have installed the necessary files and do the required configuration in the pre-installation, you shouldn’t have any issue in this step (or see any fields in red).

jinzora-requirement-small

Click the ‘Proceed to License‘ to continue.

3. This will bring you to the license agreement page. Check the box and click the ‘Proceed to Install Type‘.

jinzora-license-small

4. Under the Installation Type dropdown box, select Standalone.

Under the Jukebox Mode, choose Streaming Only. If you plan on running a server side Jukebox utilizing MPD, select Jukebox & Streaming (We won’t be covering that in this tutorial).

jinzora-type-small

Click ‘Proceed to Main Settings‘ to continue.

5. Here is where you configure your Jinzora account.

jinzora-setting-small

Set up the admin login credential.

Under the ‘Backend‘ dropdown box, select Database.

Under the ‘Frontend‘ dropdown box, you can choose how the Jinzora looks like in the web browser. This is not a permanent setting and can be changed later on. For a start, just select ‘Slick’.

Import Settings define how Jinzora handles your media tracks. If you have been diligently organize your audio files in proper folder order, select ‘Filesystem‘ under Data Structure. On the other hand, if you have carefully enter the meta data for each tracks, but all the tracks are jumbled up in one folder, select ‘Tag data’ under Data Structure.

Under the Media layout, select how you want Jinzora to display your media files – by Genres, Albums or Artists.

Once done, click ‘Proceed to Backend Setup‘ to proceed

jinzora-backend-small

In the backend setup, enter your MySQL username and password in the ‘Database User‘ and ‘Database password‘ fields (this is the same data as the one you entered when you install LAMP on your system).

Give your database a name (In this case, I labeled it ‘jinzora2′. You can give other name though). Make sure that the Database Server is set to ‘Localhost‘, Database Type is ‘MySQL‘ and Create database is set to ‘True‘ (This is important! If you did not set the Create Database to True, Jinzora will not create a database and the whole installation will fail).

Click ‘Proceed With Backend Install

Jinzora will proceed to install the database. If everything is fine, it will show the Create Database successful screen.

jinzora-mysql-install-small

There is nothing much to do in this page. Click ‘Proceed to import Media

7. In the Media Directory field, enter the file path to your media files. If you are not sure, click the ‘browse‘ button to locate your media folder. If you keep your media files at more than one location, don’t worry, you have a chance to import them all in the next step. Right now, just select one of the locations.

jinzora-media-small

Click ‘Import Media’.

Depending on the number of media files you have, this importing process might take a long time.

jinzora-media2-small

If you still have media files scattered in other locations, enter the file path and click ‘Import Media‘, else, click ‘Proceed to Save Config‘.

8. You have come to the end of Jinzora installation.

jinzora-saveconfig-small

Click ‘Proceed to launch Jinzora‘ to launch Jinzora.

9. Before you launch Jinzora, it will ask if you want to share your annonymous stats. This is purely optional. If you are kind enough, select the ‘Share annonymous stats’, else select ‘No, thanks‘.

jinzora-stat-small

Click ‘Launch Jinzora’. Don’t worry, we are getting there.

You will now see the Jinzora login screen. Login with your username and password.

jinzora-login

In the next screen, you will see an error message requesting you to remove the Install directory.

jinzora-error

Now, back to your terminal, type the following:

sudo rm -R /var/www/jinzora2/install

Once done, refresh your browser. You should be logged in to the Jinzora home page.

jinzora-screenshot1-small

On the left pane lies all the configuration options. You can change the look and style of Jinzora via the Interface and Style setting located at the bottom of the left pane.

jinzora-screenshot2-small

If you want to access Jinzora from an external terminal, either in a cybercafe or with your mobile PDA, you can reach it by pointing the URL to http://your-ip-address:8888/jinzora2. You will have to enable the 8888 port to make this works. If you are not sure how to enable the 8888 port, check out www.portforward.com for detailed instructions.