TimesTen11g在linux64 bit下的安装

来源:互联网 发布:易通软件 编辑:程序博客网 时间:2024/05/21 16:44
之前在Linux上安装TimesTen,不过很简单,贴出来记录一下。

[root@ty102g etc]# su - timesten
[timesten@ty102g ~]$ id
uid=503(timesten) gid=700(ttadmin) groups=700(ttadmin)
[timesten@ty102g ~]$ ls -al /etc/TimesTen
total 20
drwxrwx--- 2 root ttadmin 4096 May 10 19:46 .
drwxr-xr-x 97 root root 12288 May 10 19:46 ..
[timesten@ty102g tt]$ gunzip timesten112180.linux8664.tar.gz
[timesten@ty102g tt]$
[timesten@ty102g tt]$
[timesten@ty102g tt]$ ls
timesten112180.linux8664.tar
[timesten@ty102g tt]$ tar -xvf timesten112180.linux8664.tar
linux8664/
linux8664/doc/
linux8664/doc/doc.zip
linux8664/3rdparty/
linux8664/3rdparty/ant-1.6.2-bin.tar.bz2
linux8664/3rdparty/jms-1_1-fr-apidocs.tar.bz2
linux8664/install.pl
linux8664/setup.sh
linux8664/uninst.sh
linux8664/README.html
linux8664/LINUX8664/
linux8664/LINUX8664/manifest
linux8664/LINUX8664/perl
linux8664/LINUX8664/bzip2
linux8664/LINUX8664/unzip
linux8664/LINUX8664/ttpatchinst
linux8664/LINUX8664/common.tar.bz2
linux8664/LINUX8664/ttserver.tar.bz2
linux8664/LINUX8664/timesten.tar.bz2
linux8664/LINUX8664/ttclient.tar.bz2
[timesten@ty102g tt]$
[timesten@ty102g tt]$
[timesten@ty102g tt]$ ls
linux8664 timesten112180.linux8664.tar
[timesten@ty102g tt]$ cd linux8664/
[timesten@ty102g linux8664]$ ls
3rdparty doc install.pl LINUX8664 README.html setup.sh uninst.sh
[timesten@ty102g linux8664]$ ./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 ] 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 ] 1

Of the following options :

[1] /home/timesten
[2] /soft/tt
[3] Specify a location
[q] Quit the installation

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

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

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

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 'ttadmin'? [ 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 <install_dir>/bin/ttModInstall.

Please enter a value for TNS_ADMIN (s=skip)? [ ] s


NOTE: It appears that you are running version 4.1 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 4.1.0 library in the
<install_dir>/lib directory and to the 4.1.0 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? [ 53389 ]
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/tt1121 ]

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,
/home/timesten/TimesTen/tt1121/info/DemoDataStore

Where would you like to create the DemoDataStore directory? [ /home/timesten/TimesTen/tt1121/info ]
Creating /home/timesten/TimesTen/tt1121/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/tt1121/bin
./setuproot -install
This will move the TimesTen startup script into its appropriate location.

The startup script is currently located here :
'/home/timesten/TimesTen/tt1121/startup/tt_tt1121'.

The Quickstart home page can be accessed here :
'/home/timesten/TimesTen/tt1121/quickstart/index.html'

The 11.2.1.8 Release Notes are located here :
'/home/timesten/TimesTen/tt1121/README.html'

Starting the daemon ...
TimesTen Daemon startup OK.
End of TimesTen installation.
[timesten@ty102g linux8664]$
[timesten@ty102g linux8664]$ cd /home/timesten/TimesTen/tt1121
[timesten@ty102g tt1121]$ ls
3rdparty doc info mibs nls PERL quickstart README.html support ttoracle_home
bin include lib network oraclescripts plsql quickstart.html startup ttclasses welcome.html
[timesten@ty102g tt1121]$ cd bin
[timesten@ty102g bin]$ ./ttversion
TimesTen Release 11.2.1.8.0 (64 bit Linux/x86_64) (tt1121:53388) 2011-02-02T02:20:46Z
Instance admin: timesten
Instance home directory: /home/timesten/TimesTen/tt1121
Group owner: ttadmin
Daemon home directory: /home/timesten/TimesTen/tt1121/info
PL/SQL enabled.
[timesten@ty102g bin]$ ./ttstatus
TimesTen status report as of Thu May 10 20:08:53 2012

Daemon pid 11892 port 53388 instance tt1121
TimesTen server pid 11900 started on port 53389
--------------------------------------------------------------
Accessible by group ttadmin
End of report
[timesten@ty102g bin]$

0 0
原创粉丝点击