This kernel requires an x86-64 CPU, but only detected an i686 CPU.
为了运行一款软件,我也是拼了。彻底的玩了一次,因为A需要B,我去下载B,结果B又需要C,我去下载C,结果……怎一个艰难了得。最关键的是,目前还没有达到目的!!!
先记录下过程,有时间再来一遍,也许我已经走到了99%呢,就差一点就成功了呢?放弃太可惜!
1) 为了实现一个名叫“规则引擎”的功能,我根据推荐,找到了 drools 这款开源软件
2) drools 的官网为 http://drools.org/
a) 查看官方文档 以及 广大网友的博客资料,了解 drools 的基本使用方法
b) 下载 drools 的 jar包 和实例,以及 广大网友 分享的 使用drools 的项目实例
c) 写自己的例子
d) 结论:drools 确实可以实现一定的规则,但是 规则文件的书写 非开发人员 很难操作。
e) drools 提供了 Drools Workbench
注:day1:下载失败+1,+1,网速原因。
day2:后来终于下载了Tomcat 7+ WAR,按照其中的readme 安装项目,为了下载了tomcat7 ,修改了相关配置,结果 运行失败。
day3:突然看到了一篇很好的博客 http://blog.csdn.net/u012373815/article/details/53526287 ,本质上与 项目中的文档说明没有差别。唯一的区别就是 将原本使用的 h2 数据库 改成了 Mysql 数据库。
启动多次报错:其中一个原因:这里都提到了修改环境变量。
可以将 环境变量直接 添加在 startup.bat 中 (windows 环境)
set CATALINA_HOME=D:\tomcat-drools-wb
set CATALINA_OPTS=-Xms512M -Xmx1024M -XX:MaxPermSize=512m -Dbtm.root=%CATALINA_HOME% -Dbitronix.tm.configuration=%CATALINA_HOME%/conf/btm-config.properties -Djbpm.tsr.jndi.lookup=java:comp/env/TransactionSynchronizationRegistry -Djava.security.auth.login.config=%CATALINA_HOME%/webapps/kie-drools-wb/WEB-INF/classes/login.config -Dorg.jboss.logging.provider=jdk
至于readme 中提到的 需要复制 到 tomcat/lib 中的架包,可以用 maven 来下载
<dependency>
<groupId>org.codehaus.btm</groupId>
<artifactId>btm</artifactId>
<version>2.1.</version>
</dependency>
<dependency>
<groupId>org.codehaus.btm</groupId>
<artifactId>btm-tomcat55-lifecycle</artifactId>
<version>2.1.</version>
</dependency>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<version>1.3.</version>
</dependency>
<dependency>
<groupId>org.kie</groupId>
<artifactId>kie-tomcat-integration</artifactId>
<version>6.5..Final</version>
</dependency>
<dependency>
<groupId>javax.security</groupId>
<artifactId>jacc</artifactId>
<version>1.0</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j.version}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>${slf4j.version}</version>
</dependency>
注:我的项目启动了!真心不容易。虽然不知道是否能达到我的要求,但此时就该庆贺一下,过程艰难。
其 提供了 docker 下载方案:docker pull jboss/drools-workbench
Docker images
You can find the Docker images and how to use them for last final version at
For more info about the Drools Docker images see this blog post.
f) drools 提供了 Eclipse 插件
注:下载失败+1,网速原因。后下载了迅雷使用迅雷下载
3)遂决定安装 docker 试试
1) 下载
docker 官网 https://www.docker.com/docker-windows
注:下载第一次,成功。安装,提示:安装环境只支持 win10 以上版本。若是windows 其他版本,请选择 docker toolbox。
然后我在官网下载失败了一次又一次!最后终于下载下来了!
当然后来我知道,其中我没必要和官网Docker Toolbox 拼命的,其他下载地址:https://get.daocloud.io/toolbox/ ,选择对应的版本下载即可。
安装包 https://github.com/boot2docker/windows-installer/releases(这个地址国内下载很慢)
用这个: https://get.daocloud.io/toolbox/
2) 安装
参考博客:http://blog.csdn.net/zistxym/article/details/42918339
说好的下一步下一步,然后就成功了,多出了三个软件(Oracle VM VirtualBox 、Git 、Boot2Docker for Windows ) 的呢!
事实结果是,多出来的东西实际上并不可以使用。
4) virtualbox
http://download.virtualbox.org/virtualbox/5.1.18/
- 安装Virtualbox 地址https://www.virtualbox.org
- 下载boot2docker.iso,下载地址:https://github.com/boot2docker/boot2docker/releases.或者从七牛下载速度快http://mysoftware.qiniudn.com/boot2docker.iso
5)Boot2Docker
Boot2Docker官方下载地址:https://github.com/boot2docker/windows-installer/releases
Boot2Docker官方安装手顺:http://docs.docker.com/installation/windows/
this kernel requires an x86-64 CPU, but only detected an i686 CPU. unable to boot - please ues a kernel appropriate for your CPU.

在虚拟机中安装Linux系统,主机为win7 64位系统
启动后提示如上图。
解决方法:(源自网络)
关闭计算机(非重启)-- 进入BIOS -- 设置BIOS的虚拟化(不打开,默认是工作在32位模式的,virtualization technology~ enable)--保存退出。
暂未测试完成,下次再说。
This kernel requires an x86-64 CPU, but only detected an i686 CPU.的更多相关文章
- this kernel requires an x86-64 CPU, but only detected an i686 CPU. unable to boot - please ues a ker
http://blog.csdn.net/xiao_cs/article/details/7728529 this kernel requires an x86-64 CPU, but only de ...
- “this kernel requires an x86-64 CPU, but only detects an i686 CPU, unable to boot” 问题解决
1. 问题描述: 在Virtual Box上安装 Ubuntu 系统时出现错误(如题),VIrtual Box 上也没有64位操作系统的选项 2.原因分析: (1) 可能 BIOS 的 Virtua ...
- vbox下安装 linux 64 bit出现“kernel requires an x86_64 cpu
今天在vbox下安装linux 64bit出现"kernel requires an x86_64 cpu, but only detected "的错误,网上有很多文章介 ...
- 修复VirtualBox "This kernel requires the following features not present on the CPU: pae Unable to boot
问题描述: 1.机器:Linux主机,特别是主机为大内存,比如: 4G内存的使用pae内核的Ubuntu系统的dell电脑. 2.情况:使用VirtualBox安装Linux系统时,比如:通过Virt ...
- 修复VirtualBox "This kernel requires the following features not present on the CPU: pae Unable to boot – please use a kernel appropriate for your CPU"
异常处理汇总-开发工具 http://www.cnblogs.com/dunitian/p/4522988.html 修复VirtualBox "This kernel requires ...
- 修复VirtualBox "This kernel requires the following features not present on the CPU: pae Unable to boot – please use a kernel appropriate for your CPU"(安装深度Linux的时候就需要)
异常处理汇总-开发工具 http://www.cnblogs.com/dunitian/p/4522988.html 修复VirtualBox "This kernel requires ...
- < IOS > X-code 5.1 x86 - 64 编译问题
关于xcode 5.1 x86 - 64 编译问题 坐等了N久,终于IOS 7.1 发布了,作为一个果粉,忍不住第一时间升级了.结果用设备测试的时候,出问题了,一直检测不到设备,哈哈,纠结了半 ...
- 手机CPU知识扫盲:谈谈手机CPU架构与原理 (全
CPU是手机上面最复杂,最贵的Soc(芯片),担任的也是手机中大脑的位 置,是手机跑分性能的决定性硬件.智能手机发展到今天,各大手机CPU厂商也从春秋战国逐渐到了现在四国鼎立的时代(高通,MTK,三星 ...
- 手机CPU知识扫盲:谈谈手机CPU架构与原理
CPU是手机上面最复杂,最贵的Soc(芯片),担任的也是手机中大脑的位置,是手机跑分性能的决定性硬件.智能手机发展到今天,各大手机CPU厂商也从春秋战国逐渐到了现在四国鼎立的时代(高通,MTK,三星, ...
随机推荐
- 【论文笔记】Progressive Neural Networks 渐进式神经网络
Progressive NN Progressive NN是第一篇我看到的deepmind做这个问题的.思路就是说我不能忘记第一个任务的网络,同时又能使用第一个任务的网络来做第二个任务. 为了不忘记之 ...
- Git pull error: Your local changes to the following files would be overwritten by merge:
联合开发,遇上的一个问题,果然,在此验证了百度的不靠谱,是谷歌出的答案...... stackoverflow上有解决方案,链接:http://stackoverflow.com/questions/ ...
- JAVA-JSP内置对象之config对象
相关资料:<21天学通Java Web开发> config对象1.config对象可以用来获得Servlet的配置信息. 方法 ...
- JAVA-JSP内置对象之application对象获得服务器版本
相关资料:<21天学通Java Web开发> application对象获得服务器版本1.通过application对象的getMajorVersion()方法和getMinorVersi ...
- WPF学习笔记(3)——style
http://www.cnblogs.com/Zhouyongh/archive/2011/08/01/2123610.html Style 用来在类型的不同实例之间共享属性.资源和事件处理程序,您可 ...
- 基于jQuery实现汉字转换成拼音代码
基于jQuery实现汉字转换成拼音代码.这是一款基于jQuery.Hz2Py.js插件实现的汉字转拼音特效.效果图如下: 在线预览 源码下载 实现的代码. html代码: <br /> ...
- Linux 下 less 命令
less 命令功能强大,上能搜索,下能动态加载查看日志,并且每一屏内容都是预加载,不会加载整个文件,所以不会由于搜索内容过多把机器卡死 语法 less [参数] 文件地址 参数说明 -N:显示行号 f ...
- html超链接,锚点以及特殊字符
超链接 <a></a>中不加东西是显示不了的. href:跳转的地址 target:_self(本页面打开,默认选项),_blank(新页面打开) title:文本提示 空链接 ...
- C语言 · 周期字串
算法提高 周期字串 时间限制:1.0s 内存限制:256.0MB 问题描述 右右喜欢听故事,但是右右的妈妈总是讲一些“从前有座山,山里有座庙,庙里有个老和尚给小和尚讲故事,讲的什么呢 ...
- Windows API 常用函数
.Net中虽然类库很强的,但还是有些时候功能有限,掌握常用的api函数,会给我们解决问题提供另一种思路,下面给出自己常用到的Api函数,以备查询. 知道api函数,但却不知道c#或VB.net该如何声 ...