Wine 是一个在 Linux 下运行 Windows 应用程序的软件环境,其核心是一个 Windows 应用程序接口(API)库,作为 Linux 和 Windows 程序之间的桥梁。Wine 的官网是:http://www.winehq.org/。 Wine 安装包里的描述: Description:
While Wine is usually thought of as a Windows(TM) emulator, the Wine
: developers would prefer that users thought of Wine as a Windows
: compatibility layer for UNIX. This package includes a program loader,
: which allows unmodified Windows 3.x/9x/NT binaries to run on x86 and x86_64
: Unixes. Wine does not require MS Windows, but it can use native system
: .dll files if they are available.
:
: The wine package is actually a meta-package which will install everything
: you need for wine to work smoothly. If you don"t want to install everything
: take a look at the wine-* packages. Wine 在 CentOS5.5 里并不是预装的软件包,所以需要先配置 CentOS 的非官方软件源 RPMForge,参见(http://www.linuxidc.com/Linux/2011-01/31505.htm),然后通过 RPMForge 来安装 Wine。 运行命令: yum install wine -y 来安装 wine。Wine-1.2-1 安装包大概有 50M 容量。 安装包会自动安装依赖的软件包,安装一般不会有什么问题。完整完毕,接着就是配置了。 首先把 Windows/system32 下的 MFC42.dll、msxml.dll、msvcp60.dll、riched20.dll、riched32.dll 等 .dll 文件复制到 ~/.wine/drive_c/windows/system32 里,再输入命令 winecfg 运行 wine 配置命令。 其实一般不需要再做特别的配置,wine 就能工作了。 还有一点得注意,做完这些以后运行 Windows 程序时,SELinux 可能会弹出阻止窗口。我们用下面的方法禁用 SELinux: 用文本编辑器编辑 /etc/sysconfig/selinux 文件,把 SELINUX=enforcing 变为 SELINUX=disabled,关闭 SELinux,存盘退出,重启系统。 运行 Windows 程序的方法: 拷贝 Windows 程序(例如 Ueit32.exe)到 ContOS 下的某文件夹下,运行命令: wine Ueit32.exeNessus 4.4 Windows and Linux 安装手册在 CentOS 5.0 中安装 RPMforge 安装源相关资讯 CentOS
- CentOS虚拟机NAT静态IP设置 (07/04/2013 17:09:32)
- CentOS 格式化新硬盘并设置开机自 (07/04/2013 16:50:50)
- 服务器为何用CentOS不用Ubnutu (02/24/2013 15:19:10)
| - CentOS /usr/libexec/gconf-sanity (07/04/2013 17:07:42)
- 为什么我们选择CentOS而不是Debian (06/06/2013 06:19:40)
- 在CentOS下搭建Android 开发环境 (02/18/2013 09:14:14)
|
本文评论 查看全部评论 (5)
评论声明- 尊重网上道德,遵守中华人民共和国的各项有关法律法规
- 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
- 本站管理人员有权保留或删除其管辖留言中的任意内容
- 本站有权在网站内转载或引用您的评论
- 参与本评论即表明您已经阅读并接受上述条款
| |
第 5 楼 匿名 发表于 2013/9/2 17:10:42ssssssssssssssss回复 支持 (0) 反对 (0)第 4 楼 匿名 发表于 2013/9/2 17:10:37sdfffdddddddd回复 支持 (0) 反对 (0)第 3 楼 匿名 发表于 2013/9/2 17:10:28sdffdddddddddddddddddd回复