cognos安装教程

IIS配置

1.      安装JDK,配置相应的环境变量;

2.      安装oracle数据库,创建一个新的数据库,字符集为UTF8类型(包括国家集);

3.      安装IIS服务;

4.      安装cognos8服务端软件;

5.      将D:\Program Files\cognos\c8\bin\jre\1.5.0\lib\ext目录下的bcprov-jdk14-134.jar复制到D:\ProgramFiles\Java\jdk1.5.0\jre\lib\ext目录下;

6.      配置IIS服务虚拟目录;

7.      配置JAVA_HOME环境变量(若有第5步,则该步骤省略);

8.      将D:\oracle\product\10.1.0\Db_1\jdbc\lib\ojdbc14.jar复制到
D:\Program Files\cognos\c8\webapps\p2pd\WEB-INF\lib目录下

9.  运行cognos8,修改Security-Authentication-Cognos为匿名访问,值为true,关闭防火墙CognosApplication Firewall;删除缺省资料库,选择“Data Access-Content Manager选择“Content Store”击右键选择“delete”删除缺省的资料库。Content Manager 必须配置唯一资料库。新建合适资料库,以oracle为例选择“Data Access-Content Manager选择“Content Store”击右键选择“New resource”-“Database”;

10.  测试连接;

11.  安装客户端。

 

Tomcat配置

1.      安装JDK,配置相应的环境变量;

2.      安装oracle数据库,创建一个新的数据库,字符集为UTF8类型(包括国家集);

3.      安装cognos8服务端软件;

4.      将D:\Program Files\cognos\c8\bin\jre\1.5.0\lib\ext目录下的bcprov-jdk14-134.jar复制到D:\ProgramFiles\Java\jdk1.5.0\jre\lib\ext目录下;

5.      将D:\oracle\product\10.1.0\db_1\jdbc\lib\ojdbc14.jar复制到
D:\Program Files\cognos\c8\webapps\p2pd\WEB-INF\lib目录下

6.      将D:\Program Files\cognos\c8\webcontent目录下所有文件拷到D:\Program Files\cognos\c8\webapps\p2pd目录下;

7.      修改表权限,若不成功则将数据库表删除后再重新修改表权限,修改如下:

(sqlplus

 输入用户名和密码

System/cognos8

conn sys/sys sysdba
grant connect to scott;

grant dba toscott;

grant resourceto scott;

grant unlimitedtablespace to scott;

grantdelete_catalog_role to scott;

grant ejbclientto scott;

grantexecute_catalog_role to scott;

grantexp_full_database to scott;

grantgather_system_statistics to scott;

grantimp_full_database to scott;

grant resourceto scott;

grantselect_catalog_role to scott;

-- Grant/Revokesystem privileges

grant create anymaterialized view to scott;

grant create anytable to scott;

grant create anyview to scott;

grant createtable to scott;

grant drop anymaterialized view to scott;

grant drop anytable to scott;

grant unlimitedtablespace to scott;

若重新创建用户,则:

create userscott

  identified by scott

  default tablespace USERS

  temporary tablespace TEMP

  profile DEFAULT;

 

grant connect toscott;

grant dba toscott;

grant resourceto scott;

grant unlimitedtablespace to scott;

grantdelete_catalog_role to scott;

grant ejbclientto scott;

grantexecute_catalog_role to scott;

grantexp_full_database to scott;

grantgather_system_statistics to scott;

grantimp_full_database to scott;

grant resourceto scott;

grant select_catalog_roleto scott;

-- Grant/Revokesystem privileges

grant create anymaterialized view to scott;

grant create anytable to scott;

grant create anyview to scott;

grant createtable to scott;

grant drop anymaterialized view to scott;

grant drop anytable to scott;

grant unlimitedtablespace to scott;

8. 运行cognos8,修改Security-Authentication-Cognos为匿名访问,值为true,关闭防火墙CognosApplication Firewall;删除缺省资料库,选择“Data Access-Content Manager选择“Content Store”击右键选择“delete”删除缺省的资料库。Content Manager 必须配置唯一资料库。新建合适资料库,以oracle为例选择“Data Access-Content Manager选择“Content Store”击右键选择“New resource”-“Database”;

9.   安装客户端

10.CognosConfiguration 客户端中对Environment项进行配置:
Gateway URIhttp://localhost:80/cognos8/cgi-bin/cognos.cgi
替换为:http://localhost:9300/p2pd/servlet/dispatch

tomcat环境下发布时将D:\Program Files\cognos\c8\webcontent目录下所有文件拷到D:\Program Files\cognos\c8\webapps\p2pd目录下

 

tomcat安装注意:

客户端修改Gateway URI地址为服务端地址,如:http://cognos.management.ccb:9300/p2pd/servlet/dispatch

 

修改客户端URI时需删除客户端C:\ProgramFiles\cognos\c8\configuration目录下三个文件:encryptkeypairsignkeypaircsk

CFG-ERR-0106 CognosConfiguration did not receive a response from the Cognos 8 service in the timeallotted.

Check that Cognos 8service is available and properly configured.

服务端:

1、        oracle下数据库实例配成utf-8

oracle字符集要是:SIMPLIFIED CHINESE_CHINA.AL32UTF8

     (可以通过:selectuserenv('language') from dual;查询)

2、安装cognos服务

3、设置jdk

客户端安装:

 

第一步cognos configuration里的Gateway ,保存时要删除encryptkeypairsignkeypaircsk三个文件

第二步打开framwork manager 创建工程、设置数据源、创建物理及视图模型(按规则)

 

  • 1
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

cnzf1

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值