一、IIS 安装教程 安装方法1:通过用户界面安装 1
单击“开始”/“控制面板”/“程序”,选择“打开或关闭 Windows功能”
在 Windows 功能对话框中,选中“Internet 信息服务” 3
单击“确定”,这时 Windows Vista就会启动 IIS的安装过程; 注意,如果你用上述步骤安装,得到的是默认的安装,也就是最少的功能
如果你需要额外的 IIS功能,如应用程序开发功能或者 Web管理工具,就要在Windows功能对话框中,保证选中这些功能的相关复选框
安装方法2:通过脚本安装 在脚本中输入如下的命令: start /w pkgmgr /iu:IIS-WebServerRole;IIS-WebServer;IIS- CommonHttpFeatures;IIS-StaticContent;IIS-DefaultDocument;IIS-DirectoryBrowsing;IIS- HttpErrors;IIS-HttpRedirect;IIS-ApplicationDevelopment;IIS-ASPNET;IIS- NetFxExtensibility;IIS-ASP;IIS-CGI;IIS-ISAPIExtensions;IIS-ISAPIFilter;IIS- ServerSideIncludes;IIS-HealthAndDiagnostics;IIS-HttpLogging;IIS-LoggingLibraries;IIS- RequestMonitor;IIS-HttpTracing;IIS-CustomLogging;IIS-ODBCLogging;IIS-Security;IIS- BasicAuthentication;IIS-WindowsAuthentication;IIS-DigestAuthentication;