• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 121
  • Last Modified:

Install WordPress on Windows Server 2012 R2 offline

Hi All,

I'm looking to replace our Intranet with a WordPress blog.  My company doesn't allow the servers to have internet access, so I need to perform this all offline.

After a little investigation, it seems the Web platform installer now has an offline mode.

http://www.iis.net/learn/install/web-platform-installer/web-platform-installer-v4-command-line-webpicmdexe-rtw-release
https://terrid.me/2012/08/17/using-web-platform-install-command-line-tool-to-perform-offline-installs

So far I've enabled the IIS role on the server and installed Web Platform installer on the Server and my Laptop and can see the web platform command line utility in

Server
C:\Program Files\Microsoft\Web Platform Installer>WebPICMD.exe

Open in new window


Laptop
C:\Program Files\Microsoft\Web Platform Installer>WebpiCmd-x64.exe

Open in new window


Can someone run me through the commands I need to run next?


Many thanks
D
0
detox1978
Asked:
detox1978
  • 2
  • 2
1 Solution
 
William NettmannCommented:
Is IIS running now? Can you go to http://localhost from the browser on the server?

If memory serves, you can install PHP and probably MySQL from the Web Platform Installer as well.

The final step would be WordPress itself, which you will need to download from  a PC with web access, and then copy over to the server.

If the server in question is only going to host WordPress, there are better solutions than a Windows server, though.
0
 
Dan McFaddenSystems EngineerCommented:
The second link you posted, has a run down of the commands to use.

This: https://terrid.me/2012/08/17/using-web-platform-install-command-line-tool-to-perform-offline-installs

Just search the page for "command to create an offline cache" and you will find the commands and the process the author used to accomplish this.

You need the WebPIcmd installed on a device with Internet access in order to create a local cache of the objects you want to install.  The move that cache directory to a USB device, copy it over to the destination server, and run the install command on the offline server.

Dan
0
 
Dan McFaddenSystems EngineerCommented:
Were you able to get the WebPI offline mode to work?

Dan
0
 
William NettmannCommented:
Question answered
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now