Getting the Windows Azure Pre-Requisites Via Manual Installation

Author: Jas Sandhu

Date: Monday, December 27, 2010, 12:00:00 AM

Tags:

Table of Contents

You have arrived at this page through an old link. The content here has been deprecated and is kept for archival purposes only. Please update your bookmark/link to point to: ; /articles/setup-the-windows-azure-development-environment-manually

;

Windows Azure offers a "local cloud development platform", which lets you test and debug on your local Windows machine before you actually deploy to the cloud. This article explains how you can manually install and configure the different elements (IIS, PHP, Windows Azure SDK, etc.).

Alternatively you can choose to install and configure all of this using the Web Platform installer (see the article, " Getting the Windows Azure pre-requisites via the Microsoft Web Platform Installer 3.0"). It's easier to use the Web Platform installer, but installing and configuring manually gives you a better understanding of all the pieces that are working together.

Step 1: Before you start; the initial requirements

The Windows Azure SDK 1.4 supported Operating Systems are: Windows 7;Windows 7 Enterprise;Windows 7 Home Premium;Windows 7 Home Premium 64-bit;Windows 7 Professional;Windows 7 Professional 64-bit;Windows 7 Ultimate;Windows 7 Ultimate 64-bit;Windows Server 2008 R2;Windows Server 2008 Service Pack 2;Windows Vista Service Pack 2 ( from this link)

For the latest updates on installation notes and requirements visit the "Standalone Windows Azure SDK" section on MSDN.

Step 2: Microsoft .NET Framework

The Windows Azure SDK requires the .NET Framework 3.51. If you are running Windows 7, Windows Vista SP2 or Windows Server 2008 SP2, you should be covered. If you are running an operating system prior to Windows Vista Service Pack 2 or Windows Server 2008 Service Pack 2, apply the following guidance: http://msdn.microsoft.com/en-us/library/gg465715.aspx#MSNET

Step 3: Enable and Configure IIS 7.0 settings and FastCGI

On Windows Server 2008:
  1. Click the Start button, and then point to All Programs. Point to Programs, point to Administrative Tools, and then click Server Manager.
  2. In Server Manager, under Roles Summary, verify that Web Server (IIS) appears in the list of available roles. If it does not, click Add Roles to install IIS.
  3. In Server Manager, under Roles Summary, click Web Server (IIS).
  4. In the Web Server (IIS) management window, click Add Role Services.
  5. In the Add Role Services dialog box, under Application Development, click both ASP.NET and Static CGI, then click Next to install.
On Windows 7/Windows Vista:

1. Click the Start button, and then click Control Panel.

clip_image001

2. Click on Programs,

clip_image002clip_image003

3. Then click Programs and Features.

clip_image004

4. In the Program and Features dialog box, click Turn Windows features on or off.

clip_image005

5. Expand Internet Information Services, expand Web Management Tools and then select IIS Management Console, IIS Management Scripts and Tools and IIS Management Service.

6. Expand World Wide Web Services, expand Application Development Features, and then select both ASP.NET and CGI.

7. Expand Common HTTP Features, and then select Default Document, Directory Browsing, HTTP Errors and Static Content.

clip_image006

8. Install the selected features by clicking OK.

Important: Make sure you have the latest service pack and critical updates for the version of Windows that you are running. To find recent security updates, use Windows Update.

Step 4: Downloading the Windows Azure SDK

Note: if you are upgrading from previous version of the SDK, you must exit any currently running versions of the Windows Azure Simulation Environment before installing the new SDK.

The SDK is available in a 64-bit version and a 32-bit version.

Note: The 32-bit version of the SDK cannot be installed on a 64-bit operating system. Running the SDK under Microsoft Windows-32-bit-On-Windows-64-bit (WOW64) is not supported.

You should check to see which operating system type your machine is running. Click the Start button, then right-click on Computer, and select Properties.

clip_image007

clip_image008

You will need to download the latest version of the Windows Azure SDK here: http://www.microsoft.com/downloads/en/details.aspx?FamilyID=7A1089B6-4050-4307-86C4-9DADAA5ED018&displaylang=en

Next, select the file you wish to install, -x64 for 64-bit or -x86 for 32-bit:

clip_image009

Click Run and follow the installation instructions:

clip_image010

clip_image011

clip_image012

clip_image013

When installation is complete, you should see the Windows Azure SDK on the Start menu. The Menu should now include, under \Programs\Windows Azure SDK v1.4, the following icons:

clip_image014

At this point, you can start the Windows Azure Compute Emulator to verify that everything went well. Just launch the "Storage Emulator" from the Start Menu:

clip_image015

Or from here:

clip_image016

The Compute Emulator should start:

clip_image017

Step 5: Downloading and installing SQL Server Express

Although installing SQL Server is optional, it's recommended that you get it. SQL Server is used by the Windows Azure Storage Emulator, which provides the features for blobs, queues and tables. If you already have either SQL Express 2005 or SQL Express 2008 or Microsoft SQL Server, then you can skip this step.

Otherwise, you can install the free SQL Express edition from here:
http://www.microsoft.com/express/Database/InstallOptions.aspx

Pick the 32-bit or 64-bit "Database Only" edition:

clip_image018

Once the installer is downloaded (about 60MB), launch the setup.

1. Select "New Installation":

clip_image019

2. Accept the license terms:

clip_image020

3. Choose features (leave at default), and click "Next":

clip_image021

4. Instance configuration (leave at default), and click "Next":

clip_image022

5. Server configuration (leave at default), and click "Next":

clip_image023

6. Database engine configuration (leave at default), and click "Next":

clip_image024

7. Finish:

clip_image025

8. At this point, you can start the Windows Azure Storage Emulator to verify that everything went well. Just launch the "Storage Emulator" from the Start Menu:

clip_image026

Or from here:

clip_image027

9. And the result should be:

clip_image028

Step 6: Getting and Installing PHP

If you already have a configured version of PHP on your machine, you may skip this step and proceed to " Deploying your first PHP application with the Windows Azure Command-line Tools for PHP"

If you do not have a configured version of PHP on your machine, you will need to download PHP from http://windows.php.net/download/. Select the PHP version you want to use.

For example, PHP 5.3.4 "VC9 x86 Non Thread Safe":

http://windows.php.net/downloads/releases/

Run the installation:

clip_image029

clip_image030

clip_image031

Decide in which directory to install PHP. Important: Take note of this directory path - you will need it later when you use the command line tools.

clip_image032

Select the Web server setup to use:

clip_image033

Continue, and finish the PHP installation.

clip_image034

PHP is now installed and configured. ; You are ready to run PHP applications with Windows Azure.

What's next?

 
blog comments powered by Disqus

Related Content

No related content was found