Mobile/Build/Maemo Running Talos: Difference between revisions

From MozillaWiki
< Mobile‎ | Build
Jump to navigation Jump to search
(New page: DRAFT 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...)
 
No edit summary
Line 1: Line 1:
DRAFT
DRAFT


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.


Copy talos to /media/mmc2/talos
2) Copy talos to /media/mmc2/talos


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


Create a link to the talos page set in /var/www:
This, at some point, should be part of the standard distro.
 
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.
 
 
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
ln -s /media/mmc2/talos/page_load_test/ /var/www/page_load_test
5) run talos.

Revision as of 03:33, 8 May 2008

DRAFT

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

Note that you must use the patch in: https://bugzilla.mozilla.org/show_bug.cgi?id=426444

This, at some point, should be part of the standard distro.

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.


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.