The installation configuration process for WebSphere under Linux

Source: Internet
Author: User
Tags continue dba oracle database installation zip port number oracle database linux

A Installation of Linux

No special requirements, follow the default installation can be.

Two Installation of Websphere

1. Log on to the Linux server with root user. (WebSphere requirements are installed with root privileges)

2. Put the WebSphere installation CD into the optical drive.

3. Open a Linux terminal and execute the following command:

[Root@test root]# Mount/dev/cdrom
[Root@test root]# cd/mnt/cdrom/linux/
[Root@test linux]#./install.sh

4. Into the Installation program screen: Click Next, continue to install.

5. Choose a standard type of installation

6. Make Database Configuration

Name of the database: Enter the SID name of the database you created.

DB Home: If your Oracle database is installed on this machine, fill in the Oracle Database installation path. Otherwise, just enter a path, followed by the processing.

Server name: Enter the IP address of the installation database machine.

Port number: Default is 1521

User name:

Password:

When the above content is finished, click Next to continue with the installation.

7. Setting up the installation directory

The default installation is under/OPT (note that the installation directory is not enough space). The typical installation will also install the IBM Httpserver together.

8. Installation Complete

9. After the installation is complete, do not start WebSphere, you need to do some configuration.

Three Configuring WebSphere

1. If your Oracle database is not installed on this machine, you will need to install the machine from Oracle

$ORACLE _home/jdbc/lib The following copy Classes12.zip,nls_charset12.zip to the Linux server, such as under/usr/local/oracle_lib.

2. Modify the configuration file. (Programming Entry Network--www.bianceng.cn)

Modify the/opt/websphere/appserver/bin/setupcmdline.sh file. Find dbdriver_jars= this line, according to our copy of the Classes12.zip directory modified:

Dbdriver_jars=/usr/local/oracle_lib/classes12.zip:/usr/local/oracle_lib/nls_charset12.zip

Modify the/opt/websphere/appserver/bin/admin.config file.

Find the Com.ibm.ejs.sm.adminserver.classpath= line and add the Classes12.zip

com.ibm.ejs.sm.adminserver.classpath=/usr/local/oracle_lib/classes12.zip:/opt/websphere/appserver/properties:/ Opt/websphere/appserver/lib/bootstrap.jar.

Verify that the following information about the database is not correctly configured in the following file.

# Repository Database Settings
Com.ibm.ejs.sm.adminserver.dbdatasourceclassname=oracle.jdbc.pool.oracleconnectionpooldatasource
com.ibm.ejs.sm.adminserver.dbservername=101.1.1.124
com.ibm.ejs.sm.adminserver.dbportnumber=1521
Com.ibm.ejs.sm.adminserver.dbdatabasename=orcl
Com.ibm.ejs.sm.adminserver.dbuser= Ejsadmin
com.ibm.ejs.sm.adminserver.dbpassword= Ejsadmin
Com.ibm.ejs.sm.adminserver.dbdisable2phase=true
# URL is only valid for Oracle
com.ibm.ejs.sm.adminserver.dburl=jdbcracle:thin:@ 101.1.1.124:1521:ORCL

3. Before you start WebSphere, you need to create a ejsadmin user on the Oracle database, which focuses on some of the WebSphere information. For example, what Web application you have deployed on WebSphere, what their names are, and so on. Log on to the Oracle database server with system users

C:\>sqlplus System/manager@server
--Create a user
Sql> create user ejsadmin identified by Ejsadmin;
User created.
---give user permissions
Sql> Grant CONNECT,RESOURCE,DBA to Ejsadmin;
Grant succeeded.

4. After the above content is complete, can start Wepshere. (one place to note is that the user you enter must also have DBA authority)

Four Start WebSphere

[Root@test bin]# Cd/opt/websphere/appserver/bin
[Root@test bin]#./admin
Adminclient.sh adminserver.sh
[Root@test bin]#./adminserver.sh

If there is no error, you can start WebSphere.

If there is a mistake, please check the log below/opt/websphere/appserver/logs.

Start IBM HTTP Server

[Root@test logs]# cd/opt/ibmhttpserver/bin/
[Root@test bin]#./apachectl start

Then visit, if the following window appears, indicating that Httpserver has started successfully. Http://<server IP address>

Five Deploying Web Application

into the Webshere console.

[Root@test bin]# Cd/opt/websphere/appserver/bin
[Root@test bin]#./firststeps.sh

See the screen below, click into the console and deploy the Web aplication. (By default, when Setup is complete, this example has been deployed, in order to do an example, I removed him to redeploy again after entering the console, all the way next down, you can, in the middle to enter the type of database selection, as well as user name password, according to the situation entered on it.

Related Article

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.