Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2152967
  • 博文数量: 157
  • 博客积分: 10047
  • 博客等级: 上将
  • 技术积分: 6757
  • 用 户 组: 普通用户
  • 注册时间: 2005-05-19 11:38
文章分类

全部博文(157)

文章存档

2011年(16)

2010年(50)

2009年(42)

2008年(49)

我的朋友

分类: 数据库开发技术

2008-07-22 14:05:16

发布于

[root@west-mountain root]# su – tt1

[tt1@west-mountain ~]$mkdir install

[tt1@west-mountain ~]$cd install 

/*OTN上下载Linux X86 32 bit的安装程序,并放到 tt1 install 目录下*/

[tt1@west-mountain ~/install]$ ls

timesten702.linux86.tar.gz

[tt1@west-mountain ~/install]$ gunzip timesten1.linux86.tar.gz

[tt1@west-mountain ~/install]$ ls

timesten702.linux86.tar

[tt1@west-mountain ~/install]$ tar -xvf timesten1.linux86.tar

linux86/

linux86/doc/

linux86/doc/appsrv.pdf

linux86/doc/arch.pdf

……

[tt1@west-mountain ~/install]$ ls

linux86  timesten702.linux86.tar

[tt1@west-mountain ~/install]$ cd linux86

[tt1@west-mountain linux86]$ ls -al

total 612

drwxr-xr-x  6 timesten tta   4096 Oct  5 01:50 .

drwxr-xr-x  3 timesten tta   4096 Nov 20 20:59 ..

drwxr-xr-x  2 timesten tta   4096 Oct  5 01:50 3rdparty

-rwxr–r–  1 timesten tta  20676 Oct  5 01:48 behaviorchanges.txt

drwxr-xr-x  2 timesten tta   4096 Oct  5 01:50 doc

-rwxr-xr-x  1 timesten tta 198559 Oct  5 01:48 install.pl

drwxr-xr-x  2 timesten tta   4096 Oct  5 01:50 LINUX86

-rwxr–r–  1 timesten tta 231355 Oct  5 01:48 README.pdf

-rwxr–r–  1 timesten tta  44299 Oct  5 01:48 README.TXT

-rwxr-xr-x  1 timesten tta   4663 Oct  5 01:48 setup.sh

drwxr-xr-x  3 timesten tta   4096 Oct  5 01:50 TTClasses

-rwxr-xr-x  1 timesten tta  32468 Oct  5 01:48 uninst.sh

 /*现在开始正式安装*/

[tt1@west-mountain linux86]$ ./setup.sh  -install 

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.

 /*缺省的Instance 名字,长度不能超过255个字符*/

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 TimesTen In-Memory Database with Cache Connect to Oracle

 /*选择 2 为支持Cache Connect功能,但并不是说选择 2 就没有 1的功能了,选项 2 包括了 选项 1的功能*/

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

 /*Client/Server 模式下的三个选择:客户端、服务器端、客户端 + 服务器端*/

Which would you like to install? [ 1 ]  

/*选择安装目录*/

Where would you like to install the tt70 instance of TimesTen? [ /home/tt1 ]

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

The directory /home/tt1/TimesTen/tt70/info does not exist.

Do you want to create it? [ yes ]

Installing into /home/tt1/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,

/home/tt1/TimesTen/tt70/info/DemoDataStore

WARNING: It is advised that you do not install the DemoDataStore directory

         onto a networked drive. Please see the TimesTen install guide for

         more info.

 /*选择创建安装DemoDataStore的目录,不要选在网络磁盘上*/

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

Creating /home/tt1/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.

/*缺省的TimesTen Daemon 监听端口为 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 /home/tt1/TimesTen/tt70/PERL/perl.tar …

/*Access Control 提供了一个对TimesTen的一个初级的权限保护功能,它只是对谁能通过正常的途径(比如ttisqlJDBCODBC)访问到相应的Data Store做了初级的限制;但并不是说,它对在操作系统级别上对Data Store的文件 以及 Log 文件的访问做除了安全保障。比如 root 用户,即使它不是TimesTen的用户,但root用户可以做他想做的任何事情,比如删除Data Store文件等。所以安装的时候一定要注意,一般建议设置为 yesYes时才允许TimesTen创建新的用户*/

Would you like to enable datastore access control? [ no ] yes 

System logging appears to be configured correctly.

(TimesTen syslog messages should be recorded in the file ‘/var/log/messages’)

 /*TimesTen中的Daemon的日志是记录在操作系统的日志文件中的,即和操作系统的日志记录在一起,这也是要求TimesTen的安装用户是 sys 组的成员 的原因*/

Would you like to specify a different location for TimesTen syslog messages? [ no ]  

NOTE: Cache Connect to Oracle requires the ORACLE_HOME environment variable.

If you cannot provide a valid path to your Oracle installation,

you must modify the daemon start script (see installation guide for location)

when you have acquired the appropriate value. Cache Connect to Oracle will not function

properly without ORACLE_HOME defined in the daemon start script.

 /*因为我们选了Cache Connect to Oracle功能,所以需要Oracle的客户端,即需要Oracle_Home的值,但本服务器还没有安装该客户端,所以暂时选 No,以后可以再设,但到时候需要重新启动TimesTen。当然如果你的服务器上已经安装了客户端,可以在此设置Oracle_Home值,建议安装Oracle 9.2.0.8之后或者 Oracle 10g的客户端。*/

Would you like to specify a value for ORACLE_HOME ? [ yes ] no 

Select one of these Cache Connect to Oracle Administrator access options :

  [1] Allow access from this computer only

  [2] Allow access from any computer

  [3] Disable Cache Connect to Oracle Administrator

 /*因为其它服务器访问TimesTen的权限*/

Which mode would you like to run in? [ 1 ] 2 

Enabling Cache Connect to Oracle Administrator with no access restrictions …

 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:

  

NOTE: It appears that you are running version 3.2 of the g++

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

binaries : one built with g++ 2.9.6, one with g++ 3.2.3, and one with

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

/lib directory and to the 3.2.3 server binary in the /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 …

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? [ west-mountain ]

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 /home/tt1/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 (q=quit)? [ /home/tt1/TimesTen/tt70 ]

Creating /home/tt1/TimesTen/tt70/doc …

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

/*如果要使TimesTen随着服务器的启动而启动,要以root用户执行 setuproot 脚本*/

As root, run the script ’setuproot’, located in /home/tt1/TimesTen/tt70/bin,

to move the TimesTen startup script into its appropriate location.

The startup script is currently located here :

  ‘/home/tt1/TimesTen/tt70/startup/tt_tt70′.

 End of TimesTen installation.

至此,TimesTen 安装完毕。

阅读(1881) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~