IIS7 full deployment strategy on Server Core

  

Recently, a series of problems occurred due to the power outage of the web server, which made people feel very depressed! Although the current blog can run normally, the efficiency is significantly reduced. So I germinated the idea of ​​upgrading the system to the Windows Server 2008 platform. I have been doing the evaluation tests of Windows Server 2008 and IIS7 for a few days. I have gained a lot of money! I don’t dare to enjoy it, especially the Server Core that everyone is very concerned about. Write this blog about deploying IIS7, PHP FastCGI, and MySQL on Server Core to share with everyone. I also hope that everyone can participate in the discussion.

The reason why I take Server Core is that I feel very representative, and I can better understand and understand the features and knowledge of Server Core and IIS7 through relatively complicated command line during deployment. .

Objective:

This deployment process will give you a detailed understanding of how to deploy IIS7 as a Web platform on a newly installed Windows Server 2008 Web Edition Server Core (hereafter referred to as WS08WebCore). The PHP MySQL server will show you how to modify the server name, assign static IP, open remote desktop, enable remote desktop support on the firewall, enable automatic updates, install II7, install and configure PHP FastCGI, and install MySQL.

Keywords: Windows Server 2008 Web, Server Core, IIS7, FastCGI, PHP, Netsh, Scregedit.wsf, Pkgmgr, Ocsetup, Oclist, Appcmd

Test Environment:

Host:

ThinkPad X60 1706-BM8:T7200/2G*2/120G/3945ABG/Windows Vista Ultimate with SP1

Virtual Machine Platform: Virtual PC 2007 with SP1

Virtual Machine: Windows Server 2008 Web Edition Server Core, allocate 512M memory and 20G VHD, bridge to host 3945ABG, enable VT support

Step By Step: The process of installing WS08WebCore will not be repeated. The characteristics of the installation process of the new generation of operating systems, I believe many friends have the same recognition with me.

Before we get started, let's get to know and confirm some information! According to the data from Singapore's StreetDirectory.com website, we learned that they have already started testing and evaluating the product at the time of WS08 release, and they have been excited. The results, after their actual evaluation, running PHP on WS08 IIS7 in FastCGI mode is much more efficient than the native LAMP environment, and this data is really shocking and exciting! More -130%!

Note: This data is obtained without any optimization. If this data doesn't make you excited, you can now open the site and experience the final results. (Figure 1)


As I mentioned before, the main use of Server Core is to let everyone know more about some of the operating features of Core, and I will work with you in the future. Share the experience of deploying II7, PHP FastCGI, etc. on Windows Server 2008. If your work area involves Web services, I think it's wise to choose to upgrade to WS08 now, whether you are running ASP or ASP.NET (note: Server Core does not support .NET), even PHP, WS08 provides With more powerful power support, it is more stable, more efficient, safer, and better for resource control.

I started testing and evaluating the WS08 series a long time ago, and this time I was exposed to the web version of WS08 with the test and I was deeply attracted. Know that if you're just deploying a server for Web services, choosing WS08Web means you have more spare disk space, fewer unnecessary roles and features, lower device performance requirements, and cheaper software. Authorization costs! This reduces the security risks while improving the performance and stability of the operating system, ultimately reducing the TCO (total cost of ownership).
Previous 12 3 4 5 6 Next Read more

Copyright © Windows knowledge All Rights Reserved