table of Contents
- I. Introduction
- Second, prepare
- Third, create a domain step
- The first step: direct [Enter]
- Step two: direct [Enter]
- Step Three: Direct [Enter]
- Step 4: Enter the domain name [Enter]
- Step five: Direct [Enter]
- Step Six: Direct [Enter] (This step is stored hints domain)
- Step seven: Set the console login password
- Step eight: console login password again to confirm
- Step 9: direct [Enter]
- Step 10: Select mode field configured
- Step Eleven: Direct [Enter]
- Step Twelve: Select Management Server
- Thirteenth Step: Direct [Enter]
- Step Fourteen: direct [Enter] (here is to modify the listen address and port, the default port: 7001)
- Fifteenth Step: Creating complete
- Fourth, start the domain
I. Introduction
I believe that many technicians encounter such a problem, in the Linux environment, deploying a server, middleware weblogic domain how to create, for those not familiar with Linux systems is a relatively people who can not start a troublesome thing, the following small series about the specific creation and publishing steps, hope to help you.
Second, prepare
Prerequisites:
- Linux systems have been installed in the system environment
- Weblogic middleware has been installed and used on JDK environment.
Third, create a domain step
First, enter the following directory:
$ cd /weblogic/wlserver_10.3/common/bin
As shown below:
Then execute the following command, this time to create a domain operations began in earnest the following command:
$ ./config.sh
The first step: direct [Enter]
Step two: direct [Enter]
Step Three: Direct [Enter]
Step 4: Enter the domain name [Enter]
Step five: Direct [Enter]
Step Six: Direct [Enter] (This step is stored hints domain)
Step seven: Set the console login password
First, enter the number: 2
, then [Enter].
There is a line between the position of the figure above:
1| *Name: | weblogic |
注:weblogic是用户名,在启动weblogic的时候会让你输入用户名,此时输入weblogic即可。
Then enter the password: weblogic123
(password can define your own here), in the [Enter].
Note:
密码长度不能少于8个字符
;密码中必须由字母和数字组成
。
If the password length or format non-compliant, then at the finish entering [Step eight: Console login password again to confirm] After that, you will be prompted to set a password failed, this time you need to perform Ctrl + c
commands, start again from the first step. Error message interface is as follows:
Step eight: console login password again to confirm
First, enter the number: 3
, then [Enter].
Then enter the password: weblogic123
In [Enter].
Step 9: direct [Enter]
Step 10: Select mode field configured
First, enter the number: 2
, then [Enter].
Step Eleven: Direct [Enter]
Step Twelve: Select Management Server
First, enter the number: 1
, then [Enter].
Thirteenth Step: Direct [Enter]
Step Fourteen: direct [Enter] (here is to modify the listen address and port, the default port: 7001)
Fifteenth Step: Creating complete
[Enter] fourteenth step is completed, the domain now created.
Fourth, start the domain
The domain startup directory:
$ cd /weblogic/user_projects/domains/davis/bin
Then execute the following command to start the domain just created:
$ ./startWebLogic.sh
In the process of starting to enter your user name here 用户名为:weblogic
, then [Enter]; Enter a password, the password you set here is the time to create a domain password here 密码为:weblogic123
, then [Enter].
The following interface description start successfully.
Then open the browser, enter the following address to log in to the console.
http://ip:7001/console