使用Windows Server 2008 R2 Core 架设IIS服务器
2016-03-31 22:33
302 查看
1.修改hostname(未加入域)
netdom renamecomputer %computername% /NewName:SQLServer /reboot:0
2.重命名网络适配器
netsh interface set interface name="local area connection" newname="Internal"
3.修改静态ip
netsh interface ipv4 set address name=Internal static 192.168.1.202 255.255.255.0 192.168.1.1
4.修改dns
netsh interface ipv4 set dnsserver name=Internal static 61.139.2.69 primary
5.安装.NET Framework
dism /online /enable-feature /featurename:NetFx2-ServerCore
dism /online /enable-feature /featurename:NetFx3-ServerCore
6.配置Web服务器角色
dism /online /enable-feature /featurename:IIS-WebServerRole
7.为服务器安装IIS-ASPNET角色
dism /online /enable-feature /featurename:IIS-ISAPIFilter
dism /online /enable-feature /featurename:IIS-ISAPIExtensions
dism /online /enable-feature /featurename:IIS-NetFxExtensibility
dism /online /enable-feature /featurename:IIS-ASPNET
8.验证IIS服务是否已经开始运行
sc query w3svc
9.安装IIS管理服务
dism /online /enable-feature /featurename:IIS-ManagementService
10.安装WAS-WindowsActivationService和WAS-ConfigurationAPI
dism /online /enable-feature /featurename:WAS-WindowsActivationService
dism /online /enable-feature /featurename:WAS-ConfigurationAPI
11.更改注册表键值来激活管理服务
Reg Add HKLM\Software\Microsoft\WebManagement\Server /V EnableRemoteManagement /T REG_DWORD /D 1
12.启用IIS管理服务
net start wmsvc
13.验证IIS管理服务是否已经开始运行
sc query wmsvc
netdom renamecomputer %computername% /NewName:SQLServer /reboot:0
2.重命名网络适配器
netsh interface set interface name="local area connection" newname="Internal"
3.修改静态ip
netsh interface ipv4 set address name=Internal static 192.168.1.202 255.255.255.0 192.168.1.1
4.修改dns
netsh interface ipv4 set dnsserver name=Internal static 61.139.2.69 primary
5.安装.NET Framework
dism /online /enable-feature /featurename:NetFx2-ServerCore
dism /online /enable-feature /featurename:NetFx3-ServerCore
6.配置Web服务器角色
dism /online /enable-feature /featurename:IIS-WebServerRole
7.为服务器安装IIS-ASPNET角色
dism /online /enable-feature /featurename:IIS-ISAPIFilter
dism /online /enable-feature /featurename:IIS-ISAPIExtensions
dism /online /enable-feature /featurename:IIS-NetFxExtensibility
dism /online /enable-feature /featurename:IIS-ASPNET
8.验证IIS服务是否已经开始运行
sc query w3svc
9.安装IIS管理服务
dism /online /enable-feature /featurename:IIS-ManagementService
10.安装WAS-WindowsActivationService和WAS-ConfigurationAPI
dism /online /enable-feature /featurename:WAS-WindowsActivationService
dism /online /enable-feature /featurename:WAS-ConfigurationAPI
11.更改注册表键值来激活管理服务
Reg Add HKLM\Software\Microsoft\WebManagement\Server /V EnableRemoteManagement /T REG_DWORD /D 1
12.启用IIS管理服务
net start wmsvc
13.验证IIS管理服务是否已经开始运行
sc query wmsvc
相关文章推荐
- 小心服务器内存居高不下的元凶--WebAPI服务
- 运维入门
- 利用开源软件打造自己的全功能远程工具
- Linux5.9无人值守安装
- 数据中心和云未来的十二大趋势
- 用vsftp快速搭建ftp服务器
- Linux快速构建apache web服务器
- 服务器监控策略浅谈
- 如何降低服务器采购成本 原理分析
- 建议的服务器分区办法
- IIS 错误 Server Application Error 详细解决方法
- 服务器托管六大优势分析
- Erlang实现的一个Web服务器代码实例
- webshell查看IIS站点配置的方法
- 服务器技术全面解析
- 保护DNS服务器的几点方法小结
- 我国成为全球第二大服务器消费国
- 服务器 安全检查要点[星外提供]
- IIS运行错误 Server Application Error 错误代码 Error: 8004的解决方法