首页 > 操作系统 > Windows专区 > Windows7中IIS简单安装与配置(详细图解)
2012
02-21

Windows7中IIS简单安装与配置(详细图解)

最近工作需要IIS,自己的电脑又是Windows7系统,找了下安装的方法,已经安装成功。在博客里记录一下,给需要的朋友,也是给自己留个备份,毕竟我脑子不是很好使。

一、首先是安装IIS。打开控制面板,找到“程序与功能”,点进去

Windows7安装IIS

二、点击左侧“打开或关闭Windows功能”

Windows7安装IIS

三、找到“Internet 信息服务”,按照下图打勾即可

Windows7安装IIS

等待安装完成

Windows7安装IIS

四、安装完成后,再回到控制面板里面,找到“管理工具”,点进入

Windows7安装IIS

五、双击“Internet 信息服务(IIS)管理器”就是IIS了。如果经常需要使用IIS的朋友,建议鼠标指到“Internet 信息服务(IIS)管理器”上,右键–发送到–桌面快捷方式,这样就能从桌面进入IIS,而不用每次都点控制面板。

IIS界面:

Windows7安装IIS

六、选中“Default Web Site”,双击中间的“ASP”

Windows7安装IIS

把“启用父路径”改为“True”

Windows7安装IIS

七、下面就是配置站点了。单击右侧“高级设置”

Windows7安装IIS

选择你网站的目录

Windows7安装IIS

八、回到IIS,单击右侧的“绑定…”,选中你要绑定的网站,点“编辑”

Windows7安装IIS

如果是一台电脑,只修改后面的端口号就行,可以随意修改数字。如果是办公室局域网,点击下拉框,选择自己电脑上的局域网IP,例如:192.168.**.**,然后修改端口号

Windows7安装IIS

九、回到IIS,如果右侧显示停止,就选择启动,然后点击下面的浏览网站,就可以打开你绑定文件夹里面的网站了

Windows7安装IIS

十、如果有多个网站,在IIS左边“网站”右键“添加网站”

Windows7安装IIS

主要修改三个地方,“网站名称”、“物理路径”、“端口”,如果局域网,请修改“IP地址”,同上

Windows7安装IIS

十一、添加好后,点击新建的网站名字,就是这个网站的详情了。

Windows7安装IIS

本来这次是打算用Discuz!NT来做的,方便与以后做的asp.net网站对接会员。但是老板要求快速,而Discuz!NT我连放到本地VS里面运行都忘记了,所以只好用Discuz! 7.2来做算了。关于主题我也只能下载一个类似的主题然后修改颜色,因为自己也没接触过制作论坛主题。

来源:http://ons.me/147.html


Windows7中IIS简单安装与配置(详细图解)》有 0 条评论

  1. coolker 说:

    最近工作需要IIS,自己的电脑又是Windows7系统,找了下安装的方法,已经安装成功。在博客里记录一下,给需要的朋友,也是给自己留个备份,毕竟我脑子不是很好使。

    一、首先是安装IIS。打开控制面板,找到“程序与功能”,点进去

    http://ons.me/wp-content/uploads/2010/08/win7iis_1.jpg','Image‘);” onmouseover=”this.style.cursor=’hand’” onmouseout=”this.style.cursor=”” src=”http://ons.me/wp-content/uploads/2010/08/win7iis_1.jpg” height=”454″ width=”626″ border=”0″ alt=”Windows7安装IIS” title=”Windows7安装IIS” />

    二、点击左侧“打开或关闭Windows功能”

    http://ons.me/wp-content/uploads/2010/08/win7iis_2.jpg','Image‘);” onmouseover=”this.style.cursor=’hand’” onmouseout=”this.style.cursor=”” src=”http://ons.me/wp-content/uploads/2010/08/win7iis_2.jpg” height=”232″ width=”558″ border=”0″ alt=”Windows7安装IIS” title=”Windows7安装IIS” />

    三、找到“Internet 信息服务”,按照下图打勾即可

    http://ons.me/wp-content/uploads/2010/08/win7iis_3.jpg','Image‘);” onmouseover=”this.style.cursor=’hand’” onmouseout=”this.style.cursor=”” src=”http://ons.me/wp-content/uploads/2010/08/win7iis_3.jpg” height=”1140″ width=”428″ border=”0″ alt=”Windows7安装IIS” title=”Windows7安装IIS” />

    等待安装完成

    http://ons.me/wp-content/uploads/2010/08/win7iis_4.jpg','Image‘);” onmouseover=”this.style.cursor=’hand’” onmouseout=”this.style.cursor=”” src=”http://ons.me/wp-content/uploads/2010/08/win7iis_4.jpg” height=”182″ width=”361″ border=”0″ alt=”Windows7安装IIS” title=”Windows7安装IIS” />

    四、安装完成后,再回到控制面板里面,找到“管理工具”,点进入

    http://ons.me/wp-content/uploads/2010/08/win7iis_5.jpg','Image‘);” onmouseover=”this.style.cursor=’hand’” onmouseout=”this.style.cursor=”” src=”http://ons.me/wp-content/uploads/2010/08/win7iis_5.jpg” height=”403″ width=”622″ border=”0″ title=”Windows7安装IIS” alt=”Windows7安装IIS” />

    五、双击“Internet 信息服务(IIS)管理器”就是IIS了。如果经常需要使用IIS的朋友,建议鼠标指到“Internet 信息服务(IIS)管理器”上,右键–发送到–桌面快捷方式,这样就能从桌面进入IIS,而不用每次都点控制面板。

    IIS界面:

    http://ons.me/wp-content/uploads/2010/08/win7iis_7.jpg','Image‘);” onmouseover=”this.style.cursor=’hand’” onmouseout=”this.style.cursor=”” src=”http://ons.me/wp-content/uploads/2010/08/win7iis_7.jpg” width=”623″ border=”0″ alt=”Windows7安装IIS” title=”Windows7安装IIS” />

    六、选中“Default Web Site”,双击中间的“ASP”

    http://ons.me/wp-content/uploads/2010/08/win7iis_8.jpg','Image‘);” onmouseover=”this.style.cursor=’hand’” onmouseout=”this.style.cursor=”” src=”http://ons.me/wp-content/uploads/2010/08/win7iis_8.jpg” height=”298″ width=”453″ border=”0″ alt=”Windows7安装IIS” title=”Windows7安装IIS” />

    把“启用父路径”改为“True”

    http://ons.me/wp-content/uploads/2010/08/win7iis_9.jpg','Image‘);” onmouseover=”this.style.cursor=’hand’” onmouseout=”this.style.cursor=”” src=”http://ons.me/wp-content/uploads/2010/08/win7iis_9.jpg” height=”400″ width=”584″ border=”0″ alt=”Windows7安装IIS” title=”Windows7安装IIS” />

    七、下面就是配置站点了。单击右侧“高级设置”

    http://ons.me/wp-content/uploads/2010/08/win7iis_10.jpg','Image‘);” onmouseover=”this.style.cursor=’hand’” onmouseout=”this.style.cursor=”” src=”http://ons.me/wp-content/uploads/2010/08/win7iis_10.jpg” height=”206″ width=”199″ border=”0″ alt=”Windows7安装IIS” title=”Windows7安装IIS” />

    选择你网站的目录

    http://ons.me/wp-content/uploads/2010/08/win7iis_11.jpg','Image‘);” onmouseover=”this.style.cursor=’hand’” onmouseout=”this.style.cursor=”” src=”http://ons.me/wp-content/uploads/2010/08/win7iis_11.jpg” height=”216″ width=”446″ border=”0″ alt=”Windows7安装IIS” title=”Windows7安装IIS” />

    八、回到IIS,单击右侧的“绑定…”,选中你要绑定的网站,点“编辑”

    http://ons.me/wp-content/uploads/2010/08/win7iis_12.jpg','Image‘);” onmouseover=”this.style.cursor=’hand’” onmouseout=”this.style.cursor=”” src=”http://ons.me/wp-content/uploads/2010/08/win7iis_12.jpg” height=”293″ width=”571″ border=”0″ alt=”Windows7安装IIS” title=”Windows7安装IIS” />

    如果是一台电脑,只修改后面的端口号就行,可以随意修改数字。如果是办公室局域网,点击下拉框,选择自己电脑上的局域网IP,例如:192.168.**.**,然后修改端口号

    http://ons.me/wp-content/uploads/2010/08/win7iis_13.jpg','Image‘);” onmouseover=”this.style.cursor=’hand’” onmouseout=”this.style.cursor=”” src=”http://ons.me/wp-content/uploads/2010/08/win7iis_13.jpg” height=”189″ width=”477″ border=”0″ alt=”Windows7安装IIS” title=”Windows7安装IIS” />

    九、回到IIS,如果右侧显示停止,就选择启动,然后点击下面的浏览网站,就可以打开你绑定文件夹里面的网站了

    http://ons.me/wp-content/uploads/2010/08/win7iis_14.jpg','Image‘);” onmouseover=”this.style.cursor=’hand’” onmouseout=”this.style.cursor=”” src=”http://ons.me/wp-content/uploads/2010/08/win7iis_14.jpg” height=”205″ width=”197″ border=”0″ alt=”Windows7安装IIS” title=”Windows7安装IIS” />

    十、如果有多个网站,在IIS左边“网站”右键“添加网站”

    http://ons.me/wp-content/uploads/2010/08/win7iis_15.jpg','Image‘);” onmouseover=”this.style.cursor=’hand’” onmouseout=”this.style.cursor=”” src=”http://ons.me/wp-content/uploads/2010/08/win7iis_15.jpg” height=”221″ width=”265″ border=”0″ alt=”Windows7安装IIS” title=”Windows7安装IIS” />

    主要修改三个地方,“网站名称”、“物理路径”、“端口”,如果局域网,请修改“IP地址”,同上

    http://ons.me/wp-content/uploads/2010/08/win7iis_16.jpg','Image‘);” onmouseover=”this.style.cursor=’hand’” onmouseout=”this.style.cursor=”” src=”http://ons.me/wp-content/uploads/2010/08/win7iis_16.jpg” height=”577″ width=”527″ border=”0″ alt=”Windows7安装IIS” title=”Windows7安装IIS” />

    十一、添加好后,点击新建的网站名字,就是这个网站的详情了。

    http://ons.me/wp-content/uploads/2010/08/win7iis_17.jpg','Image‘);” onmouseover=”this.style.cursor=’hand’” onmouseout=”this.style.cursor=”” src=”http://ons.me/wp-content/uploads/2010/08/win7iis_17.jpg” height=”182″ width=”202″ border=”0″ alt=”Windows7安装IIS” title=”Windows7安装IIS” />

    本来这次是打算用Discuz!NT来做的,方便与以后做的asp.net网站对接会员。但是老板要求快速,而Discuz!NT我连放到本地VS里面运行都忘记了,所以只好用Discuz! 7.2来做算了。关于主题我也只能下载一个类似的主题然后修改颜色,因为自己也没接触过制作论坛主题。

    来源:http://ons.me/147.html

留下一个回复