Install IIS method _win Server for WINDWS Server 2008 R2 Web environment configuration

Source: Internet
Author: User

Windows Server 2008 R2 is one of the current mainstream server systems, with its simplicity and performance, and has been used by more and more companies as a carrier of business services. IIS is an Internet Information service based on Windows, and you can use IIS to create services such as Web sites, FTP sites, and so on.

This is the "Windws Server 2008 R2 Web Environment Configuration Iis+fastcgi+php+mysql+phpmyadmin," the first article, so we look at the best in order to see, so organized, also easy to understand.

Installing IIS

Open Server Manager, roles, add roles

Direct Next,

Select Web Server (IIS)

Add asp.net,. NET extensibility, CGI, ISAPI extensions, ISAPI filters, and remove directory browsing (because most sites are not available). )

If you need to use ASP, check ASP, if you need to use shtm need to open on the server side of the include file.

Install SQL Server make sure to tick asp.net ... NET Extensibility.

Need to run PHP to install the CGI

General recommendations are selected entirely.

Start Installation,

Wait for installation to complete,

Installation completed.

Enter 127.0.0.1 in the browser to open the IIS default page.

Understanding the Default Web directory

The default Web directory is C:\inetpub\wwwroot, because this default site has the risk of being parsed and default on C, so this directory is not used when we do the station, and it will be removed for security purposes and deleted from IIS Manager.

We will put the site on a dedicated data disk, for example, I would like to partition the disk, each district has its own different responsibilities, so easy to operate management.

The SQL database is dedicated to storing database files. Web disk dedicated Site Directory program, i18n disk put some need to use the software installation package, such as FTP software, database software, decompression and so on.

This is not easy to delete data in the operation of various directories.

And in the Web packing directory I will build a wwwroot directory, which contains the main site of the directory, and each site is a separate directory,

This makes it very convenient to set permissions for individual sites alone.

Original works, allow reprint, reprint, please be sure to hyperlink form to indicate the original source of the article, author information and this statement. Otherwise, legal liability will be held.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.