免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 900 | 回复: 0
打印 上一主题 下一主题

安装ies4linux [复制链接]

论坛徽章:
17
2015年辞旧岁徽章
日期:2015-03-03 16:54:152017金鸡报晓
日期:2017-02-08 10:39:422017金鸡报晓
日期:2017-01-10 15:19:56JAVA
日期:2016-11-01 13:25:46C
日期:2016-10-25 16:01:4715-16赛季CBA联赛之八一
日期:2016-06-21 23:38:0815-16赛季CBA联赛之山东
日期:2016-05-12 12:49:54IT运维版块每日发帖之星
日期:2016-04-20 06:20:00IT运维版块每日发帖之星
日期:2016-03-22 06:20:00黄金圣斗士
日期:2015-11-24 10:43:13IT运维版块每日发帖之星
日期:2015-08-25 06:20:002015亚冠之德黑兰石油
日期:2015-08-22 22:55:54
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-03-05 19:10 |只看该作者 |倒序浏览
硬件环境: intel P4 3.0D

系统环境: redhat as4u4 kernel 2.6.9-5.ELsmp

软件: cabextract-1.2-1.i386.rpm ()
      wine-1.1.14.tar.bz2 (
www.winehq.org
)
      ies4linux-2.99.0.tar.gz(
http://www.tatanka.com.br/ies4linux/downloads/ies4linux-2.99.0.tar.gz
)

安装步骤:
1. rpm -ivh cabextract-1.2-1.i386.rpm
2. tar -jxvf wine-1.1.14.tar.bz2 cd wine-1.1.14 ./configure && make && make install
3. 以普通用户身份
   tar -zxvf ies4linux-2.99.0.tar.gz
   cd ies4linux-2.99.0
   注:如果系统使用中文是需要如下步骤
   vi lib/functions.sh
   找出 pid=$(wget -q -b -t 1 -T 5 -U “$useragent” -o /dev/null $URL $WGETFLAGS -O “$file” | sed -e ’s/[^0-9]//g’)
   改成 pid=$(LC_ALL=C LANG=C wget -q -b -t 1 -T 5 -U “$useragent” -o /dev/null $URL $WGETFLAGS -O “$file” | sed -e ’s/[^0-9]//g’)

   然后在执行 ./ies4linux --no-gui --locale CN --install-corefonts

   以后要使用IE执行  /home/user/bin/ie6


解决ie6按钮不显示中文问题

1. 到windows下copy一个simsun.ttc放到
   ~/.ies4linux/ie6/drive_c/windows/Fonts

2. vi ~/.ies4linux/ie6/system.reg
   找到这两行
   “MS Sans Serif”=”sserife.fon”
   “MS Serif”=”serife.fon”
   替换为
   “MS Sans Serif”=”SIMSUN.TTC”
   “MS Serif”=”SIMSUN.TTC”

3. 另外修改
   [Software\\Microsoft\\Windows NT\\CurrentVersion\\FontSubstitutes] 1144897563
   “MS Shell Dlg”=”SimSun”
   “MS Shell Dlg 2″=”SimSun”
   保存退出,OK了

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/28814/showart_1852803.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP