cmdBuild官网地址:http://www.cmdbuild.org/it
下载、功能和安装说明:http://www.cmdbuild.org/en/download
扩展组件:
- shark-cmdbuild-2.3.3.zip (webapp shark with extensions for cmdbuild)
- basic-connector-1.5.0.zip (external connector - OCS Inventory)
- additional-report-libs-1.5.zip (Jasper Reports additional libraries)
- cmdbuild-portlet-1.6.1.war (integration Liferay portlet)
- cmdbuild-gui-framework-0.7.0.zip (external GUI framework)
- READY2USE 1.0 zip (for test)
Hardware requirements:
- server-class computer (modern architecture)
- 4 gigabytes (GB) of RAM
- 80 GB of available hard disk space
Software requirements:
- any OS able to handle the following applications (linux recommended)
- PostgreSQL 9.0 or higher (PostgreSQL 9.3 recommended)
- PostGIS 1.5.2 or 2.0 (optional)
- Apache Tomcat 6.0 or 7.0 (recommended)
- JDK 1.6
- (*) Alfresco 3.4 for cards' documents management(可选)
Included libraries:
- jdbc library for DB connection
- jasperreports libraries for report generation
- shark libraries for the workflow engine
- DMS Alfresco webservice for repository interaction
- Ext JS libraries for the Ajax user interface
- Prefuse libraries for the Flash-based relation graph
- Server and client components for map making feature
Additional software (recommended):
- IReport and JasperReports for custom report design
- TWE for custom workflow design
- OCS Inventory as automatic inventory software
安装部署:
cmdBuild
- 将war文件( CMDBuild-{版本号}.war)拷贝到Tomcat的webapps文件夹下,将其重命名为cmdbuild.war
- 将extras下的CMDBuild-shark文件夹拷贝到webapps下
- 将extras下的tomcat-libs文件夹中的所有文件拷贝到Tomcat的lib文件夹下
- 在客户端的浏览器中输入http://{server address}:{port num}/cmdbuild
- 按照提示配置即可使用
- 注意的是PostgreSQL的默认端口号是5432,选择Demo是一个不错的选择,里面已经为我们设置好一些IT资产类和类之间的关系描述。选择配置一个shark scheme,如果此时使用admin/admin登陆,会发现在主页面提示Class RequestForChange non Found,这就需要安装Shark Server。
Shark Server(Workflow功能)
- 下载shark-cmdbuild-2.1.6.zip(如果不下载将无法使用Workflow功能),并解压缩。
- 将其中的war文件重命名为shark-cmdbuild-server.war,并拷贝到tomcat的webapps文件夹下
- 重启Tomcat,在客户端输入http://{server address}:{port num}/shark-cmdbuild-server,此时服务器端Tomcat的Webapps文件夹下会出现文件夹shark-cmdbuild-server,修改其中conf中的Shark.conf文件.
-
1 org.cmdbuild.ws.url=http://localhost:8080/cmdbuild/
2 org.cmdbuild.ws.username=workflow
3 org.cmdbuild.ws.password=changeme其中org.cmdbuild.ws.url是cmdbuild的网址,urser是cmdbuild中具有超级用户权限的一个用户名,如果在安装Cmdbuild时选择了demo,那么这个用户是默认的,只需要在CMDBuild中为其设置一个新的口令,并将其拷贝到org.cmdbuild.ws.password的对应值上。
- 打开shark-cmdbuild-server/META-INF/context.xml,修改其中的
1 url="jdbc:postgresql://localhost/${cmdbuild}"
其中${cmdbuild}是数据库的名字,在安装CMDBuild时确定。当安装CMDBuild如图2所示时,应将${cmdbuild}替换为cmdbuild
- 对于shark-cmdbuild-server/WEB-INF/conf/auth.conf文件中的相关注释:
serviceusers.prigileged=workflow
- 删除Tomcat下logs、tmp、work/Catalina中的所有文件,并删除{Tomcat}/conf下的对应配置文件
- 重启Tomcat
- 最后,在CMDBuild中管理模块中,启用Workflow,并设置workflow的路径,即http://localhost:8080/shark-cmdbuild-server,用户名和密码就是前面设置过的