I,IIS7.0 configure ASP. NET2.0
1. ASP. NET 2.0 deployment
1) first enable the win7 feature. The path is marked
ASP. NET2.0 is selected below. If you want to support ASP. NET1.1, IIS6 is selected as compatible.
2) Set security options
3) Add a. Net classic application pool
4) convert the site to Application
5) add yourmachinename \ IIS_IUSRS permission to the site
6) Right-click the site-Manage Application-Advanced Setting and set the current site to Classic. Net AppPool.
2. Deploy WCF
Open "Start | all programs | attachments | command prompt", enter "cd C: \ Windows \ Microsoft. NET \ Framework \ v3.0 \ Windows Communication Foundation", and press Enter. Enter “servicemodelreg.exe-I, and press Enter.
3. Deploy ASP. NET MVC
Deploy ASP. net mvc is the most convenient. You only need to configure the following and add an integration mode. NET Application Pool, which is assigned to your ASP. net mvc Application.
Note: Both vista and Windows 7 use IIS7, so the configuration is the same.
II,Windows server 2008 iis7.0Shared Configuration
Configure windows server 2008 iis7.0 for sharing. If you have two IIS servers, my first IIS has a website named winos, there are no websites for 2nd IIS servers (the default one is deleted). After the sharing configuration is configured, refresh the 2nd IIS servers and the first IIS server named winos is created, in addition, I will automatically synchronize the configuration on which I want to change to another IIS. The reason is that they are using a configuration file.
1. Create two shared folders, winos stores my web files, and shared my configuration files.
2. Create a new website on the first iis with the name winos and path of the winos folder I shared.
1) set the connection creden
2) check whether the browser can be viewed on the local machine
3. Configure the sharing configuration. Double-click the sharing configuration.
1) Click Export configuration on the right side. We will export the configuration file first.
2) In the physical path, enter the file I shared earlier and the Encrypted Key.
3) Click Connect to set connection creden and click OK.
4) configure the location, enable shared configuration, and fill in relevant information
5) enter the password of the encryption key
OK. The first IIS is configured.
4. Configure 2nd IIS servers (for example, 2nd IIS servers do not exist on one website)
1) Click "shared configuration" and fill in relevant information.
2) enter the encryption key
3) Click to refresh
4) we created a website named winos on the first iis server.
5) enter a URL to browse
Iii. configuration in Win7IIS 7.0 phpOperating Environment
Note: We use IIS v7.0 + php + mysql + zend to build an operating environment under Win7.
1. Install IIS v7.0
1) control panel-programs and functions-enable or disable Windows functions
2) test whether IIS v7.0 is successfully installed. Enter the following in the browser:
Http: // localhost/
Http: // 127.0.0.1/% 3C/A % 3E % 3C/P
The above interface indicates that IIS v7.0 is successfully installed.
3) create a site: (the default site is used as asp/asp.net/, and the 8080port is started, that is, http://localhost:8080 /)
2. Configure the PHP Environment
PHP: http://soft.huweishen.com/soft/263.html.
1) download php and decompress it to G: \ php
2) add an ISAPI filter:
3) add script ing:
4) add an application pool:
5) change the site application pool and add the default document index. php.
6) Modify G:/PHP/php. ini-list file name is php. ini, copy to F:/windows/(dual system, drive letter of Windows 7), modify php. ini: it supports GD, mysql, and so on.
7) modify the extension_dir directory:
8) Copy libmcrypt. dll, libmysql. dll, php5ts. dll three files to F:/windows/System32 (dual system, Windows 7 drive letter), create an index in the default directory. php
9) Enter <A href = 'HTTP: // 127.0.0.1: 8080/'> http: // 127.0.0.1: 8080/</A> to check whether php is successfully installed:
3. Add a Mysql database:
Mysql: http://www.jb51.net/softs/2193.html.
1) install Mysql:
2) Set Mysql (here we will not explain in detail. For the configuration tutorial, see http://www.jb51.net/article/23876.htm .)
3) Verify that mysql is correctly installed:
A. Check whether mysql is started in the Service Manager:
B. can I access mysql using phpmyadmin:
OK mysql has been correctly installed and can be used.
Because Zend Optimizer does not require any configuration for installation, it is omitted here. After Zend Optimizer is successfully installed, the PHP environment under win7 is successfully configured.
IIS7.0 has very practical functions, such as its maximized desktop graphical operating system, excellent maintainability, and is based on IIS v6.0/v7.0 (2008 ), the supported scripts are quite complete. They not only support asp/asp.net that cannot be supported by Linux, but also support installing php, mysql, and zend to implement the php environment. In addition, Serv-U can be used for ftp management. The operation is simple. You can enable a fully-hosted host without having to enter any commands. It's really worth downloading !!
IIS7.0: http://www.jb51.net/softs/35697.html. For more information, see network.