次の方法で共有


How to stand up a MediaWiki on Windows Server 2012 (10 easy steps with pictures)

Step 1.  Setup Windows Server 2012 (see my build a lab series for that if you don’t know how).

Step 2.  Patch it and name it blah blah.

Step 3.  Download Microsoft Web Platform 4.5:

https://www.bing.com/search?setmkt=en-US&q=microsoft+web+platform+4.5

Step 4.  Run it.

image

Step 5.  Click Database, then “MySQL Windows 5.1” and click “Add”

image

Step 6.  Click “Applications” and Select “Wiki on the left to sort it, then click “MediaWiki” and click “Add”.

image

Step 7.  Click “Install” and let ‘er rip!

Step 8.  Configure Password to a strong password.

image

Step 8.  Click Continue and then Check the box, help the people who write code to get feedback on their installers, and hit “I Accept” (or don’t, that’s cool too, you still need to hit “I Accept, but you don’t need to check the box).

image

Step 9.  Grab a drink and wait:

image

image

image

Filling in a pw here (pretty sure this should match what we put above, if not I’ll change it later):

image

Whee

image

After clicking finish it opens an IE 10 window to local host.  It looks like there was a bug where there were // instead of / after ‘localhost’ so I removed one and hit enter.  Then I got prompted to turn on “Intranet Security” as it was currently disabled on my 2012 Server (action bar at the bottom of the browser window).  After I did that I got this:

image

Step 10.  Do wiki stuff!  Share and enjoy!

-The Dude

Comments

  • Anonymous
    January 01, 2003
    Awesome step-by-step, VERY helpful to me. Thank you!!
  • Anonymous
    January 01, 2003
    Don thanks for that. I appreciate this helped someone, means a lot to know it :)

    best,
    Jeff
  • Anonymous
    July 23, 2014
    Any experience installing an LDAP extension on 2012 R2? Will it work?
  • Anonymous
    January 19, 2015
    @Bjorn - the LDAP extenstion works on 2012 R2
    A bit of a headache till u make it work but it does for sure.
  • Anonymous
    February 19, 2015
    Thanx for doing this sep-by-step manual ..... !!!
  • Anonymous
    March 18, 2015
    Thank you so much for this
  • Anonymous
    May 15, 2015
    Man they need to update the mediawiki install page and link it to this article.
    Their install instructions were giving me a headache with configuring PHP and what not.
  • Anonymous
    July 10, 2015
    I agree with Don. Jeff, I find this very helpful too. I only wish that MySQL and MediaWiki were two different packages. For our installation, MySQL will be on its own server.
  • Anonymous
    October 14, 2015
    How on earth do you get the extensions operational in this method. The LocalSettings.php is all funky...
  • Anonymous
    November 04, 2015
    Hey thanks :)

    Yeah i guess in theory you could always uninstall MySQL later or something. Hm.
  • Anonymous
    January 18, 2016
    The comment has been removed
  • Anonymous
    November 03, 2016
    Is anyone else experiencing the following error? (below) I have scoured the internet for a fix and have yet to find one. Tried Visual C++ 2012, tried different versions of PHP; 5.5 and 7.0, verified IUSR permissions, etc. I'm at my wits end.HTTP Error 500.0 - Internal Server ErrorC:\Program Files\PHP\v7.0\php-cgi.exe - The FastCGI process exited unexpectedly
    • Anonymous
      December 02, 2016
      I'm getting the same error. Still not sure why.
  • Anonymous
    November 03, 2016
    More info on my error...Module FastCgiModuleNotification ExecuteRequestHandlerHandler PHPviaFastCgiError Code 0xc000007bRequested URL http://localhost:80/mediawiki/index.phpPhysical Path C:\inetpub\wwwroot\mediawiki\index.phpLogon Method AnonymousLogon User Anonymous
    • Anonymous
      December 27, 2016
      If you're running PHP 5.5.x you need to ensure the VC++11 runtime is installed:http://www.microsoft.com/en-us/download/details.aspx?id=30679
  • Anonymous
    November 28, 2017
    The comment has been removed
    • Anonymous
      November 29, 2017
      Yeah I can try to do that tonight np.