main | install | faq | rio | redrat | sdk |
Install FilesDownload JReceiver-0.2.5.tar.gz, extract and make a symlink:cd /usr/local tar fvxz /download/JReceiver-0.2.5.tar.gz ln -s JReceiver-0.2.5 jreceiver Specify location in environmentExport an environment variable for the JReceiver directory:export JREC_HOME=/usr/local/jreceiverYou may wish to add this to your /etc/profile |
Install FilesDownload JReceiver-0.2.5.zip and extract toC:\Program FilesAll files will automatically be placed under a JReceiver-0.2.5 folder. If using WinZip, this requires that you have the option "with folder names" enabled! Specify location in environmentSet a system environment variable JREC_HOME for the JReceiver directory:
|
Initialize DatabaseChange to mysql/bin and initialize the database (prompts for your administrator password):mysql -u root -p -e "source $JREC_HOME/etc/jrec_mysql.sql" jreceiver It should complete without any error messages. Start MySQL ClientStart the MySQL client again (prompts for password): ./mysql -u root -p jreceiver |
Initialize DatabaseChange to mysql/bin and initialize the database (prompts for your administrator password):cd "C:\Program Files\MySQL\bin\" mysql -u root -p -e "source %JREC_HOME%\etc\jrec_mysql.sql" jreceiver It should complete without any error messages. Start MySQL ClientStart the MySQL client again (prompts for password): mysql -u root -p jreceiver |
mysql> select * from user;
You should see something like
+--------------+----------------+------------------------------+-------------+ | id | fullname | password | role_id | +--------------+----------------+------------------------------+-------------+ | admin | Administrator | 0DPiKuNIrrVmD8IUCuw1hQxNqZc= | admins | | mgrclient | Manager Client | qUrFc/+mE9oyW2JlMeyZagrvJl4= | untrusted | | riodriver | Rio Driver | /Pt/osmVD8qS6kae97CACEOF7tI= | players | | redratdriver | Redrat Driver | c2nD6B6cNsz71IyviafRFmtCtq0= | controllers | | server | Server User | PeT5Af/7MKxyCw5+tlS0+qLdA/o= | servers | +--------------+----------------+------------------------------+-------------+ 5 rows in set (0.01 sec)
Quit the client
mysql> quit;
$JREC_HOME/etc/jreceiver.properties (linux)
%JREC_HOME%\etc\jreceiver.properties (windows)to modify the database connection details. Replace MYPASSWORD with the password you assigned to user jreceiver_app during MySQL configuration earlier
connection.driver=org.gjt.mm.mysql.Driver connection.url=jdbc:mysql://localhost/jreceiver?useUnicode=true user=jreceiver_app password=MYPASSWORD
connection.url=jdbc:mysql://localhost/jreceiver?useUnicode=true&characterEncoding=SJIS
For a list of available encodings, see 1.3. 1.4.
Launch JReceiverStart JReceiver via the helper script:$JREC_HOME/bin/jrec_jetty.sh start |
Launch JReceiverYou may want to drag the %JREC_HOME%\bin\jrec_jetty.bat script to your desktop as a shortcut for easy launch. Start JReceiver via the helper script: "%JREC_HOME%\bin\jrec_jetty.bat" |
http://HOSTNAME:8080/jreceiver/index.html
You should be forwarded to a logon page. Enter admin for both the user name and password.
If you get an error, review your configuration and more importantly check the console (in which you started jrec) and the servlet log for clues. The servlet log is located in $JETTY_HOME/logs.
If your computer is on an open network where security is a consideration, go to the 'Configuration' 'Users' page and edit the admin user in order to change the password. You should select a complex password consisting of both letters and numbers.
Go to the 'Configuration' 'Root Paths' page and enter one or more root paths for your media library. Save the change.
Go to the 'Configuration' 'Scan for Files' page and start scanning for files.
Finally, create a playlist and try streaming to a desktop player such as WinAmp by clicking on a 'play' link.
Congrats, you've got the JReceiver Server up and running!
ps, consult the faq and trouble pages for more help and performance tips.
NEXT STEP: [Install Rio Driver]
main | install | faq | rio | redrat | sdk |