Rules Engine Visual Rules Solution Development Basic Tutorial [Serial 2]--Installation

Installation

1. Purpose
            of preparation The purpose of this preparation is to provide the operating instructions for installing and deploying the Rule Execution Manager, as well as the detailed configuration operation instructions after installation, to those who use the system.
2. Installation environment
1. Hardware environment
(1) Server-PC server:
(2) CPU: Intel Pentium 4 Xeon 3000 Quantity 1;
(3) Memory: 2G or more;
(4) Hard disk: SCSI 72.8G Quantity 2;
(5) CD-ROM: Quantity 1.

2. Software environment
(1) Server side - Windows operating system
(2) VisualRulesSolution server version (including JDK1.5)

3. Installation steps
1. Install VisualRulesSolution
(1) Obtain the standard rules configurator installation package: VisualRulesSolution_4.* .exe, double-click the package to start the installation, and a window as shown below will pop up:



(2) After confirming that the installation is required, click "Next", and the following window will pop up:



(3) Please read carefully and choose to accept the license agreement, then click "Next", the introduction window about VisualRulesSolution products as shown below will pop up:



(4) Click "Next", the following window will pop up:



(5) In the interface shown in the figure above, please click "Browse" to select the installation directory of Qizheng Business Rules Editor, usually "D:\VisualRulesSolution", and then click "Next", as shown in the figure below window:



(6) Click "Next" directly in this operation interface, and the window as shown below will pop up:



(7) By default, icons and quick launch icons are not created on the desktop, but for your convenience in using this product, please tick "Create desktop icons" and "Create quick launch icons". Then click "Next", the following window will pop up:



(8) At this point, the installation-related information has been set. If you have any questions, you can click the previous step to reset. If you confirm that the information is correct, click Install. A window as shown below will pop up:



(9) The installer will install the Qizheng business rules customization platform into the path you specified, please wait. After completion, the following window will appear:



            When the interface shown in the figure above appears, it means that the installer has copied the files to your local path. Please tick the boxes in front of "Register Rule Execution Service", "Run Register Tomcat Service" and "Register Mysql Service". If you do not use the Mysql database, you can not register it. The installer comes with Tomcat 5.5 and JDK 5.0, so this operation will register the Tomcat service and use it in the rule package editor by creating a local Tomcat server. web page to test. In this way, after clicking Finish, a Mysql database will be installed in the installation directory. At this point, the Qizheng business rules customization platform has been installed.
            After the installation is complete, a service program "Apache Tomcat rules" will be registered in the service of the operating system, as shown in the following figure:



            Note: If you only need to use the Rule Execution Manager, you do not need to install or start this service. If you need to unregister this service, you can execute unregistTomcat.bat in the installation directory. Need to re-register, you can execute registerTomcat.bat.

            And a service program "mysql rules" will be registered, as shown in the following figure:



            Note: If you only need to use the Rule Execution Manager, you do not need to install or start this service. If you need to unregister this service, you can execute unregistMysql.bat in the installation directory. Need to re-register, you can execute setupMysql.bat.

            In addition, a service program "Rule Engine Server" will be registered, as shown in the following figure:



            注意:如果只需要使用规则执行管理器,则无需安装此服务,也不用启动此服务。如果需要注销此服务,可以执行安装目录下的unregistTomcat.bat。需要重新注册,可以执行registTomcat.bat。
2.安装后配置
            安装完毕之后,安装目录下的目录和文件如图所示:



其中的文件和目录大致介绍如下:
(1)classes:这次存在规则配置器配置文件的目录,规则包所需要用到的数据库连接配置文件,Java规则引擎配置文件,都放到此目录中。
(2)doc:旗正规则引擎的所有帮助文档和操作手册都在此目录下。
(3)jre: 此目录安装了JDK5.0,用于启动规则配置器以及系统自带的Tomcat。
(4)lib:此目录是规则配置器所用到的所有的jar包,包括数据库连接所需要的各种JDBC驱动程序,目前已经安装了Oracle、Mysql、JTDS等常规的jar包,如果用户需要使用其他的JDBC驱动,可以将相关的驱动程序复制到此目录下。
(5)mysql:这是mysql的安装目录,其中包含了mysql相关的应用软件以及数据库文件。
(6)samples:此目录存储了此帮助文件中所介绍的一些帮助工程文件,你可以通过双击其下面的default.rep文件,打开该目录下的所有的规则包。
(7)temp:此目录用于规则包中编辑jsp web操作界面时,所生成的一些临时文件。
(8)Tomcat:此目录安装了Tomcat5.5版本,缺省情况下,其使用了8880端口,作为Tomcat所使用的连接端口。在此Tomcat中,也安装了Root站点,并且复制了通过web方式调用规则所需要的各种jar包,您可以直接将web页面复制到root目录下,通过 http://localhost:8880/方式来进行访问。
(9)DataBuilder.exe:执行此文件可以启动数据库配置器。
(10)registTomcat.ba:此文件用于注册软件缺省安装的Tomcat服务,如果在安装软件是没有选择“注册web服务,用于web方式测试规则”,则可以通过运行此文件来注册“Apache Tomcat rules”服务。
(11)unregistTomcat.bat:执行此文件可以注销“Apache Tomcat rules”服务。
(12)startTomcat.bat:执行此文件可以启动“Apache Tomcat rules”服务。
(13)stopTomcat.bat:执行此文件可以停止“Apache Tomcat rules”服务。
(14)setupMysql.bat:执行此文件可以注册“Mysql”服务。
(15)unregistMysql.bat:执行此文件可以注销“Mysql”服务。
(16)RuleBuilder.exe:执行此文件可以启动规则配置器。
(17)RuleBuilder.CHM:此文件是规则配置器的帮助文件。
(18)RuleExecuter.exe:执行此文件可以启动规则包执行管理器。

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326852956&siteId=291194637