windows 我是否需要下载 Microsoft Internet Information Services?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/8545535/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Do I need to download Microsoft Internet Information Services?
提问by Jason Weber
I'm not a hardcore programmer, but I did develop a company website using MS Visual Web Developer 2010 Express and I want to keep working on it and I want to add things like a company Portal. I use just a local desktop home computer (Windows XP Professional) and I just recently (thanks to good people here) moved to a webhosting company that has the ASP.NET 4.0 Framework on their servers. Locally, when I want to view my website, I can see click "file" then "view in browser" and it points me to localhost. Alternatively, I can upload it to my server's alternative FTP site where I can work on development. I guess what I'm saying is that this computer isn't a server; it's just a desktop that I developed the site on.
我不是一个铁杆程序员,但我确实使用 MS Visual Web Developer 2010 Express 开发了一个公司网站,我想继续研究它,我想添加诸如公司门户之类的东西。我只使用本地台式家用计算机(Windows XP Professional),最近我(感谢这里的好人)搬到了一家服务器上装有 ASP.NET 4.0 框架的网络托管公司。在本地,当我想查看我的网站时,我可以看到单击“文件”,然后单击“在浏览器中查看”,它将我指向本地主机。或者,我可以将它上传到我服务器的备用 FTP 站点,在那里我可以进行开发。我想我的意思是这台计算机不是服务器;它只是我开发网站的桌面。
I keep reading about Microsoft Internet Information Services (IIS). Do I need to download this onto my computer? If so, which IIS do I download? What is it for, and how will it benefit me? I also bookmarked the MS Internet Information Services Toolkit, but again, I don't know if it's worth my time to download this, or if it's pointless.
我一直在阅读有关 Microsoft Internet 信息服务 (IIS) 的信息。我需要把它下载到我的电脑上吗?如果是这样,我应该下载哪个 IIS?它有什么用,它对我有什么好处?我还为MS Internet Information Services Toolkit 加了书签,但同样,我不知道是否值得花时间下载它,或者它是否毫无意义。
Any guidance in this regard would be extremely helpful. Thanks!
在这方面的任何指导都会非常有帮助。谢谢!
- Jason Weber
- 杰森·韦伯
回答by Matt Donnan
IIS is the Microsoft Internet Information Services addin and it will be required if you are looking to host your own page from a desktop machine. The most recent version available to XP would be advisable (not sure which one it is). It allows you to store your web documents in a folder on the local drive which can then be viewed in a web browser. You will also need to do some work with your broadband router, e.g. opening up port 80 and routing incoming traffic through to the IP address of your machine, you may also need to open port 80 in your firewall program. There's a little to much to go through on here but hopefully those points will take you inthe right direction.
IIS 是 Microsoft Internet Information Services 插件,如果您希望从台式机托管您自己的页面,则需要它。建议使用 XP 可用的最新版本(不确定是哪一个)。它允许您将 Web 文档存储在本地驱动器上的文件夹中,然后可以在 Web 浏览器中查看。您还需要对宽带路由器进行一些操作,例如打开端口 80 并将传入流量路由到您机器的 IP 地址,您可能还需要在防火墙程序中打开端口 80。这里要讲的有点太多了,但希望这些要点会带你走向正确的方向。
回答by dinesh
No you can install directly if you have xp cd. OR you have i386 folder in your pc(you should take backup before).
不,如果您有xp cd,则可以直接安装。或者你的电脑中有 i386 文件夹(你应该先备份)。
Follow these simple easy steps. http://chalaki.com/install-iis6-windows-xp-professional-sp3-setup-run-csharp-cgi/425/
遵循这些简单的步骤。http://chalaki.com/install-iis6-windows-xp-professional-sp3-setup-run-csharp-cgi/425/
回答by Wiktor Zychla
Start / Control Panel / Add/remove programs / Add/remove Windows Components.
开始/控制面板/添加/删除程序/添加/删除 Windows 组件。
In there you just check the IIS to be installed and Windows installs it from the installation location.
在那里,您只需检查要安装的 IIS,Windows 就会从安装位置安装它。
回答by asdf_enel_hak
IIS is part of operating system. You can not pick up version.
IIS 是操作系统的一部分。你不能拿起版本。
If IIS is not installed yet, from
如果尚未安装 IIS,则从
control panel -> program files and properties -> switch on/off windows properties
控制面板 -> 程序文件和属性 -> 打开/关闭窗口属性
In case it is not in your list: you install it from Operation System CD or downloading is possible:
for example for Internet Information Services (IIS) 7 Manager
http://www.microsoft.com/download/en/details.aspx?id=2299
如果它不在您的列表中:您可以从操作系统 CD 安装它或可以下载:
例如 Internet Information Services (IIS) 7 Manager
http://www.microsoft.com/download/en/details.aspx?编号=2299
回答by Crab Bucket
It might not be necessary to install IIS to work on an asp.net app. If you have your site in Visual Studio as a web application project rather than a web site project then when you run that project from VS then it will start from it's own built in web server. Thus a webserver such as IIS isn't a requirement for your dev work.
可能不需要安装 IIS 即可在 asp.net 应用程序上工作。如果您在 Visual Studio 中将您的站点作为 Web 应用程序项目而不是网站项目,那么当您从 VS 运行该项目时,它将从它自己的内置 Web 服务器开始。因此,您的开发工作不需要诸如 IIS 之类的网络服务器。
It's easy enough to put on IIS by following these other answers. That said, if it were me, the easy thing to do would be to have it as a web application project and run it from Visual Studio.
通过遵循这些其他答案,很容易安装 IIS。也就是说,如果是我,最简单的方法就是将其作为 Web 应用程序项目并从 Visual Studio 运行。
回答by barak ben horin
about what is iis i suggest you'll take a quick pick over here :
关于什么是 iis 我建议你在这里快速选择:
http://searchwindowsserver.techtarget.com/definition/IIS
http://searchwindowsserver.techtarget.com/definition/IIS
however about how to install it- it's quiet simple actually -
但是关于如何安装它-实际上很简单-
go to control panel->programs->under the headline "programs and features" choose -> "turn windows features on or off"
转到控制面板->程序->在标题“程序和功能”下选择->“打开或关闭Windows功能”
now you'll get a list of componnents , mark the following : internet information services -> web mannegment tools -> mark the whole boxes of iis
现在你会得到一个组件列表,标记如下:互联网信息服务->网络管理工具->标记整个iis框
click on ok and you are good to go.
单击确定,您就可以开始了。
回答by Mubarek
As said before me VS Web Developer includes its own Development Web Server. So for development you don't need IIS. But after you finish developing you may need it for testing. So you need to do two things first install the IIS second Register ASP.net with the IIS.
正如我之前所说,VS Web Developer 包括它自己的开发 Web 服务器。因此,对于开发,您不需要 IIS。但是在您完成开发之后,您可能需要它进行测试。所以你需要做两件事,一是安装IIS,二是用IIS注册ASP.net。
Since you are using win XP operating system the installation is somewhat different from Vista and Win 7. Some steps suggested do not concern XP. You should have the installation disk especially the service pack you used to install your XP. Go to Control Panel>Add Windows Components >select Application Server , click Details button, Select Internet Information Services >Ok
由于您使用的是win XP操作系统,安装与Vista和Win 7有些不同。建议的一些步骤与XP无关。您应该有安装盘,尤其是用于安装 XP 的服务包。转到控制面板>添加 Windows 组件>选择应用程序服务器,单击详细信息按钮,选择 Internet 信息服务>确定
AFter installing the IIS, you need to register(install) asp.net right click on prompt command > Run as administrator > type this command and hit enter
安装 IIS 后,您需要注册(安装)asp.net 右键单击提示命令 > 以管理员身份运行 > 键入此命令并按 Enter
cd c:/windows/microsoft.net/framework/v4.0.30319 aspnet_regiis -i
(if your operating system is 64 please replace the folder famework with framework64 and C: drive with your windows installed drive. For asp.net versions before 4.0 replace the last (v4.0.30319) folder with v2.0.50727). IIS stores websites under the drive/inetpub/wwwroot To understand more google more
(如果您的操作系统是 64,请用 framework64 和 C: 驱动器替换文件夹famework 用您的 Windows 安装驱动器。对于 4.0 之前的 asp.net 版本,用 v2.0.50727 替换最后一个 (v4.0.30319) 文件夹)。IIS将网站存放在drive/inetpub/wwwroot下 了解更多google more
回答by user2371557
Control panel -> Programs -> program and feature tab -> Turn Windows features on or off -> in Windows features window -> Check parent option Internet Information Service and check child option Web Managment Tool & World wide Web Service
控制面板 -> 程序 -> 程序和功能选项卡 -> 打开或关闭 Windows 功能 -> 在 Windows 功能窗口中 -> 检查父选项 Internet 信息服务并检查子选项 Web 管理工具和万维网服务