IIS7.5のコンポーネント一覧とコマンドからのインストール

by kusakari 3. 9月 2009 23:25

 

TechNetのサイトを参考に、コマンドからIIS7.5をインストールしてみます。
http://technet.microsoft.com/ja-jp/library/cc771209%28WS.10%29.aspx

インストールする前に、IIS7.5でのコンポーネントの一覧をまとめてみましたので、下記に記載します。

なお、dismを使う場合はコチラの dism で IIS7.5 のインストール をご覧ください。

 

  • Webサーバー:  IIS-WebServer
    • HTTP基本機能:  IIS-CommonHttpFeatures
      静的なコンテンツ
      IIS-StaticContent
      既定のドキュメント
      IIS-DefaultDocument
      ディレクトリの参照
      IIS-DirectoryBrowsing
      HTTPエラー
      IIS-HttpErrors
      HTTPリダイレクション
      IIS-HttpRedirect
      WebDAV発行
      IIS-WebDAV

    • アプリケーション開発:  IIS-ApplicationDevelopment
      ASP.NET IIS-ASPNET
      .NET拡張性 IIS-NetFxExtensibility
      ASP IIS-ASP
      CGI IIS-CGI
      ISAPI拡張 IIS-ISAPIExtensions
      ISAPIフィルター IIS-ISAPIFilter
      サーバー側インクルード IIS-ServerSideIncludes

    • 状態と診断:  IIS-HealthAndDiagnostics
      HTTPログ IIS-HttpLogging
      ログツール IIS-LoggingLibraries
      要求の監視 IIS-RequestMonitor
      トレース IIS-HttpTracing
      カスタムログ IIS-CustomLogging
      ODBCログ IIS-ODBCLogging

    • セキュリティ:  IIS-Security
      基本認証 IIS-BasicAuthentication
      Windows認証 IIS-WindowsAuthentication
      ダイジェスト認証 IIS-DigestAuthentication
      クライアント証明書のマッピング認証 IIS-ClientCertificateMappingAuthentication
      IISクライアント証明書のマッピング認証 IIS-IISCertificateMappingAuthentication
      URL承認 IIS-URLAuthorization
      要求フィルター IIS-RequestFiltering
      IPおよびドメインの制限 IIS-IPSecurity

    • パフォーマンス:  IIS-Performance
      静的なコンテンツの圧縮 IIS-HttpCompressionStatic
      動的なコンテンツの圧縮 IIS-HttpCompressionDynamic

 

 

  • 管理ツール:  IIS-WebServerManagementTools
    • IIS管理コンソール:  IIS-ManagementConsole (※ServerCoreでは無し。)
    • IIS管理スクリプトおよびツール:  IIS-ManagementScriptingTools
    • 管理サービス:  IIS-ManagementService
    • IIS6管理互換:  IIS-IIS6ManagementCompatibility
      IIS6メタベース互換
      IIS-Metabase
      IIS6WMI互換
      IIS-WMICompatibility
      IIS6スクリプトツール
      IIS-LegacyScripts
      IIS6管理コンソール
      IIS-LegacySnapIn (※ServerCoreでは無し。 )

 

 

  • FTPサーバー:(IIS-FTPServer)
    FTPサービス
    IIS-FTPSvc
    FTP拡張
    IIS-FTPExtensibility



また、サーバーの機能一覧から。

  • WAS-WindowsActivationService:  Windows プロセスアクティブ化サービス
    WAS-ConfigurationAPI 構成API
    WAS-NetFxEnvironment .NET環境
    WAS-ProcessModel プロセスモデル



上記のコンポーネント一覧を参考に、下記に規定のIISのコンポーネントだけインストールする最小環境や、コンポーネント全部入りの完全インストール環境用のコマンドをメモします。


■最小

start /w pkgmgr /l:log.etw /iu:IIS-WebServerRole;WAS-WindowsActivationService;WAS-ProcessModel;WAS-NetFxEnvironment;WAS-ConfigurationAPI


■完全

start /w pkgmgr /l:log.etw /iu:IIS-WebServerRole;IIS-WebServer;IIS-CommonHttpFeatures;IIS-StaticContent;IIS-DefaultDocument;IIS-DirectoryBrowsing;IIS-HttpErrors;IIS-HttpRedirect;IIS-ApplicationDevelopment;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;IIS-ClientCertificateMappingAuthentication;IIS-IISCertificateMappingAuthentication;IIS-URLAuthorization;IIS-RequestFiltering;IIS-IPSecurity;IIS-Performance;IIS-HttpCompressionStatic;IIS-HttpCompressionDynamic;IIS-WebServerManagementTools;IIS-ManagementScriptingTools;IIS-IIS6ManagementCompatibility;IIS-Metabase;IIS-WMICompatibility;IIS-LegacyScripts;WAS-WindowsActivationService;WAS-ProcessModel;IIS-FTPServer;IIS-FTPSvc;IIS-FTPExtensibility;IIS-WebDAV;IIS-ASPNET;IIS-NetFxExtensibility;WAS-NetFxEnvironment;WAS-ConfigurationAPI;IIS-ManagementService;MicrosoftWindowsPowerShell


■完全( .NET Frameworkのインストール含む)

start /w pkgmgr /l:log.etw /iu:IIS-WebServerRole;IIS-WebServer;IIS-CommonHttpFeatures;IIS-StaticContent;IIS-DefaultDocument;IIS-DirectoryBrowsing;IIS-HttpErrors;IIS-HttpRedirect;IIS-ApplicationDevelopment;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;IIS-ClientCertificateMappingAuthentication;IIS-IISCertificateMappingAuthentication;IIS-URLAuthorization;IIS-RequestFiltering;IIS-IPSecurity;IIS-Performance;IIS-HttpCompressionStatic;IIS-HttpCompressionDynamic;IIS-WebServerManagementTools;IIS-ManagementScriptingTools;IIS-IIS6ManagementCompatibility;IIS-Metabase;IIS-WMICompatibility;IIS-LegacyScripts;WAS-WindowsActivationService;WAS-ProcessModel;IIS-FTPServer;IIS-FTPSvc;IIS-FTPExtensibility;IIS-WebDAV;IIS-ASPNET;IIS-NetFxExtensibility;WAS-NetFxEnvironment;WAS-ConfigurationAPI;IIS-ManagementService;MicrosoftWindowsPowerShell;NetFx2-ServerCore;NetFx2-ServerCore-WOW64



■個人用メモ

下記のコンポーネント以外全てインストールする用のコマンド。

  • IIS管理スクリプトおよびツール
  • 管理サービス
  • IIS6管理互換
  • FTPサーバー
  • IISホスト可能なWebコア


■Coreの場合

start /w pkgmgr /l:log.etw /iu:IIS-WebServerRole;IIS-WebServer;IIS-CommonHttpFeatures;IIS-StaticContent;IIS-DefaultDocument;IIS-DirectoryBrowsing;IIS-HttpErrors;IIS-HttpRedirect;IIS-WebDAV;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;IIS-ClientCertificateMappingAuthentication;IIS-IISCertificateMappingAuthentication;IIS-URLAuthorization;IIS-RequestFiltering;IIS-IPSecurity;IIS-Performance;IIS-HttpCompressionStatic;IIS-HttpCompressionDynamic;IIS-WebServerManagementTools;IIS-ManagementConsole;WAS-WindowsActivationService;WAS-ProcessModel;WAS-NetFxEnvironment;WAS-ConfigurationAPI



■Core以外の場合

start /w pkgmgr /l:log.etw /iu:IIS-WebServerRole;IIS-WebServer;IIS-CommonHttpFeatures;IIS-StaticContent;IIS-DefaultDocument;IIS-DirectoryBrowsing;IIS-HttpErrors;IIS-HttpRedirect;IIS-WebDAV;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;IIS-ClientCertificateMappingAuthentication;IIS-IISCertificateMappingAuthentication;IIS-URLAuthorization;IIS-RequestFiltering;IIS-IPSecurity;IIS-Performance;IIS-HttpCompressionStatic;IIS-HttpCompressionDynamic;WAS-WindowsActivationService;WAS-ProcessModel;WAS-NetFxEnvironment;WAS-ConfigurationAPI



エラーチェックは、下記のコマンドを入力し「0」が返ってくれば、インストール成功です。

echo %errorlevel%

 

コメントを書く


(アイコンを表示しますか Gravatar )

  Country flag

biuquote
  • コメント
  • プレビュー
Loading



Calendar

<<  7月 2010  >>
月曜火曜水曜木曜金曜土曜日曜
2829301234
567891011
12131415161718
19202122232425
2627282930311
2345678

View posts in large calendar

RecentComments

Comment RSS