ติดตั้ง IIS บน Windows Vista
หน้าแรก ASP net MS SQL ติดตั้ง IIS บน Windows Vista
Introduction
This article describes installation of IIS using the Windows Vista Control Panel Windows Features Wizard. New for Windows Vista the Windows Features Wizard:
- Replaces the Windows XP Windows Components Wizard from Add/Remove Windows Components:
- Allow you to install / uninstall Windows Vista Optional Features
- Provides quick status on state of installed Windows Features
Note: You can use the Web Platform Installer (Web PI) to easily install IIS, and applications that run on IIS. The Web PI is a free, lightweight tool that lets you install IIS and related technologies such as ASP.NET, SQL Server Express, Visual Web Developer, other popular Web applications, and more. Because the Web PI installs the latest versions of available Web Platform offerings, with just a few simple clicks you can download and install any new tools or updates. To learn more about the Web PI, see Learn more and install the Web PI.
Windows Vista Editions Supported
This walkthrough is for the following editions of Windows Vista:
- Windows Vista Ultimate Edition
- Windows Vista Home Premium Edition
- Windows Vista Business Edition
- Windows Vista Enterprise Edition
Make sure you have installed one of the supported editions of Windows Vista before proceeding.
User Account Control (UAC) Security
Make sure you have administrative privileges on the machine: by default, you do not have them if you are logged on as a user other than the built-in Administrator account, even if this user was added to the local Administrators group on the machine (this is a new security feature in Windows Server® 2008, called LUA, which is beyond the scope of this article). Make sure to either log-on as the built-in Administrator account, or explicitly invoke applications as the built-in Administrator, as needed, using the "runas" cmd-line tool. For example, to launch notepad.exe you could run this command: "runas /user:administrator notepad.exe". You will be prompted for the password of the Administrator account. It's useful to have a cmd-box shell that's already elevated, by running "runas /user:administrator cmd.exe". Every application you run from that cmd-box will be elevated as well, and you will not need to use the "runas" syntax from that cmd-box.
Windows Security Dialog LUA
If you are logged on to an account other than the built in local administrator account, you may see the following security alert dialog.
Figure 1: User Account Control Security Dialog
Click Allow to continue running the setup steps in this walkthrough.
Step 1: Start Control Panel
To open Windows Features dialog:
- Click Start Menu
- Click Control Panel
Figure 2: Windows Security Dialog
Step 2: Control Panel
The Windows Control Panel is displayed:
Figure 3: Windows Control Panel
- In the Windows Control Panel double click Programs
Step 3: Select Turn On or Off Windows Features
Control Panel Programs options are displayed:
- Click Turn On or Off Windows Features
Figure 4: Control Panel Install Options
- You may receive the Windows Security warning at this point
Figure 5: Windows Security Dialog
- Click Allow to continue
- The Turn Windows Features on or off dialog will be displayed
Step 4: The Windows Features Dialog
- Double click Internet Information Services
- Additional IIS features are displayed
- Check the check box next to Internet Information Services to select the feature for install
Figure 6: Windows Features - IIS
Step 5: IIS 7.0 Default Install Selections
- Note that the IIS 7.0 default install features are shown as selected
Figure 7: IIS 7.0 Feature Selections
Step 6: Explore IIS 7.0 Features Available
- To continue expanding features within the list, double click the feature to see sub-features
- For example Double Click on Web Management Tools to see tools installed by default
Figure 8: Feature Selection
Step 7: Select IIS 7.0 Features for Install
To install just the IIS 7.0 default features, click OK at this time. If you are installing IIS 7.0 for evaluation purposes, you may want to select additional features within Internet Information Services for installation.
- Check the check boxes for all IIS features you want to install
- After selecting IIS features, click OK to start installation
Figure 9: Installation Selection
Step 8: Install Progress
The following progress dialog is displayed:
Figure 10: Install Progress
Step 9: Install Complete
When the installation completes, the Windows Features dialog closes and you are returned to the Control Panel.
Step 10: Check IIS 7.0 install
You can now perform a quick check to verify that IIS 7.0 is installed:
- Start Internet Explorer web browser and enter the address http://localhost/
- You should see the default IIS 7.0 "Welcome" page.
ขึ้นไปด้านบน
