CENTOS7 Installation weblogic12.2.1.3.0 (development environment)

Source: Internet
Author: User

Download the installation package

Fmw_12.2.1.3.0_wls_quick_disk1_1of1.zip

Create user groups and users

Groupadd WebLogic

Useradd-g WebLogic WebLogic

Configuring the installation Environment

VI ~/.bash_profile

Export java_home=/home/arvin/app/jdk/jdk1.8.0_171

Export path= $JAVA _home/bin: $PATH

Export mw_home=/home/weblogic/wls12213

Make configuration effective

SOURCE ~/.bash_profile

Unpack the Tarball

Unzip Fmw_12.2.1.3.0_wls_quick_disk1_1of1.zip

Setting up the environment

Cd/home/weblogic/wls12213/wlserver/server/bin

./setwlsenv.sh

Create a domain/domain

CD $MW _home/wlserver/common/bin

./wlst.sh

Initializing WebLogic Scripting Tool (WLST) ...

Jython scans all the jar files it can find at first startup. Depending on the system, this process may

Take a few minutes to complete, and WLST may not return a prompt right away.

Welcome to WebLogic Server administration Scripting Shell

Type Help () available commands

Wls:/offline>readtemplateforupdate ('/home/weblogic/wls12213/wlserver/common/templates/wls/wls.jar ')

WLS:/OFFLINE/BASE_DOMAIN>CD (' Servers/adminserver ')

Wls:/offline/base_domain/server/adminserver>set (' listenaddress ', ')

Wls:/offline/base_domain/server/adminserver>set (' Listenport ', 7001)

WLS:/OFFLINE/BASE_DOMAIN/SERVER/ADMINSERVER>CD ('/')

WLS:/OFFLINE/BASE_DOMAIN>CD (' Security/base_domain/user/weblogic ')

Wls:/offline/base_domain/security/base_domain/user/weblogic>cmo.setpassword (' Weblogic1 ')

Wls:/offline/base_domain/security/base_domain/user/weblogic>setoption (' Overwritedomain ', ' true ')

Wls:/offline/base_domain/security/base_domain/user/weblogic>writedomain ('/home/weblogic/wls12213/domain ')

Wls:/offline/domain/security/domain/user/weblogic>closetemplate ()

Wls:/offline>exit ()

Exiting WebLogic Scripting Tool.

Start WebLogic

cd/home/weblogic/wls12213/domain/bin/--Enter the created domain directory under bin

./startweblogic.sh--background start using Nohup./startweblogic.sh &

./stopweblogic.sh--Close WebLogic

Start the browser to access the WebLogic console http://IP:7001/console, the user name is WebLogic by default, and the password is set when the domain is created Weblogic1

New server Startup

The app runs in AdminServer by default, and if you create a new server with the console, such as Almserver, command line starts Cyyunserver, startmanagedserver with startmanagedserver command < Server name > < console address + ports >

cd/home/weblogic/wls12213/domain/bin/

./startmanagedweblogic.sh Almserver http://localhost:7001

Refresh the console page Cyyunserver display started successfully.

Start server without entering a user name password

Starting WebLogic server requires a user name and password to be entered in the console, which is not convenient for background startup

Cd/home/weblogic/wls12213/domain/servers/almserver

mkdir Security

CD Security

VI boot.properties

# Fill in the following content

Username=weblogic

Password=weblogic1

# Close Almserver

Cd/home/weblogic/wls12213/domain/bin

./stopmanagedweblogic.sh Almserver http://localhost:7001

# Restart Almserver

./startmanagedweblogic.sh Almserver http://localhost:7001

# Background Boot

Nohup./startmanagedweblogic.sh almserver http://localhost:7001 &

It is no longer necessary to manually enter the user name and password, and do not worry about the password will be leaked, after startup WebLogic will encrypt the user name and password AES. When you open boot.properties again, the encrypted content is displayed.

CENTOS7 Installation weblogic12.2.1.3.0 (development environment)

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.