搜鞥都哦 发表于 2015-8-14 09:36:44

IIS安装问题

  遇到这样的情况,windows系统是Ghost的精简版本,安装组件中未见IIS的安装选项,解决办法:
  1、下载IIS6.0安装包,解压,假定路径为D:\IIS
  2、 “运行”中输入“c:\Windows\inf\sysoc.inf”,在sysoc.inf中找到“”这一段,在里面加上这段:“iis=iis2.dll,OcEntry,iis2.inf,,7”,之后保存并关闭。
  3、在命令行下输入下列的两条命令,在每一行命令结束后回车:
expand d:\iis51\iis.dl_ c:\Windows\system32\setup\iis2.dll
expand d:\iis51\iis.in_ c:\Windows\inf\iis2.inf 4、 之后就和平常安装IIS一样了,只不过,在安装的过程中会出现找不到文件的情况,这时,选择你刚刚解压的目录就可以了,这种让你选择安装文件的现象共会出现几次。过一会,IIS就安装完成了如果在安装过程中出现错误代码ox4b8,解决办法:1、开始 --> 运行 --> 输入 CMD -->再输入以下命令:
esentutl /p %windir%/security/database/secedit.sdb
MS-DOS会出现如下提示:
Microsoft(R) Windows(TM) Database Utilities
Version 5.1
Copyright (C) Microsoft Corporation. All Rights Reserved.
Initiating REPAIR mode...
Scanning Status (% complete)
0   10   20   30   40   50   60   70   80   90   100
|----|----|----|----|----|----|----|----|----|----|
It is recommended that you immediately perform a full backup
of this database. If you restore a backup made before the
repair, the database will be rolled back to the state
it was in at the time of that backup.
Operation completed successfully in 10.266 seconds.
其中“esentutl /p %windir%/security/database/secedit.sdb”这句话的意思就是用Windows XP中自带的一个Database Utility — esentutl.exe来修复本地安全性数据库(%windir%\security\database\secedit.sdb)的一个过程显示。在语句“esentutl /p %windir%/security/database/secedit.sdb”中“/p”参数用来修复指定的数据库文件。
2、然后再安装一次IIS,就OK了。   
页: [1]
查看完整版本: IIS安装问题