您的位置:首页 > 数据库 > Oracle

Linux 平台安装 Oracle Timesten

2012-01-04 16:09 357 查看
修改相应的内核参数

kernel.sem = 250 32000 100 128

kernel.shmmax=2147483648

kernel.shmall=4194304

kernel.sem = 250 32000 100 128

net.ipv4.tcp_rmem=4096 4194304 4194304

net.ipv4.tcp_wmem=98304 4194304 4194304

net.core.rmem_default=262144

net.core.wmem_default=262144

net.core.rmem_max=4194304

net.core.wmem_max=4194304

net.ipv4.tcp_window_scaling=1

net.ipv4.ip_local_port_range="1024 65000"

创建用户组

groupadd timesten

usermod -G timesten,oinstall,dba oracle

创建timesten注册文件

mkdir /etc/TimesTen

touch /etc/TimesTen/instance_info

groupadd ttadmin

chgrp -R ttadmin /etc/TimesTen

chmod 770 /etc/TimesTen/

chmod 660 /etc/TimesTen/*

安装timesten

[oracle@ora10gr2 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? [ tt1121 ]

Instance name will be 'tt1121'.

Is this correct? [ 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 ]

Of the following options :

[1] /home/oracle

[2] /home/oracle

[3] Specify a location

[q] Quit the installation

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

Please specify a directory to install TimesTen? [ /home/oracle ] /u01/app/oracle/timesten

Where would you like to create the daemon home directory? [ /u01/app/oracle/timesten/TimesTen/tt1121/info ]

The directory /u01/app/oracle/timesten/TimesTen/tt1121/info does not exist.

Do you want to create it? [ yes ]

The daemon logs will be located in /u01/app/oracle/timesten/TimesTen/tt1121/info

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

Installing into /u01/app/oracle/timesten/TimesTen/tt1121 …

Creating /u01/app/oracle/timesten/TimesTen/tt1121 …

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

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

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

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 'oinstall'? [ yes ]

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

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

TNS_ADMIN was not set in your environment but there is a tnsnames.ora

file in /u01/app/oracle/product/10.2.0/db_1/network/admin.

Would you like to use this TNS_ADMIN setting for the In-Memory Database Cache? [ yes ]

TNS_ADMIN will be set to /u01/app/oracle/product/10.2.0/db_1/network/admin

You can change TNS_ADMIN later by running <install_dir>/bin/ttmodinstall.

NOTE: It appears that you are running version 3.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 3.4.6 library in the

<install_dir>/lib directory and to the 3.4.6 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? [ 53385 ]

Do you want to install QuickStart and the TimesTen Documentation? [ no ]

Would you like to install the documentation (without QuickStart)? [ yes ]

Where would you like to create the doc directory (s=skip)? [ /u01/app/oracle/timesten/TimesTen/tt1121/doc ]

The TimesTen documentation has been installed in /u01/app/oracle/timesten/TimesTen/tt1121/doc.

Installing client components …

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

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

Run the 'setuproot' script :

cd /u01/app/oracle/timesten/TimesTen/tt1121/bin

./setuproot -install

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

The startup script is currently located here :

'/u01/app/oracle/timesten/TimesTen/tt1121/startup/tt_tt1121'.

The 11.2.1.8 Release Notes are located here :

'/u01/app/oracle/timesten/TimesTen/tt1121/README.html'

Starting the daemon …

TimesTen Daemon startup OK.

End of TimesTen installation.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: