Chinaunix首页 | 论坛 | 博客
  • 博客访问: 69972
  • 博文数量: 26
  • 博客积分: 2010
  • 博客等级: 大尉
  • 技术积分: 310
  • 用 户 组: 普通用户
  • 注册时间: 2006-06-02 16:13
文章分类

全部博文(26)

文章存档

2009年(18)

2008年(8)

我的朋友
最近访客

分类: 数据库开发技术

2009-06-16 13:20:19

/***************************************/
/*        root用户操作                 */
/***************************************/
创建组 用户
--------------------------------------------
# groupadd timesten
# useradd -d /userhome/timesten -g timesten -s /usr/bin/bash -m timesten
创建目录/etc/TimesTen
--------------------------------------------
# mkdir /etc/TimesTen
# chmod 775 /etc/TimesTen
# chgrp timesten /etc/TimesTen

/***************************************/
/*        timesten用户操作             */
/***************************************/
/userhome/timesten>tar xvf timesten70500.solx86.tar
/userhome/timesten/solx86>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 ]
Of the three components:
  [1] Client/Server and Data Manager
  [2] Data Manager Only
  [3] Client Only
Which would you like to install? [ 1 ]
Where would you like to install the tt70 instance of TimesTen? [ /userhome/timesten ] /opt/app/timesten
Where would you like to create the daemon home directory? [ /opt/app/timesten/TimesTen/tt70/info ]
The directory /opt/app/timesten/TimesTen/tt70/info does not exist.
Do you want to create it? [ yes ]
Installing into /opt/app/timesten/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/app/timesten/TimesTen/tt70/info/DemoDataStore
Where would you like to create the DemoDataStore directory? [ /opt/app/timesten/TimesTen/tt70/info ]
Creating /opt/app/timesten/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/app/timesten/TimesTen/tt70/PERL/perl.tar ...
Would you like to enable datastore access control? [ no ]
The daemon logs will be located in /opt/app/timesten/TimesTen/tt70/info
Would you like to specify a different location for the daemon logs? [ no ]
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 startup OK.
Installing client components ...
What is the name of the host running the TimesTen server? [ sun ]
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/app/timesten/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/app/timesten/TimesTen/tt70/doc ]
The directory /opt/app/timesten/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/app/timesten/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/app/timesten/TimesTen/tt70/startup/tt_tt70'.
End of TimesTen installation.
 

验证
--------------------------------------------
/opt/app/timesten/TimesTen/tt70/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
 
 
--------------------------------------
在/etc/TimesTen下生成文件instance_info
/etc/TimesTen>more instance_info
#SUM 19675 1
[ tt70 ]
Product=TimesTen7.0.5
InstallDir=/opt/app/timesten/TimesTen/tt70
InstanceAdministrator=timesten
DaemonHome=/opt/app/timesten/TimesTen/tt70/info
BitLevel=32
Component=Client/Server and DataManager
TT_PORT=17000
阅读(595) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~