[Server-devel] Schools Wikipedia

David Leeming david at leeming-consulting.com
Sun Mar 28 21:34:29 EDT 2010


What's the best way to automate this, so it starts up when the XS is started
without the need for people to enter the python server command line?


Hi,

   > The current Wikipedia activities already work as web servers on
   > the XS, and require much less space due to the content being
   > compressed -- for Spanish, 25,000 articles and 3,000 images in
   > 100MB.

David pointed out that this isn't actually documented anywhere.  :)

Here's the HOWTO.  On a fresh XS, for English WP:

$ wget http://dev.laptop.org/~cjb/enwiki/WikipediaEN-4.xo
$ unzip WikipediaEN-4.xo 
$ cd WikipediaEN.activity/
$ python server.py en_US_g1g1/en_US_g1g1.xml.bz2 4567

.... then you can browse to http://schoolserver:4567/ on an XO or other
machine.

For Spanish, get http://dev.laptop.org/~cjb/eswiki/Wikipedia-11.xo and
replace en_US_g1g1 with es_PE.

- Chris.
-- 
Chris Ball   <cjb at laptop.org>
One Laptop Per Child





More information about the Server-devel mailing list