Instalando IIS em modo Core

14/08/2011 -

Instalação do IIS & FTP

  1. Ver o que já está instalado:
    • DISM /online /Get-Features /format:table
  2. Instalação do .Net:
    • dism /online /enable-feature /featurename:NetFx2-ServerCore
    • dism /online /enable-feature /featurename:NetFx3-ServerCore
  3. Instalação do IIS:
    • dism /online /enable-feature /featurename:IIS-WebServerRole
    • dism /online /enable-feature /featurename:IIS-ManagementService
    • dism /online /enable-feature /featurename:IIS-BasicAuthentication
    • dism /online /enable-feature /featurename:IIS-WindowsAuthentication
    • dism /online /enable-feature /featurename:IIS-ISAPIExtensions
    • dism /online /enable-feature /featurename:IIS-ISAPIFilter
    • dism /online /enable-feature /featurename:IIS-ASPNET
    • dism /online /enable-feature /featurename:IIS-NetFxExtensibility
  4. Instalação da Metabase de compatibilidado com o ISS6:
    • dism /online /enable-feature /featurename:IIS-IIS6ManagementCompatibility
    • dism /online /enable-feature /featurename:IIS-WMICompatibility
    • dism /online /enable-feature /featurename:IIS-Metabase
    • dism /online /enable-feature /featurename:IIS-ManagementScriptingTools
    • dism /online /enable-feature /featurename:IIS-LegacyScripts
    • dism /online /enable-feature /featurename:WAS-WindowsActivationService
    • dism /online /enable-feature /featurename:WAS-ProcessModel
    • dism /online /enable-feature /featurename:WAS-NetFxEnvironment
  5. Instalação de das API para ASP / CGI:
    • dism /online /enable-feature /featurename:WAS-WindowsActivationService
    • dism /online /enable-feature /featurename:WAS-ConfigurationAPI
    • dism /online /enable-feature /featurename:IIS-ASP
    • dism /online /enable-feature /featurename:IIS-CGI
  6. Instalação do FTP:
    • dism /online /enable-feature /featurename:IIS-FTPServer
    • dism /online /enable-feature /featurename:IIS-FTPSvc
    • dism /online /enable-feature /featurename:IIS-FTPExtensibility
  7. Outros comandos úteis:
    • %windir%\system32\inetsrv\appcmd set config -section:isapiCgiRestriction /+[path='c:\inetpub\wwwroot\cgi\simplecgi.exe',allowed='true',description='SimpleCGI']
    • net start WMSVC
    • sc config WMSVC start= auto
    • sc config aspnet_state start= auto
    • sc config FTPsvc start= auto