Tuesday, October 31, 2006

Re-constructing Wikipedia

My research work requires re-construction of Wikipedia on a local PC. Before this I didn't know this could be done. These are the steps required for getting a local version of Wikipedia running on your Desktop PC or laptop. Minimum requirements are php5, mediawiki 1.7, Linux (duh!) and around 8 Gig's of Free space.


  • Install Mediawiki by following these steps (Debian specific).
  • Configure it in the normal manner you configure any mediawiki installation.
  • Download the latest Wikipedia dump. I got the pages-articles dump.
  • bunzip2 enwiki-latest-pages-articles.xml.bz2
  • Move to the maintenance directory of the mediawiki installation. On Debian systems this would be in /var/lib/mediawiki1.7/maintenance.
  • cat enwiki-latest-pages-articles.xml | php5 importDump.php


If you view your mediawiki from your browser and visit a random page, you should be able to see the Wikipedia articles which got imported.


Technorati Tags :, ,

Labels:

4 Comments:

At 6:53 AM, November 03, 2006, Blogger RamantheB said...

the wikipedia mysql dump is 40 gb + you can get it done with 8 gb ?

 
At 9:46 AM, November 03, 2006, Blogger Toufeeq said...

I'm talking only about the english articles here. And the file is an xml file which is imported in to he MySQL DB. It should bubble up to around 15+ GB's however once it goes into Mysql.

 
At 5:01 PM, November 14, 2009, Blogger Adi said...

Find Internet Marketing resource hare Online Marketing Strategy Internet Marketing Tools Online Marketing Campaign Online Marketing Business Online Marketing System Online Business Online Home Business Online Business Tips Internet Marketing Online Online Marketing Affiliate Marketing Online Marketing Success Selling Online Free Online Marketing Online Marketing Tools Online Marketing Blog

 
At 6:47 PM, December 02, 2009, Blogger Adi said...

Oes Tsetnoc one of the ways in which we can learn seo besides Mengembalikan Jati Diri Bangsa. By participating in the Oes Tsetnoc or Mengembalikan Jati Diri Bangsa we can improve our seo skills. To find more information about Oest Tsetnoc please visit my Oes Tsetnoc pages. And to find more information about Mengembalikan Jati Diri Bangsa please visit my Mengembalikan Jati Diri Bangsa pages. Thank you So much.
Oes Tsetnoc | Semangat Mengembalikan Jati Diri Bangsa

 

Post a Comment

Links to this post:

Create a Link

<< Home

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 2.5 License. My Way My blog. Toufeeq Hussain