为了学习linux,在单位装了centos,平常进行lamp开发之余也可以学到了些linux系统维护,网络安全等方面的东西,可惜的是开发出来的网站兼容性极差,特别是让人无语的IE6,没办法,用的人多,痛苦也得改,还得改好,所以记录下如何在linux上安装IE6,以备后用,同时也为战斗在一线的lampers;虚拟机当然也行,不过比较耗资源;
1,下载三个压缩包:
cabextract-1.4-1.i386.rpm: 下载
ies4linux-latest.tar.gz: 下载
wine-1.5.27.tar.bz2: 下载
2.下载后直接安装就可以了,这里不再赘述了;
3,安装 ies4linux-latest中遇到以下错误:
Your wine does not have wineprefixcreate installed. Maybe you are running anold Wine version. Try to update it to the latest version.
解决方案:
转自http://hi.baidu.com/shwkj/item/3eeac342bd223c9f833ae1af
由于wine 1.3使用了winepath代替wineprefixcreate,所以安装ies4linux的时候,会提示wine版本太 旧,wineprefixcreate有误。可以通过修改ies4linux 2.99.0.1/lib的functions.sh、install.sh来简单解决ie6的安装问题。
在install.sh 426行左右
subsection $MSG_CREATING_PREFIX
set_wine_prefix "$BASEDIR/ie1/"
wineprefixcreate &> /dev/null
clean_tmp
改为:
subsection $MSG_CREATING_PREFIX
set_wine_prefix "$BASEDIR/ie1/"
winepath &> /dev/null
clean_tmp
在functions.sh 242行左右
function create_wine_prefix {
if which wineprefixcreate &> /dev/null; then
( wineprefixcreate 2>&1 ) | debugPipe
else
error $MSG_ERROR_NO_WINEPREFIXCREATE
fi
}
改为:
function create_wine_prefix {
if which winepath &> /dev/null; then
( winepath 2>&1 ) | debugPipe
else
error $MSG_ERROR_NO_WINEPREFIXCREATE
fi
}
修改后重启就可以了;
阅读(448) | 评论(0) | 转发(0) |
<script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"0","bdSize":"16"},"share":{}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];</script>
1,下载三个压缩包:
cabextract-1.4-1.i386.rpm: 下载
ies4linux-latest.tar.gz: 下载
wine-1.5.27.tar.bz2: 下载
2.下载后直接安装就可以了,这里不再赘述了;
3,安装 ies4linux-latest中遇到以下错误:
Your wine does not have wineprefixcreate installed. Maybe you are running anold Wine version. Try to update it to the latest version.
解决方案:
转自http://hi.baidu.com/shwkj/item/3eeac342bd223c9f833ae1af
由于wine 1.3使用了winepath代替wineprefixcreate,所以安装ies4linux的时候,会提示wine版本太 旧,wineprefixcreate有误。可以通过修改ies4linux 2.99.0.1/lib的functions.sh、install.sh来简单解决ie6的安装问题。
在install.sh 426行左右
subsection $MSG_CREATING_PREFIX
set_wine_prefix "$BASEDIR/ie1/"
wineprefixcreate &> /dev/null
clean_tmp
改为:
subsection $MSG_CREATING_PREFIX
set_wine_prefix "$BASEDIR/ie1/"
winepath &> /dev/null
clean_tmp
在functions.sh 242行左右
function create_wine_prefix {
if which wineprefixcreate &> /dev/null; then
( wineprefixcreate 2>&1 ) | debugPipe
else
error $MSG_ERROR_NO_WINEPREFIXCREATE
fi
}
改为:
function create_wine_prefix {
if which winepath &> /dev/null; then
( winepath 2>&1 ) | debugPipe
else
error $MSG_ERROR_NO_WINEPREFIXCREATE
fi
}
修改后重启就可以了;
相关热门文章
给主人留下些什么吧!~~
评论热议