Labs/Joey/ServerSetup

From MozillaWiki
< Labs‎ | Joey
Revision as of 17:37, 6 April 2007 by Dougt (talk | contribs)
Jump to navigation Jump to search

WORKING ON THIS NOW. ;-)

This page is the How To on setting up a Joey Server


up2date install ImageMagick up2date install httpd up2date install mod_ssl up2date install mysql up2date install mysql-server

up2date install subversion


You will need to setup FFMPEG if you want to play with videos at all. Directions are here. We offer absolutely NO support, so don't send any emails to me about "how do I build ffmpeg". Heck, we barely know how to do it.

http://ffmpeg.mplayerhq.hu/download.html

You might wanna try this configure option "--enable-gpl --enable-memalign-hack --enable-amr_nb".


Pull the Joey Server code:

For anonymous browsing and checkout, use http://svn.mozilla.org. This should be put somewhere where apache can see it.


After a checkout, we have something that looks like:

[dougt@sm-mobile02 joey.labs.mozilla.com]$ pwd
/data/joey.labs.mozilla.com
[dougt@sm-mobile02 joey.labs.mozilla.com]$ ls -al
total 36
drwxr-xr-x   7 dougt root  4096 Apr  6 10:28 .
drwxr-xr-x   4 dougt root  4096 Apr  6 10:20 ..
drwxr-xr-x  11 dougt users 4096 Apr  6 10:28 app
drwxr-xr-x   6 dougt users 4096 Apr  6 10:28 cake
drwxr-xr-x   3 dougt users 4096 Apr  6 10:28 docs
-rw-r--r--   1 dougt users  139 Apr  6 10:28 .htaccess
-rw-r--r--   1 dougt users 2666 Apr  6 10:28 index.php
drwxr-xr-x   7 dougt users 4096 Apr  6 10:28 .svn
drwxr-xr-x   3 dougt users 4096 Apr  6 10:28 vendors


Read over app/config/config.php-dist, and make your copy here:

app/config/config.php

This will contain some interesting and important settings.


You will need to setup the database (will get you the schema url)


Make sure that sqld is running:

sudo /sbin/service mysqld start

cd app/config/sql

mysql



Then you need to have apache point to the joey php code (you will be able to check this out of svn) and have it be owned by apache

You will then need to download and compile ffmpeg (http://ffmpeg.mplayerhq.hu/).