Install Tuxedo in Linux
1. Create a new user tuxdeo/tuxdeo in Linux and download the tuxedo software package that supports the Linux system from the Internet.
2. Upload the file to the user's directory through ftp, USB flash drive, or other methods.
/Home/tuxedo/tuxedo111120_32_Linux_01_x86.bin
Run the sh tuxedo111120_32_Linux_01_x86.bin-I console command to install tuxedo.
3. Start the installation and Enter the following interface. Press Enter to continue:
4. Select installation settings, 1-Full Instll, Full installation mode, and press Enter to continue.
5. Select the path/home/tuxedo/oracle to install tuxedo.
6. Confirm the installation directory, or modify the installation directory. Select 2 and select the current directory.
7. display the previously selected installation information. Press Enter to continue.
8. Prepare for installation. Press Enter to continue.
9. Configure tlisten Service appears during installation. Enter the password tuxedo.
10. Select install SSL, select 1, and press Enter to continue
11. Set LDAP
LDAP Service Name: Ldapser
LDAP PortID: 123456
LDAP BaseObject: Ldapbsoj
LDAP Filter File Location:
Press Enter to continue
12. The installation is successful. Press Enter to continue.
13. Next we will use an example to check the connectivity of the service. Under the installed tuxedo directory, there is a document containing the tuxedo example.
/Home/tuxedo/oracle/tuxedo11gR1/samples
1 ). there is a tux in the directory/home/tuxedo/oracle/tuxedo11gR1. the env file. copy the file to. in the bash_profile file, run the source. bash_profile make the environment variable take effect, log out of the system, and log on again.
TUXDIR =/home/tuxedo/oracle/tuxedo11gR1; export TUXDIR
JAVA_HOME = $ TUXDIR/jre; export JAVA_HOME JVMLIBS = $ JAVA_HOME/lib/i386/server: $ JAVA_HOME/jre/bin PATH = $ TUXDIR/bin: $ JAVA_HOME/bin: $ PATH; export PATH COBCPY =: $ TUXDIR/cobinclude; export COBCPY COBOPT = "-C ANS85-c align = 8-c noibmcomp-c trunc = ANSI-c osext = cbl"; export COBOPT SHLIB_PATH = $ TUXDIR/lib: $ JVMLIBS: $ SHLIB_PATH; export SHLIB_PATH LIBPATH = $ TUXDIR/lib: $ JVMLIBS: $ LIBPATH; export LIBPATH LD_LIBRARY_PATH = $ TUXDIR/lib: $ JVMLIBS: $ LD_LIBRARY_PATH; export LD_LIBRARY_PATH WEBJAVADIR = $ TUXDIR/udataobj/webgui/java; export WEBJAVADIR |
2) create a directory in the/home/tuxedo/oracle/tuxedo11gR1/directory.
[Tuxedo @ localhost tuxedo11gR1] $ mkdir myapp
3) Copy all the files in/home/tuxedo/tuxedo11gR1/samples/atmi/simpapp to the myapp directory.
[Tuxedo @ localhost tuxedo11gR1] $ cp samples/atmi/simpapp/* myapp/
4 files in total
README simpcl. c simpserv. c ubbsimple
4) First modify the ubbsimple file, cp ubbsimple ubb
# (C) 2003 BEA Systems, Inc. All Rights Reserved. # Ident "@ (#) samples/atmi/simpapp/ubbsimple $ Revision: 1.7 $" # Skeleton UBBCONFIG file for the TUXEDO Simple Application. # Replace the <bracketed> items with the appropriate values. * RESOURCES IPCKEY 123457 # Example: IPCKEY 123456 DOMAINID simpapp MASTER simple Maxaccessers 10 Maxservers 5 Maxservices 10 Model SHM Ldbal n * Machines Default: Appdir = "/home/TUXEDO/Oracle/tuxedo11gr1/MyApp" Tuxconfig = "/home/TUXEDO/Oracle/tuxedo11gr1/MyApp/tuxconfig" Tuxdir = "/home/TUXEDO/Oracle/tuxedo11gr1" # Example: # APPDIR = "/home/me/simpapp" # TUXCONFIG = "/home/me/simpapp/tuxconfig" # TUXDIR = "/usr/tuxedo" # Use the command uname-a to list the second column as the host name localhost. localdomain. If the host name contains invalid characters, use ""; otherwise, # No "Localhost. localdomain" LMID = simple # Example: # Beatux LMID = simple * GROUPS GROUP1 LMID = simple kgno = 1 OPENINFO = NONE * SERVERS DEFAULT: CLOPT = "-" Simpserv SRVGRP = GROUP1 SRVID = 1 * SERVICES TOUPPER |
5). Set the TUXCONFIG environment variable
Under the root directory of the User: [tuxedo @ localhost ~] $ Vi. bash_profile: add the TUXCONFIG environment variable
TUXCONFIG = "/home/tuxedo/oracle/tuxedo11gR1/myapp/tuxconfig"
[Tuxedo @ localhost ~] $ Source. bash_profile
Log out of the user and log in again
6) Compile the client
[Tuxedo @ localhost myapp] $ buildclient-o simpcl-f simpcl. c
7) Compile the server
[Tuxedo @ localhost myapp] $ buildserver-o simpserv-f simpserv. c-s TOUPPER
8) load the ubbsimple File
[Tuxedo @ localhost myapp] $ tmloadcf-y ubb
The following occurs because your service is starting. You must close the service before loading it.
[Tuxedo @ localhost myapp] $ tmshutdown-y
[Tuxedo @ localhost myapp] $ tmloadcf-y-ubb
9) Use tmadmin to view the program and service running status
[Tuxedo @ localhost myapp] $ tmadmin
> View service running status in psc
> Display the running status of the service by using the SRS.
10). Execute the client to send information to the server. If any response is returned, your tuxedo service environment has been set up.