How to install WebSphere in Linux

Source: Internet
Author: User
Tags fully qualified domain name

Preftest studio Zhang Lin practices

 

Guideline:

This document will install WebSphere + HTTP Server + plugin.

And work for develop enviroment only, because we will ignore OS check when installation

 

 

 

Media name

Descritpion

1

Was.v6.1.linux.x86.tar.gz

The IBM WebSphere 6.1

2

Ihs.6100.linux.ia32.tar

Ibm http Server 6.1

3

7.0.0 .5-ws-updi-linuxia32.tar.gz

Updateinstaller 7.0

4

Was.v6.1.supplements.linux.x86.tar.gz

HTTP Server + plugin

 

Path

Descritipn

1

6.1.0 WS-WASSDK-LinuxX32-FP0000027.pak

IBM WebSphere 6.1 patch

2

6.1.0 WS-WAS-LinuxX32-FP0000027.pak

IBM WebSphere 6.1 patch

3

6.1.0 WS-IHS-LinuxX32-FP0000027.pak

Ibm http Server 6.1 path

4

6.1.0 WS-PLG-LinuxX32-FP0000027.pak

Plugin path

5

6.1.0 WS-AppClient-LinuxX32-FP0000027.pak

 

 

 

Install was

 

  1. 1.Prepare:

Mkdir-P/CPIC/jtsx/IBM/WebSphere/appserver

VI/CPIC/jtsx/was/responsefile.nd.txt

-Opt silentinstalllicenseacceptance = "true"

-Opt allownonrootsilentinstall = "true"

-Opt disableosprereqchecking = "true"

-Opt disablenonblockingprereqchecking = "true"

#-Opt installtype = "installnew"

-Opt createprofile = "false"

 

  1. Excute below comman when on rhl5.0 OS, otherwise you will get error like

Error loading:/software/IBM/was/6.1/Linux/x86-32bit/release/was/JDK/JRE. PAK/Repository/package. java. JRE/Java/JRE/bin/libj9thr23. so: cannot restore segment prot after reloc: Permission denied

 

Export Path =/CPIC/jtsx/JDK/JRE. PAK/Repository/package. java. JRE/Java/JRE/bin: $ path

 

CD/CPIC/jtsx/JDK/JRE. PAK/Repository/package. java. JRE/Java/JRE/bin

Chcon-T texrel_shlib_t *. So

Chcon-T texrel_shlib_t xawt/*. So

Chcon-T texrel_shlib_t j9vm/*. So

 

 

  1. Install was

CD <media_location>

Java-jar setup. jar-options reponsefile.nd.txt-silent

 

  1. Check log:

/CPIC/jtsx/IBM/WebSphere/appserver/logs/install/log.txt

Install IHS

 

 

  1. Prepare
    Mkdir-P/CPIC/jtsx/IBM/httpserver

 

VI/CPIC/jtsx/IHS _ 6.1.0 . 0/IHS/responsefile.txt

 

-Opt silentinstalllicenseacceptance = "true"

-Opt allownonrootsilentinstall = true

-Opt disableosprereqchecking = "true"

-Opt installlocation = "/CPIC/jtsx/IBM/httpserver"

-Opt createadminusergroup = false

 

 

  1. Excute below comman when on rhl5.0 OS, otherwise you will get error like

Error loading:/software/IBM/was/6.1/Linux/x86-32bit/release/was/JDK/JRE. PAK/Repository/package. java. JRE/Java/JRE/bin/libj9thr23. so: cannot restore segment prot after reloc: Permission denied

 

Export Path =/CPIC/jtsx/IHS _ 6.1.0 . 0/JDK/JRE. PAK/Repository/package. java. JRE/Java/JRE/bin: $ path

 

CD/CPIC/jtsx/IHS _ 6.1.0 . 0/JDK/JRE. PAK/Repository/package. java. JRE/Java/JRE/bin

Chcon-T texrel_shlib_t *. So

Chcon-T texrel_shlib_t xawt/*. So

Chcon-T texrel_shlib_t j9vm/*. So

 

  1. Install HTTP Server

CD <media_location>

Java-jar setup. jar-options responsefile.txt-silent

 

  1. Check log

/CPIC/jtsx/IBM/httpserver/logs/install/log.txt

 

Install was updateinstaller
  1. Prepare

Export Path =/CPIC/jtsx/was/JDK/JRE. PAK/Repository/package. java. JRE/Java/JRE/bin: $ path

Mkdir-P/CPIC/jtsx/IBM/WebSphere/updateinstaller

VI/CPIC/jtsx/was/updateinstaller/responsefile.updiinstaller.txt

-Opt silentinstalllicenseacceptance = "true"

-Opt allownonrootsilentinstall = "true"

-Opt disableosprereqchecking = "true"

-Opt disableearlyprereqchecking = "true"

-Opt installlocation = "/CPIC/jtsx/IBM/WebSphere/updateinstaller"

 

  1. Install updateinstaller

CD <media_location>

Java-jar setup. jar-options responsefile.updiinstaller.txt-silent

  1. Check log

/CPIC/jtsx/IBM/WebSphere/updateinstaller/logs/install/log.txt

Install was patch
  1. Prepare was SDK path

VI/CPIC/jtsx/IBM/WebSphere/updateinstaller/responsefiles/install.txt

-W maintenance. Package = "/CPIC/jtsx/ 6.1.0 -WS-WASSDK-LinuxX32-FP0000027.pak"

-W product. Location = "/CPIC/jtsx/IBM/WebSphere/appserver"

  1. Install was SDK path

CD/CPIC/jtsx/IBM/WebSphere/updateinstaller

./Update. Sh-options responsefiles/install.txt-silent

  1. Check log

/CPIC/jtsx/IBM/WebSphere/appserver/logs/update/ 6.1.0 -WS-WASSDK-LinuxX32-FP0000027.install/updatelog.txt

  1. Prepare was path

VI/CPIC/jtsx/IBM/WebSphere/updateinstaller/responsefiles/install.txt

-W maintenance. Package = "/CPIC/jtsx/ 6.1.0 -WS-WAS-LinuxX32-FP0000027.pak"

  1. Install was path

CD/CPIC/jtsx/IBM/WebSphere/updateinstaller

./Update. Sh-options responsefiles/install.txt-silent

  1. Check log

/CPIC/jtsx/IBM/WebSphere/appserver/logs/update/ 6.1.0 -WS-WAS-LinuxX32-FP0000027.install/updatelog.txt

Install IHS patch
  1. Prepare ihs sdk path

VI/CPIC/jtsx/IBM/WebSphere/updateinstaller/responsefiles/install.txt

-W maintenance. Package = "/CPIC/jtsx/ 6.1.0 -WS-IHS-LinuxX32-FP0000027.pak"

-W product. Location = "/CPIC/jtsx/IBM/httpserver"

  1. Install was SDK path

CD/CPIC/jtsx/IBM/WebSphere/updateinstaller

./Update. Sh-options responsefiles/install.txt-silent

  1. Check log

/CPIC/jtsx/IBM/httpserver/logs/update/ 6.1.0 -WS-IHS-LinuxX32-FP0000027.install/updatelog.txt

 

Install plugin

 

  1. Excute below comman when on rhl5.0 OS, otherwise you will get error like

Error loading:/software/IBM/was/6.1/Linux/x86-32bit/release/was/JDK/JRE. PAK/Repository/package. java. JRE/Java/JRE/bin/libj9thr23. so: cannot restore segment prot after reloc: Permission denied

 

Export Path =/CPIC/jtsx/was/JDK/JRE. PAK/Repository/package. java. JRE/Java/JRE/bin: $ path

 

CD/CPIC/jtsx/was/JDK/JRE. PAK/Repository/package. java. JRE/Java/JRE/bin

Chcon-T texrel_shlib_t *. So

Chcon-T texrel_shlib_t xawt/*. So

Chcon-T texrel_shlib_t j9vm/*. So

  1. Prepare

VI/CPIC/jtsx/was/plugin/responsefile.txt

-Opt allownonrootsilentinstall = "true"

-Opt silentinstalllicenseacceptance = "true"

-Opt installlocation = "/CPIC/jtsx/IBM/httpserver/plugins"

-Opt wasexistinglocation = "/CPIC/jtsx/IBM/WebSphere/appserver"

-Opt webserverconfigfile1 = "/CPIC/jtsx/IBM/httpserver/CONF/httpd. conf"

Mkdir-P/CPIC/jtsx/IBM/httpserver/plugins

  1. Install plugin

CD <media_location>

Java-jar setup. jar-options responsefile.txt-silent

  1. Check log

/CPIC/jtsx/IBM/httpserver/plugins/logs/install/log.txt

Install Plugin Patch

 

  1. Prepare plugin path

VI/CPIC/jtsx/IBM/WebSphere/updateinstaller/responsefiles/install.txt

-W maintenance. Package = "/CPIC/jtsx/ 6.1.0 -WS-IHS-LinuxX32-FP0000027.pak"

-W product. Location = "/CPIC/jtsx/IBM/httpserver/plugins"

  1. Install was SDK path

CD/CPIC/jtsx/IBM/WebSphere/updateinstaller

./Update. Sh-options responsefiles/install.txt-silent

  1. Check log

/CPIC/jtsx/IBM/httpserver/plugins/logs/update/ 6.1.0 -WS-PLG-LinuxX32-FP0000027.install/updatelog.txt

 

Create deploy management Node
  1. Create Node

CD/CPIC/jtsx/IBM/WebSphere/appserver/bin

 

. /Manageprofiles. sh-create-profilename deploynode-profilepath/CPIC/jtsx/IBM/WebSphere/appserver/profiles/deploynode-templatepath/CPIC/jtsx/IBM/WebSphere/appserver/profiletemplates/dmgr-nodename deploynode-cellname deploynodecell-hostname jtsxwebtest1

 

 

Startmanager. Sh-profilename deploynode

  1. Login deploy Management Console

Http:/// 10.192.18.119: 9060/IBM/console

Userid: wasadmin

Create Node
  1. Create Node

 

CD/CPIC/jtsx/IBM/WebSphere/appserver/bin

 

On server 10.192.18.120

. /Manageprofiles. sh-create-profilename implements rv01-profilepath/CPIC/jtsx/IBM/WebSphere/appserver/profiles/invalid rv01-templatepath/CPIC/jtsx/IBM/WebSphere/appserver/profiletemplates/default-nodename when rv01node-cellname then rv01nodecell-hostname jtsxwebtest2

 

./Addnode. Sh 10.192.18.119 8879

Raise error:

[8/26/10 14: 56: 41: 987 GMT +] 0000000a Admintool A admu0124i: The system clock of the new node (Aug 26,201 0 2:56:41) is

Not synchronized with that of the Deployment Manager (Aug 26,201 0 2:39:00 ).

[8/26/10 14: 56: 42: 024 GMT +] 0000000a Admintool A admu0125e: Change the clock of the new node to be within 5 minutes of th

E clock of the Deployment Manager.

[8/26/10 14: 56: 42: 037 GMT +] 0000000a Admintool A admu0027e: An error occurred during Federation <null>; rolling back to o

Riginal configuration.

 

Date-s "15:05:00"

 

Admu0027e: An error occurred during Federation admu0036e: the deployment

Manager cannot Lookup by name host jtsxwebtest2 at address

0: 0: 0: 0: 0: 0: 0: 1; rolling back to original configuration.

 

VI/etc/hosts

10.192.18.119 jtsxwebtest1

10.192.18.120 jtsxwebtest2

10.192.18.129 jtsxwebtest3

 

 

On server 10.192.18.129

CD/CPIC/jtsx/IBM/WebSphere/appserver/bin

 

. /Manageprofiles. sh-create-profilename implements rv01-profilepath/CPIC/jtsx/IBM/WebSphere/appserver/profiles/invalid rv01-templatepath/CPIC/jtsx/IBM/WebSphere/appserver/profiletemplates/default-nodename 2017rv02node-cellname implements rv02nodecell-hostname jtsxwebtest3

 

./Addnode. Sh 10.192.18.119 8879

 

Raise error:

[8/26/10 14: 56: 41: 987 GMT +] 0000000a Admintool A admu0124i: The system clock of the new node (Aug 26,201 0 2:56:41) is

Not synchronized with that of the Deployment Manager (Aug 26,201 0 2:39:00 ).

[8/26/10 14: 56: 42: 024 GMT +] 0000000a Admintool A admu0125e: Change the clock of the new node to be within 5 minutes of th

E clock of the Deployment Manager.

[8/26/10 14: 56: 42: 037 GMT +] 0000000a Admintool A admu0027e: An error occurred during Federation <null>; rolling back to o

Riginal configuration.

 

Date-s "15:05:00"

 

Admu0027e: An error occurred during Federation admu0036e: the deployment

Manager cannot Lookup by name host jtsxwebtest2 at address

0: 0: 0: 0: 0: 0: 0: 1; rolling back to original configuration.

 

VI/etc/hosts

 

10.192.18.119 jtsxwebtest1

10.192.18.120 jtsxwebtest2

10.192.18.129 jtsxwebtest3

 

 

. /Manageprofiles. sh-create-profilename implements rv01-profilepath/CPIC/jtsx/IBM/WebSphere/appserver/profiles/invalid rv01-templatepath/CPIC/jtsx/IBM/WebSphere/appserver/profiletemplates/default-nodename when rv03node-cellname then rv03nodecell-hostname jtsxwebtest1

 

./Addnode. Sh-profilename invalid rv01 10.192.18.119 8879

 

Startup Web Server

CD/CPIC/jtsx/IBM/httpserver/bin

[Jtsx @ jtsxwebtest2 bin] $./apachectl start

Httpd: cocould not determine the server's fully qualified domain name, using 10.192.18.120 for servername

(13) Permission denied: make_sock: cocould not bind to address [:]: 80

No listening sockets available, shutting down

Unable to open logs

[Root @ jtsxwebtest2 bin] #./apachectl start

 

Preftest studio Zhang Lin practices

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.