Difference between revisions of "Install Drupal on Microsoft Server"

From Organic Design wiki
m (Install PHP)
m (Install PHP)
Line 36: Line 36:
  
 
First [https://www.microsoft.com/downloads/en/details.aspx?FamilyID=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF&displaylang=en#Instructions download] and install Microsoft Visual C++ 2008 Redistributable Package.
 
First [https://www.microsoft.com/downloads/en/details.aspx?FamilyID=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF&displaylang=en#Instructions download] and install Microsoft Visual C++ 2008 Redistributable Package.
 
  
 
Then [http://www.helicontech.com/download-isapi_rewrite3.htm download] and install ISAPI_Rewrite3_0082_Lite.msi. This will accelerate PHP as well as provide (limited) ability to do mod rewrites.
 
Then [http://www.helicontech.com/download-isapi_rewrite3.htm download] and install ISAPI_Rewrite3_0082_Lite.msi. This will accelerate PHP as well as provide (limited) ability to do mod rewrites.
 
  
 
Finally [http://windows.php.net/download/ download] and install PHP non-thread safe (32 or 64 bit as appropriate)
 
Finally [http://windows.php.net/download/ download] and install PHP non-thread safe (32 or 64 bit as appropriate)

Revision as of 02:47, 3 May 2011

Procedure.svg Install Drupal on Microsoft Server
Organic Design procedure


In this example, the remote Windows Server 2003 SP2 with IIS6 is being accessed from an Ubuntu Linux local machine.

Install rdesktop

Download rdesktop from http://www.rdesktop.org/

Install rdesktop in a terminal as root:

  • Extract to any dir and copy as root to /usr/local
  • cd to the rdesktop dir
  • Install as follows
<bash>

% ./configure % make % make install </bash>

  • Navigate to the server using rdesktop servername (or IP), then logon using the username and password that the server owner will (hopefully) have provided you with.

If you get an ERROR: Could not find X Window System headers/libraries, apt-get install libx11-dev

Install Mysql

  • If you are using Drupal 6, you need to use mysql. Drupal 7 can be run on MSSQL.
  • FTP or otherwise transfer the mysql MSI to any folder on the remote server.
  • Install the MSI into (e.g.) c:\mysql, then run MySQLInstanceConfig.exe
  • Go through the install procedure, remembering to allow root access remotely.
  • Test by using the MySQL command utility to check for databases, there should be a test database that you can access.

Install PHP

First download and install Microsoft Visual C++ 2008 Redistributable Package.

Then download and install ISAPI_Rewrite3_0082_Lite.msi. This will accelerate PHP as well as provide (limited) ability to do mod rewrites.

Finally download and install PHP non-thread safe (32 or 64 bit as appropriate)