内存数据库Timesten安装过程全记录

[[email protected] timesten]# su - tt

[[email protected] ~]$ cd /timesten/linux8664/

[[email protected] linux8664]$ ls

3rdparty  doc  install.pl  LINUX8664  README.html  setup.sh  uninst.sh

[[email protected] linux8664]$ ./setup.sh

WARNING: You are running an unsupported version of Linux. Please refer to

the TimesTen documentation for officially supported operating systems.

Do you want to continue anyway? [ no ] yes

ERROR: The /etc/TimesTen directory needs to be created for the instance registry

and its ownership and permissions set appropriately.

Please refer to the installation guide for assistance.

[[email protected] linux8664]$ exit

logout

[[email protected] timesten]#  mkdir /etc/TimesTen

[[email protected] timesten]# chown ?R tt:ttadmin /etc/TimesTen

chown: `?R‘: invalid user

[[email protected] timesten]# chown -

[[email protected] timesten]# chgrp -R ttadmin /etc/TimesTen

[[email protected] timesten]# su - oracle

[[email protected] ~]$ exit

logout

[[email protected] timesten]# su - tt

[[email protected] ~]$ cd /timesten/linux8664/

[[email protected] linux8664]$ ls

3rdparty  doc  install.pl  LINUX8664  README.html  setup.sh  uninst.sh

[[email protected] linux8664]$ ./setup.sh

WARNING: You are running an unsupported version of Linux. Please refer to

the TimesTen documentation for officially supported operating systems.

Do you want to continue anyway? [ no ] yes

NOTE: Each TimesTen installation is identified by a unique instance name.

The instance name must be a non-null alphanumeric string, not longer

than 255 characters.

Please choose an instance name for this installation? [ tt1122 ]

Instance name will be ‘tt1122‘.

Is this correct? [ yes ] yes

Of the three components:

[1] Client/Server and Data Manager

[2] Data Manager Only

[3] Client Only

Which would you like to install? [ 1 ] 1

Of the following options :

[1] /home/tt

[2] /timesten

[3] Specify a location

[q] Quit the installation

Where would you like to install the tt1122 instance of TimesTen? [ 1 ] 1

Where would you like to create the daemon home directory? [ /home/tt/TimesTen/tt1122/info ]

The daemon logs will be located in /home/tt/TimesTen/tt1122/info

Would you like to specify a different location for the daemon logs? [ no ] yes

Where would you like the daemon logs to be written? [ /home/tt/TimesTen/tt1122/info ]

Installing into /home/tt/TimesTen/tt1122 ...

Uncompressing ...

NOTE: If you are configuring TimesTen for use with Oracle Clusterware, the

daemon port number must be the same across all TimesTen installations

managed within the same Oracle Clusterware cluster.

NOTE: All installations that replicate to each other must use the same daemon

port number that is set at installation time. The daemon port number can

be verified by running ‘ttVersion‘.

The default port number is 53396.

Do you want to use the default port number for the TimesTen daemon? [ yes ] yes

The daemon will run on the default port number (53396).

NOTE: For security, we recommend that you restrict access to the

TimesTen installation to members of a single OS group. Only members of

that OS group will be allowed to perform direct mode connections to

TimesTen, and only members of that OS group will be allowed to perform

operations that access TimesTen data stores, TimesTen files and shared

memory. The OS group defaults to the primary group of the instance

administrator. You can default to this group, choose another OS group

or you can make this instance world-accessible. If you choose to make

this instance world-accessible, all database files and shared memory

are readable and writable by all users.

Restrict access to the the TimesTen installation to the group ‘tt‘? [ yes ] yes

NOTE: Enabling PL/SQL will increase the size of some TimesTen libraries.

Would you like to enable PL/SQL for this instance? [ yes ] yes

In order to use the ‘Oracle TimesTen Application-Tier Database Cache‘ feature in any databases

created within this installation, you must set a value for the TNS_ADMIN

environment variable. It can be left blank, and a value can be supplied later

using <install_dir>/bin/ttModInstall.

Please enter a value for TNS_ADMIN (s=skip)? [  ] s

NOTE: It appears that you are running version 4 or higher of the g++

compiler. TimesTen ships with multiple sets of client libraries and server

binaries : one built for compatibility with g++ 3.4.6 and one with

g++ 4.1.0. The installer has created links to the 4.1.0 library in the

<install_dir>/lib directory and to the 4.1.0 server binary in the

<install_dir>/bin directory. If you want to use a different compiler,

please modify the links to point to the desired library and server binary.

Installing server components ...

What is the TCP/IP port number that you want the TimesTen Server to listen on? [ 53397 ]

Do you want to install the Quick Start Sample Programs and the TimesTen Documentation? [ no ] yes

Where would you like to install the Quick Start and doc directories (s=skip)? [ /home/tt/TimesTen/tt1122 ]

The TimesTen documentation has been installed in /home/tt/TimesTen/tt1122.

The TimesTen Quick Start applications can take up to 64 Mbytes of disk space.

Depending on how your system is configured, you may not want to create the

Quick Start DemoDataStore directory in the default location,

/home/tt/TimesTen/tt1122/info/DemoDataStore

Where would you like to create the DemoDataStore directory? [ /home/tt/TimesTen/tt1122/info ]

Creating /home/tt/TimesTen/tt1122/info/DemoDataStore ...

Installing client components ...

Would you like to use TimesTen Replication with Oracle Clusterware? [ no ] yes

Please provide the path to the Oracle Clusterware installation on this machine (s=skip)? [  ] s

TimesTen Replication with Oracle Clusterware will not be installed. You can run

/home/tt/TimesTen/tt1122/bin/ttmodinstall -crs

to install this feature after this installation.

NOTE: The TimesTen daemon startup/shutdown scripts have not been installed.

Run the ‘setuproot‘ script :

cd /home/tt/TimesTen/tt1122/bin

./setuproot -install

This will move the TimesTen startup script into its appropriate location.

The startup script is currently located here :

‘/home/tt/TimesTen/tt1122/startup/tt_tt1122‘.

The Quickstart home page can be accessed here :

‘/home/tt/TimesTen/tt1122/quickstart/index.html‘

The 11.2.2.7 Release Notes are located here :

‘/home/tt/TimesTen/tt1122/README.html‘

Starting the daemon ...

TimesTen Daemon startup OK.

End of TimesTen installation.

[[email protected] linux8664]$ cd /home/tt/TimesTen/tt1122/bin/

[[email protected] bin]$ sh ttenv.sh

NOTE: unknown or unsupported java version, setting values for JDK 1.5

LD_LIBRARY_PATH set to /home/tt/TimesTen/tt1122/lib:/home/tt/TimesTen/tt1122/ttoracle_home/instantclient_11_2

ANT_HOME set to /home/tt/TimesTen/tt1122/3rdparty/ant

PATH set to /home/tt/TimesTen/tt1122/bin:/home/tt/TimesTen/tt1122/quickstart/sample_code/oci:/home/tt/TimesTen/tt1122/quickstart/sample_code/odbc:/home/tt/TimesTen/tt1122/quickstart/sample_code/odbc/xla:/home/tt/TimesTen/tt1122/quickstart/sample_code/jdbc:/home/tt/TimesTen/tt1122/quickstart/sample_code/odbc_drivermgr:/home/tt/TimesTen/tt1122/quickstart/sample_code/proc:/home/tt/TimesTen/tt1122/quickstart/sample_code/ttclasses:/home/tt/TimesTen/tt1122/quickstart/sample_code/ttclasses/xla:/home/tt/TimesTen/tt1122/ttoracle_home/instantclient_11_2:/home/tt/TimesTen/tt1122/ttoracle_home/instantclient_11_2/sdk:/home/tt/TimesTen/tt1122/3rdparty/ant/bin:/usr/lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/tt/bin

CLASSPATH set to /home/tt/TimesTen/tt1122/lib/ttjdbc5.jar:/home/tt/TimesTen/tt1122/lib/orai18n.jar:/home/tt/TimesTen/tt1122/lib/timestenjmsxla.jar:/home/tt/TimesTen/tt1122/3rdparty/jms1.1/lib/jms.jar:.

[[email protected] bin]$ sh ttenv.csh

NOTE: unknown or unsupported java version, setting values for JDK 1.5

ttenv.csh: line 9: setenv: command not found

ttenv.csh: line 9: setenv: command not found

ttenv.csh: line 9: setenv: command not found

ttenv.csh: line 9: setenv: command not found

LD_LIBRARY_PATH set to /home/tt/TimesTen/tt1122/lib:/home/tt/TimesTen/tt1122/ttoracle_home/instantclient_11_2

ANT_HOME set to /home/tt/TimesTen/tt1122/3rdparty/ant

PATH set to /home/tt/TimesTen/tt1122/bin:/home/tt/TimesTen/tt1122/quickstart/sample_code/oci:/home/tt/TimesTen/tt1122/quickstart/sample_code/odbc:/home/tt/TimesTen/tt1122/quickstart/sample_code/odbc/xla:/home/tt/TimesTen/tt1122/quickstart/sample_code/jdbc:/home/tt/TimesTen/tt1122/quickstart/sample_code/odbc_drivermgr:/home/tt/TimesTen/tt1122/quickstart/sample_code/proc:/home/tt/TimesTen/tt1122/quickstart/sample_code/ttclasses:/home/tt/TimesTen/tt1122/quickstart/sample_code/ttclasses/xla:/home/tt/TimesTen/tt1122/ttoracle_home/instantclient_11_2:/home/tt/TimesTen/tt1122/ttoracle_home/instantclient_11_2/sdk:/home/tt/TimesTen/tt1122/3rdparty/ant/bin:/usr/lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/tt/bin

CLASSPATH set to /home/tt/TimesTen/tt1122/lib/ttjdbc5.jar:/home/tt/TimesTen/tt1122/lib/orai18n.jar:/home/tt/TimesTen/tt1122/lib/timestenjmsxla.jar:/home/tt/TimesTen/tt1122/3rdparty/jms1.1/lib/jms.jar:.

[[email protected] bin]$ cd /home/tt/TimesTen/tt1122/info/

修改.bash_profile

export TIMESTEN=/home/tt/TimesTen/tt1122

export LD_LIBRARY_PATH=$TIMESTEN/lib

export PATH=$TIMESTEN/bin:$PATH

[[email protected] ~]$ ttVersion

TimesTen Release 11.2.2.7.4 (64 bit Linux/x86_64) (tt1122:53396) 2014-07-07T18:26:53Z

Instance admin: tt

Instance home directory: /home/tt/TimesTen/tt1122

Group owner: tt

Daemon home directory: /home/tt/TimesTen/tt1122/info

PL/SQL enabled.

[[email protected] ~]$ ttStat

ttStats       ttStatsCS     ttStatus

ttStatsCmd    ttStatsCSCmd  ttStatusCmd

[[email protected] ~]$ ttStatus

TimesTen status report as of Fri Jul 11 15:22:07 2014

Daemon pid 10058 port 53396 instance tt1122

TimesTen server pid 10067 started on port 53397

------------------------------------------------------------------------

Accessible by group tt

End of report

内存数据库Timesten安装过程全记录

时间: 2024-12-08 00:08:52

内存数据库Timesten安装过程全记录的相关文章

源码编译mysql 5.5+ 安装过程全记录

前言:从mysql 5.5版本开始,mysql源码安装开始使用cmake了,编译安装跟以前的版本有点不一样了. 一,安装步骤: 1.安装前准备工作 a.下载mysql源代码包,到mysql下载页面选择MYSQL Community Serve Source Code 版本 注意:不要选择Linux-Generic版本,此版本为已经编译好的二进制版本 b.检查本机Linux是否已安装好make,bison,cmake,gcc-c++,ncurses,如果尚未安装,先安装以上包,安装方法如下: 注意

在CentOS6上编译安装实现LAMP(php-modules)+phpMyAdmin安装过程全记录

php与apache协作有三种模式:CGI.modules.FastCGI. 在CGI模式下,用户请求php文件时,apache会启动响应进程,调用php处理器处理请求,然后将结果返回给客户端.用户响应及处理由前端apache服务器完成: 在modules模式下,php解析器作为apache的一个模块,php处理器与web服务器一起运行处理用户请求.用户响应由apache处理,请求处理由apache与php处理器协同完成: 在fastcgi模式下,apache调用proxcy模块,发挥代理作用,

C#打包制作安装程序过程全记录

该文是根据网上的文章并结合自己实际打包的过程而整理的. 开发平台:VisualStudio2005中文版. 步骤如下: 1. 创建一个安装向导项目或安装部署项目 新建项目-〉其他项目类型-〉安装与部署-〉安装向导(或安装部署),如命名为setup. 2. 将要打包的项目导入到这个安装项目中,有两种方式:   第一种,自动方式,在解决方案上右击-〉添加-〉现有项目-〉选择你要打包的项目,这样就会把这个项目添加到该解决方案中来,   然后在安装项目setup上右击-〉添加-〉项目输出-〉主输出,在项

mongodb 3.2.5安装过程详细记录

2016-10-19    mongodb 3.2.5安装 1 准备安装介质 安装介质下载: mongodb的安装方式,我通常使用二进制包的方式,内网不能配置连接外网的yum源: 官方建议的mongodb下载地址为:   Downloads.mongodb.org 但实际上,这个地址,很难找到下载表,正常下载,通常可以用下面的下载地址选择下载: 我这里下载的是: 3.2.5 版本对应的 mongodb-linux-x86_64-rhel62-3.2.5-20-g07e21d8.tgz 如果将整个

在CentOS7上通过RPM安装实现LAMP+phpMyAdmin过程全记录

时间:2017年9月20日 一.软件环境: IP:192.168.1.71 Hostname:centos73-2.surmount.net Linux:CentOS Linux release 7.3.1611 (Core) Apache:httpd-2.4.6 Mysql:Ver 15.1 Distrib 5.5.52-MariaDB PHP:初始用ISO光盘yum源安装的版本为php-5.4.16.在后续安装phpMyAdmin-4.7.4时报错,然后按提示升级为php56w-5.6.31

主板故障导致服务器不定时频繁重启故障解决过程全记录

服务器:HP DL385 G7 操作系统:suse10 sp3 数据库:oracle 11g R2 集群软件:VCS 双机主备 环境:两台服务器使用VCS软件做的oracle主备切换数据库 故障现象: 1.两台数据库主机不定期频繁重启,每次重启时在操作系统message日志中均没有任何记录: 2.系统启动时,message 日志出现与硬件相关的错误信息 message 日志信息: ----------------------------------------------------------

从写博到出书:过程全记录

从读博士起,我对编程的兴趣忽然浓厚起来.当时做大规模并行运算,需要自己写很多程序和脚本.作为新进研究组的新人,我自觉负担起很多写程序的活儿.写得多了,兴趣也变得浓厚. 那个时候抓紧一切机会学习编程.在我读博的研究所里,有一位英国教授也喜欢编程.她叫爱玛·希尔(Emma Hill),教我们用编程语言处理地球科学的数据.有一天,我路过她的办公室.她问我最近的学习进度. “准备学Perl呢.”我回答说,“感觉Perl在地理领域应用很广.” “你为什么不学学Python呢?”爱玛问我,“这门语言发展很快

线上服务器PHP版本编译安装升级全记录

1.将原来的PHP重命名一下 cd /usr/local/bin/ mv php php.2.9 2.安装依赖 yum install gcc gcc-c++ libxml2 libxml2-devel autoconf libjpeg libjpeg-devel libpng libpng-devel freetype freetype-devel zlib zlib-devel glibc glibc-devel glib2 glib2-devel 报错,centos版本太老了,5.5,yu

Dlib使用过程全记录(二)

使用的环境: VS2015 + win7 使用dlib的方法: Compiling on Windows Using Visual Studio 2015 or Newer (来自官网) 官网的原文: All you need to do is create an empty console project. Then add dlib/all/source.cpp to it and add the folder containing the dlib folder to the #inclu