Mobile/Build/Maemo Running Talos: Difference between revisions

From MozillaWiki
< Mobile‎ | Build
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
DRAFT
 
== Set up ==


1) Install the Nginx web server from [http://maemo-hackers.org/nginx.install].  I choose Nginx because there is a precompiled version available.  If we find that this does not work, we probably can cross-compile apache or lighttpd for testing purposes.
1) Install the Nginx web server from [http://maemo-hackers.org/nginx.install].  I choose Nginx because there is a precompiled version available.  If we find that this does not work, we probably can cross-compile apache or lighttpd for testing purposes.
Line 5: Line 6:
2) Copy talos to /media/mmc2/talos   
2) Copy talos to /media/mmc2/talos   


Note that you must use the patch in:
3) As root, start nginx as: /usr/sbin/nginx
https://bugzilla.mozilla.org/show_bug.cgi?id=426444


This, at some point, should be part of the standard distro.
4) Create a link to the talos page set in /var/www:


Also, i have found that I needed to increase the |sleep| time to 60 in various places in the talos source.  Doing a search for "sleep", you will find a few places.  We need to identify which places are requirement and what the smallest value is.
ln -s /media/mmc2/talos/page_load_test/ /var/www/page_load_test


5) run talos.


3) As root, start nginx as:  /usr/sbin/nginx


4) Create a link to the talos page set in /var/www:
== Known Issues ==


ln -s /media/mmc2/talos/page_load_test/ /var/www/page_load_test
Note that you must use the [patch
https://bugzilla.mozilla.org/show_bug.cgi?id=426444].  Soon this should just be part of the standard talos install.


I have found that I needed to increase the |sleep| time to 60 in various places in the talos source.  Doing a search for "sleep", you will find a few places.  We need to identify which places are requirement and what the smallest value is.  See [bug https://bugzilla.mozilla.org/show_bug.cgi?id=432764]


5) run talos.
It takes a LONG time.

Revision as of 04:22, 8 May 2008

Set up

1) Install the Nginx web server from [1]. I choose Nginx because there is a precompiled version available. If we find that this does not work, we probably can cross-compile apache or lighttpd for testing purposes.

2) Copy talos to /media/mmc2/talos

3) As root, start nginx as: /usr/sbin/nginx

4) Create a link to the talos page set in /var/www:

ln -s /media/mmc2/talos/page_load_test/ /var/www/page_load_test

5) run talos.


Known Issues

Note that you must use the [patch https://bugzilla.mozilla.org/show_bug.cgi?id=426444]. Soon this should just be part of the standard talos install.

I have found that I needed to increase the |sleep| time to 60 in various places in the talos source. Doing a search for "sleep", you will find a few places. We need to identify which places are requirement and what the smallest value is. See [bug https://bugzilla.mozilla.org/show_bug.cgi?id=432764]

It takes a LONG time.