美國(guó)服務(wù)器Windows Server 2008 R2配置IIS服務(wù)的操作的步驟是比較多的,今天美聯(lián)科技小編就來(lái)具體介紹,美國(guó)服務(wù)器Windows Server 2008 R2配置IIS服務(wù)的操作。
1、配置美國(guó)服務(wù)器系統(tǒng)
1)創(chuàng)建本地管理員用戶(hù)
2)打開(kāi)遠(yuǎn)程桌面
3)打開(kāi)自動(dòng)更新
2、關(guān)閉美國(guó)服務(wù)器防火墻
Netsh Firewall Set Opmode disable
3、禁用頁(yè)面文件
wmic computersystem where name=“%computername%” set AutomaticManagedPagefile=False
4、刪除頁(yè)面文件,需要重啟系統(tǒng)才能生效
wmic pagefileset delete
5、安裝美國(guó)服務(wù)器驅(qū)動(dòng)
pnputil -i -a 路徑:\<驅(qū)動(dòng)文件夾>\<驅(qū)動(dòng)文件名>.inf
6、查詢(xún)現(xiàn)有系統(tǒng)支持的角色列表
dism /online /get-features /format:table
7、安裝.NET Framework 2.0/3.0
dism /online /enable-feature /featurename:NetFx2-ServerCore
dism /online /enable-feature /featurename:NetFx3-ServerCore
8、安裝IIS服務(wù)角色
dism /online /enable-feature /featurename:IIS-WebServerRole
dism /online /enable-feature /featurename:IIS-ISAPIFilter
dism /online /enable-feature /featurename:IIS-ISAPIExtensions
dism /online /enable-feature /featurename:IIS-NetFxExtensibility
9、安裝IIS-ASPNET
dism /online /enable-feature /featurename:IIS-ASPNET
10、安裝FTPSVC
dism /online /enable-feature /featurename:IIS-FTPServer
dism /online /enable-feature /featurename:IIS-FTPSvc
dism /online /enable-feature /featurename:IIS-FTPExtensibility
11、選擇遠(yuǎn)程管理控制臺(tái)選項(xiàng),并安裝IIS管理服務(wù):
dism /online /enable-feature /featurename:IIS-ManagementService
dism /online /enable-feature /featurename:WAS-WindowsActivationService
dism /online /enable-feature /featurename:WAS-ConfigurationAPI
12、安裝成功后,還需要更改一些注冊(cè)表鍵值來(lái)激活管理服務(wù):
Reg Add HKLM\Software\Microsoft\WebManagement\Server /V EnableRemoteManagement /T REG_DWORD /D 1
13、啟動(dòng)IIS服務(wù)
net start w3svc
14、添加IIS服務(wù)自啟動(dòng)
sc config w3svc start= auto
15、啟動(dòng)FTP服務(wù)
net start FTPSVC
16、添加FTP服務(wù)自啟動(dòng)
sc config FTPSVC start= auto
17、啟動(dòng)IIS服務(wù)管理器
net start wmsvc
18、美國(guó)服務(wù)器添加IIS服務(wù)管理器自啟動(dòng)
sc config wmsvc start= auto
19、添加站點(diǎn)發(fā)布目錄
mkdir c:\webroot\localuser\public
20、添加本地管理員ftp私有目錄
mkdir c:\webroot\localuser\superuser
21、重啟美國(guó)服務(wù)器操作系統(tǒng)驗(yàn)證服務(wù)
shutdown /r
22、關(guān)機(jī)美國(guó)服務(wù)器導(dǎo)出模板待用
shutdown /p
至此,美國(guó)服務(wù)器Windows Server 2008 R2配置IIS服務(wù)的操作就完成啦,希望能幫助到有需要的美國(guó)服務(wù)器用戶(hù)。
關(guān)注美聯(lián)科技,了解更多IDC資訊!