Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mediawiki/Wikipedia How do I set this up?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Rukie
l33t
l33t


Joined: 26 Jan 2004
Posts: 692
Location: SE Wi, Home of cheese and cowtippers.......

PostPosted: Tue Jan 16, 2007 1:06 am    Post subject: Mediawiki/Wikipedia How do I set this up? Reply with quote

Alright, I've got my laptop, but I spend the majority of my time without an internet connection. I'd like to download the wikipedia database in SQL/XML form and set it up on my own wikipedia/apache2 server. The only thing is, I don't know how to set up wikipedia witht he downloads from http://download.wikimedia.org/enwiki/latest/

Do I install apache2, mysql, mediawiki, and then import the sql databases or something?
Anyhelp would be appreciated here (the sql/xml SHOULD be smaller than plain html documents, right?)


Thanks for any help!
_________________
Gentoomania! Support the Open Source!
http://www.rukie.ath.cx
Back to top
View user's profile Send private message
Rukie
l33t
l33t


Joined: 26 Jan 2004
Posts: 692
Location: SE Wi, Home of cheese and cowtippers.......

PostPosted: Tue Jan 16, 2007 1:59 pm    Post subject: Reply with quote

Does anyone have any experience importing wikipedia databases?
_________________
Gentoomania! Support the Open Source!
http://www.rukie.ath.cx
Back to top
View user's profile Send private message
GoofballJM1
Guru
Guru


Joined: 22 Mar 2004
Posts: 392
Location: Denver, CO USA

PostPosted: Tue Jan 16, 2007 4:54 pm    Post subject: Reply with quote

This may help you getting going. If it's using MySQL, you would need to import the MySQL database file. It ends in with a .sql extension. Once you have MySQL running and functioning type this into a command prompt

Found this searching on google
Code:
mysql -p -h dbname < /path/to/dbname.sql


dbname would be the name of your database within MySQL, and dbname.sql is the mediawiki sql script to set up your database.

Hope this helps! :-D
_________________
"Great spirits have often encountered violent opposition from weak minds." - Albert Einstein
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum