Install weblogic oracle linux

Install weblogic oracle linux

There are different ways of installing Oracle WebLogic Server. This topic contains an example to install Oracle WebLogic Server.

This topic contains the following sections that describe software requirements and WebLogic Server installation and configuration:

Installing WebLogic Server

The Advanced Management Console requires Java SE Development Kit 8 Downloads, update 65 or later, and WebLogic Server supported versions 12c R2 or 14c. See Software Prerequisites and System Requirements for Advanced Management Console Components.

The version of WebLogic Server as mentioned in Installing the Oracle WebLogic Server in the Oracle Fusion Middleware Installing and Configuring Oracle WebLogic Server and Coherence guide may not be the default one. Ensure to download the correct version.

Setting Up the Environment for WebLogic Server

The Advanced Management Console server initialization web page is not protected and can be accessed by any user.

This section is based on using Oracle WebLogic Server version 12c R2. Other versions may need different configurations.

java -jar fmw_12.2.1.3.0_wls_quick.jar

Creating a WebLogic Server Domain

To create a WebLogic Server domain:

  1. Define JAVA_HOME . See Setting Up the Environment for WebLogic Server.
  2. For a Windows operating system, run the config.cmd file from the WebLogic Server installed directory, %MW_HOME%\oracle_common\common\bin\config.cmd .

For a Linux operating system, run the config.sh file from the WebLogic Server installed directory, %MW_HOME%/oracle_common/common/bin/config.sh .

In the AMC documentation, the directory %MW_HOME%\user_projects\domains\domain1 represents DOMAIN_HOME .

Starting a WebLogic Server Administration Server

To log in to the WebLogic Server administration server:

  1. For a Windows operating system, start the administration server with %DOMAIN_HOME%\startWebLogic.cmd .

Creating and Configuring a WebLogic Server Managed Server

Domains include a special Oracle WebLogic Server instance called the Administration Server, which is the central point from which you configure and manage all resources in the domain. Typically, you configure a domain to include additional Oracle WebLogic Server instances called Managed Servers.

Follow this example method to create a Managed Server for the WebLogic Server:

  1. Define the environment variable, JAVA_HOME . See Setting Up the Environment for WebLogic Server.
  2. For a Windows operating system, run %DOMAIN_HOME%\bin\setDomainEnv.cmd , which is required to set the environment.
Читайте также:  Install firebird php linux

For a Linux operating system, run %DOMAIN_HOME%/bin/setDomainEnv.sh , which is required to set the environment.

For a Linux operating system, start the node manager with %DOMAIN_HOME%/bin/startNodeManager.sh . If the node manager does not start, then edit %DOMAIN_HOME%/nodemanager/nodemanager.properties and set NativeVersionEnabled=false .

Configuring the Corporate LDAP Server

Groups in the corporate LDAP server are used to access AMC.

The following groups should be created in the corporate LDAP server:

  • cn=groups
    • cn=AMCAdminGroup
    • cn=AMCDRSGroup
    • cn=AMCJICGroup
    • cn=AMCReportsGroup

    Any user who needs access to AMC (with LDAP integration) should be assigned to at least one or all of the roles listed above. After this is completed, you may have to follow the instructions provided in Configuring LDAP Security Server in WebLogic Server to complete the LDAP integration process. See Using a WebLogic Deployment Plan for Customizing LDAP Group Names if you need to customize the name of the user groups that AMC will access for LDAP authentication.

    Using a WebLogic Deployment Plan for Customizing LDAP Group Names

    You can create and use a WebLogic deployment plan if you intend to use descriptor values other than default settings during deployment. This enables you to customize the name of user groups that AMC has access to for LDAP.

    1. Set the required CLASSPATH by navigating to the wlserver/server/bin folder in your WebLogic installation and running the following script from the command line:
    java weblogic.PlanGenerator -all amc.ear

    Note: You might get some unresolved references. That is alright. Just check for these lines at the end

    “Saving plan to folder\plan.xml.
    Saved configuration for application, amc.ear”
    1. Open the generated plan.xml file in a text editor.
    2. In the section, search for the following variable names and replace each of the corresponding for the variable name with the respective values configured in LDAP server.
    • ApplicationSecurityRoleAssignment_admin_PrincipalNames_ XXXXX
    • ApplicationSecurityRoleAssignment_reports_PrincipalNames_ XXXX
    • ApplicationSecurityRoleAssignment_drs_PrincipalNames_ XXXX
    • ApplicationSecurityRoleAssignment_jic_PrincipalNames_ XXXX

    For example, if your LDAP server group names are app_AMCAdminGroup, app_AMCDRSGroup, app_AMCJICGroup, app_AMCReportsGroup then after change they should look like this

     ApplicationSecurityRoleAssignment_admin_PrincipalNames_XXXXX app_AMCAdminGroup  ApplicationSecurityRoleAssignment_drs_PrincipalNames_XXXXX app_AMCDRSGroup  ApplicationSecurityRoleAssignment_jic_PrincipalNames_XXXXX app_AMCJICGroup  ApplicationSecurityRoleAssignment_reports_PrincipalNames_XXXXX app_AMCReportsGroup  
     ApplicationSecurityRoleAssignment_admin_PrincipalNames_XXXXX /weblogic-application/security/security-role-assignment/[role-name="admin"]/principal-name  
     ApplicationSecurityRoleAssignment_admin_PrincipalNames_XXXXX /weblogic-application/security/security-role-assignment/[role-name="admin"]/principal-name replace  
    1. Open the WebLogic administration console.
    2. Under Domain Structure, click Deployments.
    3. Select the checkbox for the «JavaAMC» application, and click the Update button.
    4. Click the Change Path button associated with the Deployment plan path.
    5. Select the radio button for the new plan.xml file, and click Next.
    6. Select the radio button “Redeploy this application using the following deployment files” and then click Finish.

    Verify that the success message is displayed at the top of console. The message should be similar to:

    All changes have been activated. No restarts are necessary. Message icon - Success Selected Deployments were updated.

    Configuring LDAP Security Server in WebLogic Server

    You can configure your Oracle WebLogic server to connect to Lightweight Directory Access Protocol (LDAP) server, so that the Advanced Management Console can communicate with the WebLogic Server, without having to connect to the LDAP

    This topic contains sample instructions to configure the LDAP security provider in the WebLogic server, so that the WebLogic server gets connected to the LDAP server. The type of LDAP being configured in this example is OpenLDAP. This means OpenLDAP (external provider) server runs on localhost or on a remote server. If a different type of LDAP server is used, then there are chances of these instructions varying.

    To configure WebLogic server to connect to the LDAP server:

    1. Add a new security provider in the WebLogic server:
      1. Log in to WebLogic server admin console.
      2. Click Domain , and select Security realms , and then myrealm .
      3. Click Providers tab and then select New .
      4. Enter a name for the new provider, for example, LDAP.
      5. Set Provider Type to LDAPAuthenticator.
      6. Click Save .

      Note that these are sample values only. You need to enter these values, based on the values configured on the LDAP server. Therefore, these values vary based on how the LDAP is set up.

      • Connection section:
        • Host : localhost
        • Port :
        • Principal : cn=admin,dc=oracle,dc=com
        • Credential : welcome0

        Note: This value is based on the configuration of the LDAP server. You can set other values for the User Base DN field based on the LDAP server configuration.

        Note: This value is based on the configuration of the LDAP server. You can set other values for the User Base DN field based on the LDAP server configuration.

        • Static Group Name Attribute : cn
        • Static Group Object Class : groupOfNames
        • Static member DN attribute : member
        • Static Group DNs from Member DN Filter : (&(member=%M)(objectclass=groupOfNames))

        Источник

        Oracle WebLogic Server 12c: Installing WebLogic Server and Creating a Domain

        This tutorial shows you how to install Oracle WebLogic Server 12c and create a WebLogic Server domain.

        Time to Complete

        Introduction

        This tutorial shows you how to install Oracle WebLogic Server 12c (12.1.3) on a Linux system by using the generic installer. The generic installer requires a Java Developers Kit (JDK), so this tutorial first covers installing the JDK. After you install the JDK and WebLogic Server, this tutorial shows you how to use the Configuration Wizard to create a WebLogic Server domain.

        Hardware and Software Requirements

        The only requirement is that your operating system must be Oracle Linux 5.6+.

        Prerequisites

        Before starting this tutorial, download the following to your Linux machine:

        • Oracle Java Developers Kit version 1.7.0_55+
        • Oracle WebLogic Server 12c (12.1.3) generic installer (includes Oracle Coherence)

        Installing the JDK

        To install the JDK, perform the following steps:

    Installing WebLogic Server

    To install WebLogic Server, perform the following steps:

    Viewing the Domain Files

    To view the directory structure and files for the newly created domain, perform the following steps:

    Accessing the Administration Console

    To access the WebLogic Server administration console, perform the following steps:

    Summary

    In this tutorial, you learned how to:

    • Install the JDK
    • Install Oracle WebLogic Server 12c
    • Create a WebLogic Server domain

    Resources

    • For documentation on Oracle WebLogic Server 12c (12.1.3), visit the Oracle WebLogic Server Documentation Library.
    • For more information on installing Oracle WebLogic Server 12c (12.1.3), see Installing and Configuring Oracle WebLogic Server and Coherence.
    • To learn more about Oracle WebLogic Server, refer to additional OBEs in the Oracle Learning Library. The next suggested tutorial is titled Oracle WebLogic Server 12c: Configuring Managed Servers.

    Credits

    • Lead Curriculum Developer: Bill Bell
    • Original Oracle by Example tutorial for version 11g created by: TJ Palazzolo
    • Editor: Susan Moxley

    To navigate this Oracle by Example tutorial, note the following:

    Hide Header Buttons: Click the title to hide the buttons in the header. To show the buttons again, click the title again. Topic List: Click a topic to navigate to that section. Expand All Topics: Click the button to show or hide the details for the sections. By default, all topics are collapsed. Hide All Images: Click the button to show or hide the screenshots. By default, all images are displayed. Print: Click the button to print the content. The content that is currently displayed or hidden is printed.

    To navigate to a particular section in this tutorial, select the topic from the list.

    Источник

Оцените статью
Adblock
detector