vielleicht wissen einige von euch dass man wikipedia auch auf seinem eigenen rechner installieren kann!
folgendes habe ich bereits gemacht:
1.xampp installieren
2.wikipedia läuft unter "localhost/dewiki"
jetzt mein problem: ich will jetzt die daten von wikipedia importieren!
dazu steht in der Anleitung folgendes:
kann mir einer von euch Profis sagen was ich da machen muss?
folgende speicherorte haben die dateien:
bzip2.exe ->C:\
bz2-datei ->C:\pages_current.xml.bz2
importdump.php ->C:\programme\xampp\htdocs\dewiki\maintenance\importdump.php
wenn ich den 2. befehl (den hinter dem "|") mit dem "php" davor tippe sagt der nur"der befehl php wurde nicht gefunden oder..." wenn ichs ohne php tippe öffnet der die php-datei mitm editor!
ist das "php" davor auch ne variable???
please help me!
folgendes habe ich bereits gemacht:
1.xampp installieren
2.wikipedia läuft unter "localhost/dewiki"
jetzt mein problem: ich will jetzt die daten von wikipedia importieren!
dazu steht in der Anleitung folgendes:
Import
******* The importing database dump and rebuilding index take a long long time (more than 3 days for english wikipedia with 1 Gb RAM and Intel P4 2.66 GHz).
Is there any method to speed it up? There are some database parameters tunning, but only help a little. Is there any better methods?
The dumps are compressed with bzip2. Windows users probably don't have bzip2 installed, but most Linux, Unix, and Mac OS X users will have it preinstalled. A Win32 executable is available from sources.redhat.com/bzip2/
You probably don't want to decompress the file "in-place" as this will just waste disk space. Decompress it on-the-fly while importing it into the database:
bzip2 -dc cur_table.sql.bz2 | mysql -u myusername -p mydatabasename
bzip2 -dc cur_table.xml.bz2 | php importDump.php
(you may add directory infront of command and files to let it excute normally!)
This may take a while, and it's normal to get no feedback until it's finished and exits. Just sit back and watch your free space go down!
kann mir einer von euch Profis sagen was ich da machen muss?
folgende speicherorte haben die dateien:
bzip2.exe ->C:\
bz2-datei ->C:\pages_current.xml.bz2
importdump.php ->C:\programme\xampp\htdocs\dewiki\maintenance\importdump.php
wenn ich den 2. befehl (den hinter dem "|") mit dem "php" davor tippe sagt der nur"der befehl php wurde nicht gefunden oder..." wenn ichs ohne php tippe öffnet der die php-datei mitm editor!
ist das "php" davor auch ne variable???
please help me!
Falcon, ich bin stolz auf dich! [Forentreffen 2007]
Buzzophil!!!!111einseinseinself [Forentreffen 2009]
Buzz brummt! [Forentreffen 2010]
"Chris?" - "Welcher?" [Forentreffen 2011]
Buzzophil!!!!111einseinseinself [Forentreffen 2009]
Buzz brummt! [Forentreffen 2010]
"Chris?" - "Welcher?" [Forentreffen 2011]