首页 > 数字化转型 > ERP > Timesten11G安装


原创 ERP 作者:jolly10 时间:2012-03-27 16:59:13 0 删除 编辑

1.修改内核参数,由于之前已安装过11gR2 client端,此部忽略
kernel.shmmax = 2147483648
kernel.sem = 270 32000 100 128
net.ipv4.tcp_rmem = 4096 4194304 4194304
net.ipv4.tcp_wmem = 98304 4194304 4194304
net.ipv4.tcp_mem = 98304 4194304 4194304
net.core.rmem_default = 65535
net.core.wmem_default = 65535
net.core.rmem_max = 4194304
net.core.wmem_max = 4194304
net.ipv4.tcp_window_scaling = 1
net.ipv4.ip_local_port_range = 1024 65000

然后执行 sysctl -p ,使修改生效

[root@rhel132 linux86]# mkdir /etc/TimesTen
[root@rhel132 linux86]# groupadd ttadmin
[root@rhel132 linux86]# chgrp -R ttadmin /etc/TimesTen
[root@rhel132 linux86]# chmod 770 /etc/TimesTen
[root@rhel132 linux86]# chmod 660 /etc/TimesTen/*
[root@rhel132 linux86]# useradd timesten
[root@rhel132 linux86]# usermod -G ttadmin,oinstall timesten

[root@rhel132 resource]# su - timesten
[timesten@rhel132 ~]$ cd /u01/resource/linux86

[timesten@rhel132 linux86]$ ./

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 ]

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/timesten
[2] /u01/resource
[3] Specify a location
[q] Quit the installation

Where would you like to install the tt1122 instance of TimesTen? [ 1 ]
Where would you like to create the daemon home directory? [ /home/timesten/TimesTen/tt1122/info ]

The daemon logs will be located in /home/timesten/TimesTen/tt1122/info
Would you like to specify a different location for the daemon logs? [ no ]
Installing into /home/timesten/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 53392.

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

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

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

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

In order to use the 'In-Memory 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 /bin/ttModInstall.

Please enter a value for TNS_ADMIN (s=skip)? [ ] /u01/app/oracle/product/10201

TNS_ADMIN will be set to /u01/app/oracle/product/10201
You can change TNS_ADMIN later by running /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
/lib directory and to the 3.4.6 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 ...
What is the TCP/IP port number that you want the TimesTen Server to listen on? [ 53393 ]
Do you want to install QuickStart and the TimesTen Documentation? [ no ] yes
Where would you like to install the quickstart and doc directories (s=skip)? [ /home/timesten/TimesTen/tt1122 ]

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

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

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 /home/timesten/TimesTen/tt1122/bin
./setuproot -install
This will move the TimesTen startup script into its appropriate location.

The startup script is currently located here :

The Quickstart home page can be accessed here :

The Release Notes are located here :

Starting the daemon ...
TimesTen Daemon startup OK.
End of TimesTen installation.

[oracle@rhel132 ~]$ su -
[root@rhel132 bin]# cd /home/timesten/TimesTen/tt1122/bin/
[root@rhel132 bin]# ./setuproot -install
Would you like to install the TimesTen daemon startup scripts into /etc/init.d? [ yes ]
Copying /home/timesten/TimesTen/tt1122/startup/tt_tt1122 to /etc/init.d

Successfully installed the following scripts :

ttDaemonAdmin -start
ttDaemonAdmin -stop

TT的所有配置文件都放在 install_dir/info目录下
TT产生的日志也都在 install_dir/info


[root@rhel132 bin]# sh
NOTE: unknown or unsupported java version, setting values for JDK 1.5

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

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

PATH set to /home/timesten/TimesTen/tt1122/bin:/home/timesten/TimesTen/tt1122/quickstart/sample_code/oci:/home/timesten/TimesTen/tt1122/quickstart/sample_code/odbc:/home/timesten/TimesTen/tt1122/quickstart/sample_code/odbc/xla:/home/timesten/TimesTen/tt1122/quickstart/sample_code/jdbc:/home/timesten/TimesTen/tt1122/quickstart/sample_code/odbc_drivermgr:/home/timesten/TimesTen/tt1122/quickstart/sample_code/proc:/home/timesten/TimesTen/tt1122/quickstart/sample_code/ttclasses:/home/timesten/TimesTen/tt1122/quickstart/sample_code/ttclasses/xla:/home/timesten/TimesTen/tt1122/ttoracle_home/instantclient_11_2:/home/timesten/TimesTen/tt1122/ttoracle_home/instantclient_11_2/sdk:/home/timesten/TimesTen/tt1122/3rdparty/ant/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin

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

TNS_ADMIN set to /u01/app/oracle/product/10201


来自 “ ITPUB博客 ” ,链接:,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录


  • 博文量
  • 访问量