MediaWiki Installation on Windows Server 2003 (WAMP) – Part 4 – MediaWiki

Articles in the Series

The next step is installing MediaWiki.

  1. Download the latest version of MediaWiki
  2. Create a new folder in “C:\Program Files\Apache Software Foundation\Apache2.2\htdocs” folder called “MediaWiki”
  3. Extract the MediaWiki files and copy all of the files into the newly created folder. (don’t copy the folder copy the contents!
  4. Create a new database for MediaWiki in MySQL. I called it “MediaWiki”.
    1. Open a commandline by either
      1. Pressing the ‘Windows key’ and the ‘r’ key together and type “cmd” and hit “ok”.
      2. Clicking the start menu and clicking the “Run…” option to the left of the menu and then typing “cmd” and clicking “OK”
    2. Navigate to the “C:\Program Files\MySQL\MySQL Server 5.1\bin” directory (this may depend on the version you are using. We want to MySql bin directory). You can do this by typing cd “C:\Program Files\MySQL\MySQL Server 5.1\bin” ensuring the quotes are around the path as there are spaces! You may be able to just type mysql if it is in the PATH variable, but here I’m assuming that it is not.
    3. Type “mysql -u root -p passwordhere” where passwordhere is the root users password. The mysql commandline tool will come up.
    4. Type “CREATE DATABASE MediaWiki;” and press enter. (Note the ; at the end…. it is important!!!). Please replace MediaWiki with whatever yo want to call the database
    5. Type “quit;” and press enter. You can then close the commandline.
  5. Open a browser and type http://localhost:8080/MediaWiki/index.php and you should be taken to a page that gives you a link to the setup page… The link says “set up the wiki”
  6. If “Environment checked. You can install MediaWiki” is at the bottom of the “Checking environment…” section then fill in the details and click “Install MediaWiki!”
  7. In the “Database config” section set the database name to whatever the database name is, which in this case is “MediaWiki”. Set the username and password to the account that you want MediaWiki to create in MySql. Check the “Superuser account” checkbox and type the root user password in. This will be used to create the database and a user account that MediaWiki will use to connect to the database.
  8. Click the “Install MediaWiki!” button
  9. When the installation is successful go to the “C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\MediaWiki\config” directory (that is the config directory in the MediaWiki files that are stored in the Apache htdocs folder) and copy the “LocalSettings.php” file to the top level MediaWiki directory (I.E. The parent folder of the one the file is in, or “C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\MediaWiki”)
  10. Either click the “this link” link on the installation page or type http://localhost:8080/MediaWiki/index.php and your will should be up

Done! (Hope it is for you also!)

Advertisements

3 Responses to “MediaWiki Installation on Windows Server 2003 (WAMP) – Part 4 – MediaWiki”

  1. MediaWiki Installation on Windows Server 2003 (WAMP) – Part 2 – MySql « What to call it? Says:

    […] MediaWiki Installation on Windows Server 2003 (WAMP) – Part 4 – MediaWiki […]

  2. MediaWiki Installation on Windows Server 2003 (WAMP) – Part 3 – PHP 5 « What to call it? Says:

    […] MediaWiki Installation on Windows Server 2003 (WAMP) – Part 4 – MediaWiki […]

  3. MediaWiki Installation on Windows Server 2003 (WAMP) – Part 1 – Apache « What to call it? Says:

    […] MediaWiki Installation on Windows Server 2003 (WAMP) – Part 4 – MediaWiki […]


Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: