当前位置: 首页>>技术教程>>正文


如何安装Internet Explorer(多个版本)?

, , , ,

问题描述

我正在开发一个在Rails中具有聊天功能的站点。我正在使用Ubuntu 12.04 LTS。我需要检查该网站是IE9,因为聊天功能使用HTML5的socket io。我想知道如何在Ubuntu中安装IE9。我看过Chrome和Firefox扩展程序,但如果有任何独立版本,请给我建议。

最佳解决方法

Microsoft已经创建了一些自定义的Windows VHD,目的是允许Web设计人员在Internet Explorer 10,9,8和7中免费测试30天的网站:

您可以从此网站下载虚拟机​​映像:

从网站:

  1. Download the SFX and all RAR files for the VM (smaller VMs may not have files with RAR extension). In each set below that contains a split archive, the provided text file (.txt) contains URLs to all files in the set, and this can be used directly with the ‘wget’ command in Linux. From the terminal, enter wget -i [URL TO TEXT FILE]. For Windows XP single file downloads, use wget [URL TO DOWNLOAD FILE] instead.

Example 1:

wget -i https://az412801.vo.msecnd.net/vhd/IEKitV1_Final/VirtualBox/Linux/IE8_Win7/IE8.Win7.For.LinuxVirtualBox_2.txt 

Example 2:

wget https://az412801.vo.msecnd.net/vhd/IEKitV1_Final/VirtualBox/Linux/IE6_XP/IE6.WinXP.For.LinuxVirtualBox.sfx 
  1. After the download of all files for a set is complete, give the SFX file execute permission by typing chmod +x filename.sfx at the terminal.

  2. Execute the SFX executable from the terminal with ./filename.sfx to expand the virtual machine to the current directory.

也可以看看:

次佳解决方法

这是用于个人/正常使用还是用于测试网站开发?

如果是正常浏览,您可以获得winetricks。然后跑

winetricks ie6

要么

winetricks ie7

要么

winetricks ie8

它应该安装一个准系统,just-functioning版本的IE。但这不是完整的事情。您可能会发现在VMWare Player或VirtualBox中运行IE并实现无缝集成可能是更好的选择。

如果这是用于测试Web开发,请查看browsershots.org,它可以在不同的浏览器和版本中为您测试网站。

第三种解决方法

最好的选择是从VirtualBox运行IE。不久前,微软创建了一些文件,可以从VirtualBox免费运行IE 7,8和9(不需要Windows许可证)。试一试。

引自Webupd8.org:

Microsoft has created some customized Windows VHDs with the purpose of allowing web designers to test websites in Internet Explorer 9, 8 and 7, for free. To make it easier to set up, xdissent has created a Mac OSX / Linux script that will download the required files, extract them, install the latest VirtualBox guest additions and so on.

阅读更多here。 🙂

第四种方法

您可以安装Internet Explorer,但据我所知只有版本8及更低版本。

就是这样。我使用PlayOnLinux,因为它使得使用WINE变得更加容易。如果您没有PlayOnLinux,请从Ubuntu软件中心安装(如果您需要最新版本,请转到PlayOnLinux download page,单击”Ubuntu”,然后按照说明操作)。

  • 打开PlayOnLinux。刷新时等待几秒钟(底部的状态栏)。

  • 单击大“+安装”按钮。将打开一个新窗口。

  • 单击”Internet”按钮。

  • 单击“Internet Explorer 8”。

  • 单击”Install”。

virtualbox,software-installation,virtualization,ie,ubuntu

  • 出现安装向导。点击下一步;稍等一会。

  • IE8将开始安装,向您询问问题,然后接受许可条款。它会提示您安装更新;清除此check-box并按Next。

  • 再等一会儿。

  • 出现提示时,选择“立即重启(推荐)”。这不会重新启动您的计算机;相反,PlayOnLinux将模拟Windows重启。

现在,您将在桌面上拥有Internet Explorer图标,而在PlayOnLinux窗口中将拥有另一个图标。您可以使用double-click中的任何一个来启动IE8。

请注意,由于多种原因,显示器与Windows上的显示不会完全匹配,但至少它会在Ubuntu上为您提供IE8!

第五种方法

截至今天(2010年9月30日和Wine 1.3.3),IE 8在Wine中不起作用。它将安装和加载,但它不会连接或渲染页面,窗口将有很多可见的故障。

如果它在将来有用,您将需要使用Wine PPA中的Wine1.3软件包。

要安装它,最简单的方法是使用winetricks。如果您已经添加了PPA并安装了葡萄酒,那么您应该已经拥有了winetricks包 – 只需输入winetricks ie8即可进行安装。

如果您使用不同版本的Internet Explorer进行Web开发,我强烈建议您为每个版本创建单独的wineprefix。请参阅我的博客文章:http://yokozar.org/blog/archives/236

第六种方法

下载并安装免费的Oracle Virtualbox虚拟机软件

  1. 使用OS X Daily文章Internet Explorer for Mac the Easy Way: Run IE 7, IE8, & IE9 Free in a Virtual Machine中提到的脚本来下载,转换和安装要在VirtualBox上使用的Microsoft免费IE测试VM。

然后从以下任何或所有Internet Explorer版本中进行选择:

Install ALL versions of Internet Explorer: IE7, IE 8, and IE 9

curl -s https://raw.githubusercontent.com/xdissent/ievms/master/ievms.sh | bash

Install Internet Explorer 7 Only

curl -s https://raw.githubusercontent.com/xdissent/ievms/master/ievms.sh | IEVMS_VERSIONS="7" 

Install Internet Explorer 8 Only

curl -s https://raw.githubusercontent.com/xdissent/ievms/master/ievms.sh | IEVMS_VERSIONS="8" bash

Install Internet Explorer 9 Only

curl -s https://raw.githubusercontent.com/xdissent/ievms/master/ievms.sh | IEVMS_VERSIONS="9" bash

注意:如果您碰巧看到此消息,则当前未安装程序’curl’。当您运行上面的任何curl命令时,您可以通过键入以下命令来安装它:

sudo apt-get install curl

在这里你可以看到我在我的Ubuntu机器上运行Internet Explorer 8:

virtualbox,software-installation,virtualization,ie,ubuntu

第七种方法

Microsoft现在已经发布了可以直接从它们下载的Virtualbox映像:

http://www.modern.ie/en-us/virtualization-tools

Test versions of IE using Virtual Machines that you download and manage in your own development environment.

第八种方法

我不敢相信没人发布这个 – 但是Browserling怎么样?它们提供了一个虚拟机,您可以使用IE9和IE10在线访问(如果您升级到付费帐户,您也可以使用IE7和IE8)。

第九种方法

顺便说一句,您可以绕过安装世界上所有浏览器并使用Browser Shots等工具测试您的网页。

(我没有回答你的问题,但只是想到我提到,因为看看你的评论似乎这就是你想在Ubuntu上安装IE的原因)

第十种方法

为了获得最佳结果,您应该尝试在VMware中安装IE 9(除非您需要任何3D加速 – 否则将失败)。

但是,您可以先尝试使用Firefox上的插件更改用户代理,将其识别为IE 9,只是为了检查它是否加载等等。

参考资料

本文由Ubuntu问答整理, 博文地址: https://ubuntuqa.com/article/1046.html,未经允许,请勿转载。