Jinzora - web based multimedia application
From NAS-Central Buffalo - The Linkstation Wiki
(→Install: Changed link to dynamic link for latest stable release) |
|||
| (9 intermediate revisions not shown) | |||
| Line 4: | Line 4: | ||
== Requirements == | == Requirements == | ||
| - | You will need to install: | + | You will need to install '''either''': |
| - | # [[ | + | # [[Apache_HTTP_server%2C_installing | LAMP (Apache & MySQL)]] - Install Apache, MySQL and PHP (sections 1.1, 1.2 and 1.4) |
| - | # [[ | + | # [[Lighttpd_with_mysql_and_php_%28LLMP%29 | LLMP (Lighttpd & MySQL)]] |
| - | # [[ | + | # [[Lighttpd_with_Sqlite_and_Php_%28LLSP%29 | LLSP (Lighttpd & Sqlite)]] |
| + | '''and ''' | ||
# [http://www.boutell.com/gd/ GD] (for this I simply did a...) | # [http://www.boutell.com/gd/ GD] (for this I simply did a...) | ||
apt-get install php4-gd | apt-get install php4-gd | ||
| + | or | ||
| + | apt-get install php5-gd | ||
| + | depending on what version of PHP you are using | ||
== Install == | == Install == | ||
| + | Assuming your webroot is '''/var/www''', | ||
cd /var/www | cd /var/www | ||
| - | <nowiki>wget http:// | + | <nowiki>wget http://get.jinzora.com/jz2current.tar.gz</nowiki> |
| - | + | ||
| - | Once downloaded untar it and it will create a directory called 'jinzora2'<br> | + | Once downloaded untar it and it will create a directory called 'jinzora2'. At the time of writing, the latest stable version is 2.7.5. If a newer version has been released, change the filename as necessary.<br> |
Once untarred you need to enter that directory and run the 'webinstaller' | Once untarred you need to enter that directory and run the 'webinstaller' | ||
| - | tar -zxvf | + | tar -zxvf jz275.tar.gz |
cd jinzora2 | cd jinzora2 | ||
sh configure.sh | sh configure.sh | ||
| Line 46: | Line 51: | ||
[[Image:Jinzora02.JPG|250px]] | [[Image:Jinzora02.JPG|250px]] | ||
| - | Take note of the recommended settings, I changed mine accordingly | + | Take note of the recommended settings, I changed mine accordingly, either |
pico /etc/php4/apache/php.ini | pico /etc/php4/apache/php.ini | ||
| + | or | ||
| + | pico /etc/php5/apache/php.ini | ||
| + | depending on what you are using | ||
;;;;;;;;;;;;;;;;;;; | ;;;;;;;;;;;;;;;;;;; | ||
| Line 79: | Line 87: | ||
; Maximum size of POST data that PHP will accept. | ; Maximum size of POST data that PHP will accept. | ||
post_max_size = <strike>8M</strike> <font color=red>32M</font> | post_max_size = <strike>8M</strike> <font color=red>32M</font> | ||
| + | |||
| + | === SQLite === | ||
| + | |||
| + | If you are using SQLite Step 6 may create the database, but then fail to connect to it - make it readable | ||
| + | chown -R www-data:www-data /var/www/jinzora2 | ||
== Jukebox Mode == | == Jukebox Mode == | ||
Latest revision as of 01:24, 24 December 2007
![]()
© 2004-2005 Jinzora™ - All rights reserved
Contents |
Requirements
You will need to install either:
- LAMP (Apache & MySQL) - Install Apache, MySQL and PHP (sections 1.1, 1.2 and 1.4)
- LLMP (Lighttpd & MySQL)
- LLSP (Lighttpd & Sqlite)
and
- GD (for this I simply did a...)
apt-get install php4-gd
or
apt-get install php5-gd
depending on what version of PHP you are using
Install
Assuming your webroot is /var/www,
cd /var/www wget http://get.jinzora.com/jz2current.tar.gz
Once downloaded untar it and it will create a directory called 'jinzora2'. At the time of writing, the latest stable version is 2.7.5. If a newer version has been released, change the filename as necessary.
Once untarred you need to enter that directory and run the 'webinstaller'
tar -zxvf jz275.tar.gz cd jinzora2 sh configure.sh
It should say
You are now in setup mode. Please direct your web browser to the directory where you installed Jinzora and load index.php - you will then be taken through the complete setup
Run it
So, if you saw that do as it says
http://<LinkstationIP>/jinzora2/index.php
You should see this
The web based installer is fully documented and should describe each option that you'll have along the way.
Next page should display
Take note of the recommended settings, I changed mine accordingly, either
pico /etc/php4/apache/php.ini
or
pico /etc/php5/apache/php.ini
depending on what you are using
;;;;;;;;;;;;;;;;;;; ; Resource Limits ; ;;;;;;;;;;;;;;;;;;; max_execution_time =30300 ; Maximum execution time of each script, in seconds max_input_time =60600 ; Maximum amount of time each script may spend parsing requ$ memory_limit =8M32M ; Maximum amount of memory a script may consume (8MB)
;;;;;;;;;;;;;;;; ; File Uploads ; ;;;;;;;;;;;;;;;; ; Whether to allow HTTP file uploads. file_uploads = On ; Temporary directory for HTTP uploaded files (will use system default if not ; specified). ;upload_tmp_dir = ; Maximum allowed size for uploaded files. upload_max_filesize =2M32M
;;;;;;;;;;;;;;;;; ; Data Handling ; ;;;;;;;;;;;;;;;;; ; ; Maximum size of POST data that PHP will accept. post_max_size =8M32M
SQLite
If you are using SQLite Step 6 may create the database, but then fail to connect to it - make it readable
chown -R www-data:www-data /var/www/jinzora2
Jukebox Mode
I decided that I'd like to play music (jukebox via mpd) on my Linkstation via browser aswell as stream from my Linkstation, but get "error on page" when I try to play directly on my LS. Need to look into that.
Here's how I solved that, it appeared that mpd was looking for oss when I was using alsa.
Firstly check mpd is part of audio group
adduser mpd audio
Should return you with this
The user `mpd' is already a member of `audio'.
apt-get install alsa-oss
Then a line needs to be added to the mpd.conf
ao_driver "also09"
This should add that line automatically
echo ao_driver \"alsa09\" >> /etc/mpd.conf
Restart mpd and goto Jinzora to test.
At the very end the installer you'll be given the option to submit anonymous stats about your Jinzora installation.
Bauldrick 06:21, 5 July 2006 (EDT)
| This article is currently a stub. You can help this Wiki by expanding it . This template will categorize articles that include it into Category:Stubs. |

