eygle.com   eygle.com
eygle.com eygle
eygle.com  
 

« Oracle10g安装中的NetWork和crt1.o错误 | Blog首页 | TimesTen:Cache Group局部数据缓存及Aging »

TimesTen 7.0.5 For Linx安装过程记录
modb.pro

TimesTen 7.0.5 For Linx的安装还是比较简单的,不像Oracle可能还需要启动图形界面,Timesten完全是命令行方式安装就可以完成。

我使用的是Oracle用户安装,本机同时还装有Oracle数据库。
首先用root创建/etc/下的TimesTen目录:

[root@test root]# mkdir /etc/TimesTen
[root@test root]# chown oracle:dba /etc/TimesTen/

如果不做这个步骤,安装时可能会出现如下错误:

[oracle@test linux86]$ ./setup.sh

ERROR: You do not have permissions to create the directory
/etc/TimesTen. 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.

以下是安装过程:


[root@test root]# su - oracle
[oracle@test oracle]$ cd /tmp/linux86/
[oracle@test linux86]$ ./setup.sh

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? [ tt70 ]
Instance name will be 'tt70'.
Is this correct? [ yes ]

Please select a product :

[1] Oracle TimesTen In-Memory Database
[2] Oracle In-Memory Database Cache

Which product would you like to install? [ 1 ] 2

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
Where would you like to install the tt70 instance of TimesTen? [ /opt/oracle ]
Where would you like to create the daemon home directory? [ /opt/oracle/TimesTen/tt70/info ]
The directory /opt/oracle/TimesTen/tt70/info does not exist.
Do you want to create it? [ yes ] yes
Installing into /opt/oracle/TimesTen/tt70 ...
Uncompressing ...


The TimesTen Demo applications can take up to 64 Mbytes of disk space.
Depending on how your system is configured, you may not want to create the
DemoDataStore directory in the default location,
/opt/oracle/TimesTen/tt70/info/DemoDataStore

Where would you like to create the DemoDataStore directory? [ /opt/oracle/TimesTen/tt70/info ]
Creating /opt/oracle/TimesTen/tt70/info/DemoDataStore ...

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 17000.

Do you want to use the default port number for the TimesTen daemon? [ yes ]
The daemon will run on the default port number (17000).

Processing /opt/oracle/TimesTen/tt70/PERL/perl.tar ...

Would you like to enable datastore access control? [ no ] yes
The daemon logs will be located in /opt/oracle/TimesTen/tt70/info
Would you like to specify a different location for the daemon logs? [ no ]

The following variables have been set in the file :
/opt/oracle/TimesTen/tt70/bin/ttThunk

ORACLE_HOME=/opt/oracle/product/10.2.0
LD_LIBRARY_PATH=/opt/oracle/TimesTen/tt70/lib:/opt/oracle/product/10.2.0/lib32:/opt/oracle/product/10.2.0/network/lib32:/opt/oracle/product/10.2.0/lib:/opt/oracle/product/10.2.0/network/lib

Would you like to enable the Cache Connect to Oracle Administrator? [ yes ]
What TCP/IP port number would you like Cache Connect to Oracle Administrator to listen on? [ 17004 ]

NOTE: To access the TimesTen Cache Connect to Oracle Administrator
go to the url: http://localhost:17004/cache

Installing server components ...
Would you like to log all server Connects/Disconnects? [ yes ] What is the TCP/IP port number that you want the TimesTen Server to listen on? [ 17002 ]
Starting the daemon ...
TimesTen Daemon Release 7.0.5, instance tt70, pid 23251

Installing client components ...
What is the name of the host running the TimesTen server? [ test ]
What is the TCP/IP port number that the TimesTen server is listening on? [ 17002 ]
What is the name of the instance running the TimesTen server? [ tt70 ]
Creating new /opt/oracle/TimesTen/tt70/info/sys.ttconnect.ini
Extracting 3rd party tools ...
Would you like to install the documentation? [ yes ]
Where would you like to create the doc directory (s=skip)? [ /opt/oracle/TimesTen/tt70/doc ]
The directory /opt/oracle/TimesTen/tt70/doc does not exist.
Do you want to create it? [ yes ]

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

Run the script '/opt/oracle/TimesTen/tt70/bin/setuproot' as root.
This will move the TimesTen startup script into its appropriate location.

The startup script is currently located here :
'/opt/oracle/TimesTen/tt70/startup/tt_tt70'.

End of TimesTen installation.

安装完成之后,可以通过ttisql来连接TimesTen数据库进行管理,我安装的版本是7.0.5:

[oracle@test bin]$ ttisql

Copyright (c) 1996-2008, Oracle. All rights reserved.
Type ? or "help" for help, type "exit" to quit ttIsql.
All commands must end with a semicolon character.


Command> version;
TimesTen Release 7.0.5.0.0


历史上的今天...
    >> 2018-04-16文章:
    >> 2013-04-16文章:
    >> 2011-04-16文章:
    >> 2008-04-16文章:
           DBA警世录:root操作需谨慎
    >> 2007-04-16文章:

By eygle on 2009-04-16 13:44 | Comments (0) | Advanced | 2254 |


CopyRight © 2004~2020 云和恩墨,成就未来!, All rights reserved.
数据恢复·紧急救援·性能优化 云和恩墨 24x7 热线电话:400-600-8755 业务咨询:010-59007017-7040 or 7037 业务合作: marketing@enmotech.com