Thursday 28 August 2014

Step by Step Installation and Configuration of WebLogic Server


1. Download Weblogic Server from the following URL:

http://www.oracle.com/technology/software/products/middleware/htdocs/fmw_11_download.html
2. Review documentation to meet the basic hardware and software requirements:
http://download.oracle.com/docs/cd/E15523_01/doc.1111/e14142/toc.htm
Installation
1. I’ve created an operating user “oracle” to own the WebLogic Server, so as a “root” Super User do the following:
#groupadd dba
#useradd -g dba oracle
#mkdir -p /u01/oracle/middleware
#chown -Rh oracle:dba /u01/oracle/middleware
#xhost +
2. Now login as “oracle” and invoke the installer (I’ve downloaded the installer at /u01/dumps) as seen below. Click “Next”

3. Enter the location for Middle Ware Home and click “Next”

4.  Register for Security Updates if you wish to and click “Next”
5. Choose Install Type, I’ve chosen “Custom” and click “Next”

6. Choose “Products and Components”  you wish to use and click “Next”

7. If you have previous JDK/JRockit SDK, you can choose to browse the path, although Oracle recommends that you download the latest JRockit SDK to use with WebLogic. You can download the latest JRockit from:
http://www.oracle.com/technology/products/jrockit/index.html

8.  Choose “Product Installation Directories” and click “Next”

9. Review the Installation Summary and click “Next”

10. Once the installation completes, the “Run QuickStart” is checked. We’ll launch the QuickStart by clicking “Done”

11. Once clicked “Done”, You will be presented with the following which lets you choose 3 Options, We’ll go ahead with the 1st  to proceed with the configuration wizard.

Configuration
12. Now in the configuration wizard, we’ll choose “Create New WebLogic Domain” and click “Next”

13. Choose the defaults, I’ve also chosen “WebLogic Advanced Web Services Extension” from the following screen, click “Next” to proceed

14.  Now enter the Domain Name and Enter the Domain Location, click “Next” to proceed:

15.  Configure the WebLogic Administrator and Password, click “Next” to proceed.

16. As this is a basic install and for development purposes, I will choose the “Domain Startup Mode” as “Development. Careful consideration should be taken for production deployment. Click “Next” to proceed

17.  Select the Optional Configuration , I’ve selected the following options(we can configure JMS at a later stage):

18.  Configure the Admin Server:

19. Configure the Managed servers and click “Next”

20.  Next screen asks you if you wish to configure cluster, I did not configure any cluster. Click “Next” to proceed.
21. Next Screen is Configure Machines, I’ve not configured any. Click ” Next” to proceed
22. Configure Target Services to Clusters or Servers, review and click “Next” to proceed

23.  Review the Configuration Summary and click “Create”

24.  Click “Done” to finish and close the quickstart screen.

Now that we have installed and configured the WebLogic server, lets start the WebLogic server for the domain we configured. The startup scripts are placed in the user_projects directory for the domain we configured.
25.  Start the WebLogic Server
1
2
3
4
5
6
7
8
9
[oracle@oralin03 zakkiahmed.com]$ cd
[oracle@oralin03 ~]$ cd /u01/oracle/middleware/user_projects/domains/zakkiahmed.com
[oracle@oralin03 zakkiahmed.com]$ ls
autodeploy            init-info                        startWebLogic.sh
bin                   lib                              WseeFileStore
config                security                         WseeFileStoreAdminServer
console-ext           servers
fileRealm.properties  startManagedWebLogic_readme.txt
[oracle@oralin03 zakkiahmed.com]$./startWebLogic.sh
Now that the WebLogic Server is started lets login to the console
26. In to order login to the console open the web browser , the URL will be of the following format:
http://<hostname&gt;.<domain name>:7001/console
In my case it will be
http://oralin03.zakkiahmed.com:7001/console
You will be presented with the following screen:

The user name is “weblogic” and the password is what you configured during the configuration.
27. You will be presented with a neat front page, navigate to check the state of services on the left panel, follow the screenshot:

Thats it folks, the installation and basic configuration of WebLogic Server is complete.
About these ads

No comments:

Post a Comment