上周年假,在家里歇了几天,提前回北京。周末抽空在RedHat5.4上装了cognos10,中途遇到些麻烦,下面与大家分享一下安装的过程

首先创建用户和组和安装文件夹等准备工作

[root@CogBISvr ~]# groupadd -g cog        #建立cog组

[root@CogBISvr ~]# useradd -g cog cognos    #建立cognos用户,并放到cog组中

[root@CogBISvr ~]# passwd cognos        #修改cognos的密码

Changing password for user cognos.

New UNIX password:

Retype new UNIX password:

passwd: all authentication tokens updated successfully.

[root@CogBISvr ~]# mkdir /cognos        #建立cognos安装目录

[root@CogBISvr ~]# mkdir /cognos/soft        #建立安装介质存放目录

[root@CogBISvr ~]# chown -R cognos:cog /cognos     #将目录的所有者设置为cognos

安装cognos需要提前设置好java环境,所以先要安装jdk,从oracle官方下载,然后传到linux上

[root@CogBISvr soft]# chmod +x jdk-6u29-linux-x64-rpm.bin    #赋予可执行权限

[root@CogBISvr soft]# ./jdk-6u29-linux-x64-rpm.bin         #开始安装(一定要用root用户进行安装,权限低的用户会报错)

Unpacking...

Checksumming...

Extracting...

UnZipSFX 5.50 of 17 February 2002, by Info-ZIP (Zip-Bugs@lists.wku.edu).

inflating: jdk-6u29-linux-amd64.rpm

inflating: sun-javadb-common-10.6.2-1.1.i386.rpm

inflating: sun-javadb-core-10.6.2-1.1.i386.rpm

inflating: sun-javadb-client-10.6.2-1.1.i386.rpm

inflating: sun-javadb-demo-10.6.2-1.1.i386.rpm

inflating: sun-javadb-docs-10.6.2-1.1.i386.rpm

inflating: sun-javadb-javadoc-10.6.2-1.1.i386.rpm

Preparing...                ########################################### [100%]

1:jdk                    ########################################### [100%]

Unpacking JAR files...

rt.jar...

jsse.jar...

charsets.jar...

tools.jar...

localedata.jar...

plugin.jar...

javaws.jar...

deploy.jar...

Installing JavaDB

Preparing...                ########################################### [100%]

1:sun-javadb-common      ########################################### [ 17%]

2:sun-javadb-core        ########################################### [ 33%]

3:sun-javadb-client      ########################################### [ 50%]

4:sun-javadb-demo        ########################################### [ 67%]

5:sun-javadb-docs        ########################################### [ 83%]

6:sun-javadb-javadoc     ########################################### [100%]

Java(TM) SE Development Kit 6 successfully installed.

Product Registration is FREE and includes many benefits:

* Notification of new versions, patches, and updates

* Special offers on Oracle products, services and training

* Access to early releases and documentation

Product and system data will be collected. If your configuration

supports a browser, the JDK Product Registration form will

be presented. If you do not register, none of this information

will be saved. You may also register your JDK later by

opening the register.html file (located in the JDK installation

directory) in a browser.

For more information on what data Registration collects and

how it is managed and used, see:

http://java.sun.com/javase/registration/JDKRegistrationPrivacy.html

Press Enter to continue.....

安装完成,默认安装到了/usr/java/jdk1.6.0_29这个路径下

接下来进入cognos用户为其设置环境变量

[root@CogBISvr soft]# su - cognos        #切换到cognos用户下

[cognos@CogBISvr ~]$ vi .bash_profile         #编辑脚本

# .bash_profile

# Get the aliases and functions

if [ -f ~/.bashrc ]; then

. ~/.bashrc

fi

# User specific environment and startup programs

PATH=$PATH:$HOME/bin

export JAVA_HOME=/usr/java/jdk1.6.0_29        #增加JAVA_HOME变量

PATH=$JAVA_HOME/bin:$PATH            #加入到PATH中

export PATH

保存退出(ESC ->:wq->回车)

[cognos@CogBISvr ~]$ source .bash_profile     #使profile生效

[cognos@CogBISvr ~]$

[cognos@CogBISvr ~]$ java -version        #测试是否生效。输出正确

java version "1.6.0_29"

Java(TM) SE Runtime Environment (build 1.6.0_29-b11)

Java HotSpot(TM) 64-Bit Server VM (build 20.4-b02, mixed mode)

放入cognos安装盘,进入安装目录/media/bisrvr101ml/linuxi38664h

[cognos@CogBISvr linuxi38664h]$ ./issetup     #执行安装程序

-bash: ./issetup: 权限不够

提示权限不够,查看一下发现用户和组都是数字

[cognos@CogBISvr media]$ ls -al

总计 30

drwxr-xr-x  3 root root 4096 12-03 09:33 .

drwxr-xr-x 26 root root 4096 12-03 08:52 ..

drwxrwxr-x  5 4205  364 2048 2010-10-16 bisrvr101ml

-rw-r--r--  1 root root   66 12-03 09:33 .hal-mtab

-rw-------  1 root root    0 12-03 09:33 .hal-mtab-lock

把安装程序拷贝到硬盘上进行安装

[cognos@CogBISvr media]$ cp -R bisrvr101ml /cognos/soft/bisrv101ml    #将安装程序拷贝到硬盘

拷贝完成后,进入到硬盘的目录中执行安装

[cognos@CogBISvr linuxi38664h]$ ./issetup     #执行安装程序

./issetup: error while loading shared libraries: libXm.so.3: cannot open shared object file: No such file or directory

安装报错,以libXm.so.3为关键字上百度搜索,发现论坛里有人已经解决了这个问题http://www.cognoschina.net/?action-blogdetail-uid-301-id-3917.html

需要安装libXp-1.0.0-8.1.el5.x86_64.rpm、openmotif-2.3.1-5.el5_6.2.x86_64.rpm 两个rpm包

然后在创建软连接,但是我安装完成后在/usr/lib64下创建软连接问题依旧。

想了一下,是不是调用的是32位的呢?卸载掉64为的,安装libXp-1.0.0-8.1.el5.i386.rpm和openmotif-2.3.1-2.el5.i386.rpm

两个32位的,问题解决了(安装rpm在root用户中执行)

[root@CogBISvr lib64]# cd /media/RHEL_5.4\ x86_64\ DVD/Server/

[root@CogBISvr Server]# ls |grep libXp-

libXp-1.0.0-8.1.el5.i386.rpm

libXp-1.0.0-8.1.el5.x86_64.rpm

libXp-devel-1.0.0-8.1.el5.i386.rpm

libXp-devel-1.0.0-8.1.el5.x86_64.rpm

[root@CogBISvr Server]# rpm -ivh libXp-1.0.0-8.1.el5.i386.rpm

warning: libXp-1.0.0-8.1.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186

Preparing...                ########################################### [100%]

1:libXp                  ########################################### [100%]

[root@CogBISvr Server]# ls |grep openmotif

openmotif22-2.2.3-18.i386.rpm

openmotif22-2.2.3-18.x86_64.rpm

openmotif-2.3.1-2.el5.i386.rpm

openmotif-2.3.1-2.el5.x86_64.rpm

openmotif-devel-2.3.1-2.el5.i386.rpm

openmotif-devel-2.3.1-2.el5.x86_64.rpm

[root@CogBISvr Server]# rpm -ivh openmotif-2.3.1-2.el5.i386.rpm

warning: openmotif-2.3.1-2.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186

Preparing...                ########################################### [100%]

1:openmotif              ########################################### [100%]

[root@CogBISvr Server]# cd /usr/lib/

[root@CogBISvr lib]# ln libXm.so.4 libXm.so.3

到此为止,cognos的准备工作都已完成,执行./issetup就可以进行安装了。

安装的过程很顺利,修改好安装路径后一路next就可以了,安装语言选择英文,我选中文会乱码,估计是对应的字体没有安装

安装完成后,启动cognos configuration,配置contentsotre时发现一个问题,我用的是sqlserver2000配置数据库用户的密码时,密码框不可编辑

所以contentstore配置失败,后来用Xmanager的Xstart将图形界面在本地展现时才配置成功。

启动cognos,发现启动失败,查看日志发现dispatch注册content manager指向了其他服务器,非常奇怪,因为我没有任何其他的配置,后来把指向的cognos服务停掉,重新启动,一切正常。

linux_38664和amd64,Cognos10 RedHat5.4 X64 安装记录相关推荐

  1. [python]Win7 X64安装python Scrapy

     最近想研究一下python的爬虫,网上查找了一下资料,scrapy是python爬虫中比较牛b的存在,经过确认,确实是比较"牛B",安装这个scrapy库实在是"牛 ...

  2. Windows 2008 R2 X64 安装WebsitePanel(WSP虚拟主机管理面板)

                   Windows 2008 R2 X64  安装WebsitePanel(WSP2.0虚拟主机管理面板) 估计很多同学都还不知道WebsitePanel是什么东东吧,Web ...

  3. Ubuntu x64安装Android studio 全部步骤和问题解决

    Ubuntu x64安装Android studio 全部步骤和问题解决 参考文章: (1)Ubuntu x64安装Android studio 全部步骤和问题解决 (2)https://www.cn ...

  4. RedHat(RHEL)6.2 X64 Oracle11g X64 安装参考文档

    RHEL6.2 X64  Oracle11g X64 安装参考文档 机器内存:48G 安装过程分为两步,一是修改系统参数,二是软件及数据库安装. 48g内存对应参数 kernel.shmall=125 ...

  5. IntelliJ IDEA 2018.3 x64 安装激活教程(全面)

    IntelliJ IDEA 2018.3 x64安装并破解激活 (1).版本文件下载地址: 1 软件安装:[下载链接](https://pan.baidu.com/s/1yDZhVUY8BesPsT4 ...

  6. optionnally mysql_MySQL数据库之关于windows x64安装MySQL-python失败解决

    本文主要向大家介绍了MySQL数据库之关于windows x64安装MySQL-python失败解决 ,通过具体的内容向大家展现,希望对大家学习MySQL数据库有所帮助. MySQL-python只是 ...

  7. Centos 6.5 x64 安装 虚拟专用网 服务器

    Centos 6.5 x64 安装 虚拟专用网 服务器 http://www.mgrei.com/archives/259.html 本教程适用于Openv VPS.Xen VPS或者KVM VPS. ...

  8. WIN7 X64 安装 Edius 8 失败

    WIN7 X64 安装 Edius  严重错误: windows 安全补丁已安装,Edius仍安装失败 解决方法: EDIUS 8 1) 打开cmd窗口 2) 切换到 EDIUS 安装程序所在目录 3 ...

  9. Win7 x64 安装 AutoCAD R14 与 天正建筑3.6

    Win7 x64 安装 AutoCAD R14 与 天正建筑3.6 前提:在32位系统中(WinXP sp3)正确安装 AutoCAD R14 与 天正建筑3.6,运行并设置好. 一.准备工作 1.复 ...

最新文章

  1. C++泛型编程:template模板
  2. 如何正确使用SqlConnection
  3. python通过封装可以实现代码复用_Python学习笔记(五)函数和代码复用
  4. Java编译过程(传送门)
  5. 延期毕业,只因实验用的鱼被野猫偷吃了………
  6. 应用程序、虚拟目录、应用程序池
  7. 【小项目】Vue 整合 Axios
  8. 南充高中计算机老师,2021四川南充教师招聘考试高中信息技术说课稿之《表格的装饰》...
  9. 雷电模拟器下载与安装Fiddler证书,详细抓包教程
  10. linux进入根目录的代码,Linux根目录+源代码目录
  11. java 线程面试题_8道Java多线程面试题,看过后你不会后悔!
  12. ETL数据抽取 全量 增量
  13. NVIDIA显卡驱动报错
  14. pairing function
  15. 浅谈对Vue框架中MVVM的认识
  16. 面向对象,数据库交互的Spring-boot(新手)
  17. 高校实验室仪器设备管理系统/实验室管理系统
  18. imx8mq-evk快速启动-方案讨论,准备工作
  19. 使用Eric构建使用Caffe应用程序
  20. [2021-09-12]我所知道的最新CSGO国服能取回皮肤的国内开箱网站大全

热门文章

  1. php 读取excel转数组中,thinkphp5使用PHPExcel读取excel csv到数组
  2. 火箭联盟服务器维护中怎么办,《火箭联盟》出现服务器问题 官方致歉并承诺会尽快修复...
  3. Linux如何查找解压文件,linux命令(文件搜索和压缩解压命令)
  4. 学习笔记 04----声明和类
  5. Java的直接量——2017.08.01
  6. linux扫盲之CPU模式
  7. GL中的累计组、汇总帐户和帐户查询的关系
  8. 2010有道难题练习赛
  9. ECCV 2020 论文大盘点-视频目标分割篇
  10. TensorFlow 与 PyTorch 之争