weblogic之创建域

1、进入weblogic主目录

主目录即wlserver_10.3所在目录,根据个人安装路径不同有所差异,本人默认路径:/home/weblogic/Oracle/Middleware/wlserver_10.3
复制代码

1 [weblogic@localhost ~]$ cd /home/weblogic/Oracle/Middleware/wlserver_10.3/
2 [weblogic@localhost wlserver_10.3]$ cd common/bin/
3 [weblogic@localhost bin]$ ll
4 total 112
5 -rwxr-x—. 1 weblogic weblogic 22828 Aug 24 14:04 commEnv.sh
6 -rwxr-x—. 1 weblogic weblogic 2129 Aug 24 14:04 config_builder.sh
7 -rwxr-x—. 1 weblogic weblogic 2281 Aug 24 14:04 config.sh
8 -rwxr-x—. 1 weblogic weblogic 2586 Aug 24 14:04 pack.sh
9 -rwxr-x—. 1 weblogic weblogic 2150 Aug 24 14:04 setPatchEnv.sh
10 -rwxr-x—. 1 weblogic weblogic 4089 Aug 24 14:04 startDerby.sh
11 -rwxr-x—. 1 weblogic weblogic 4095 Aug 24 14:04 startManagedWebLogic.sh
12 -rwxr-x—. 1 weblogic weblogic 1455 Aug 24 14:04 stopDerby.sh
13 -rwxr-x—. 1 weblogic weblogic 2094 Aug 24 14:04 unpack.sh
14 -rwxr-x—. 1 weblogic weblogic 3305 Aug 24 14:04 upgrade.sh
15 -rwxr-x—. 1 weblogic weblogic 31224 Aug 24 14:04 wlscontrol.sh
16 -rwxr-x—. 1 weblogic weblogic 13740 Aug 24 14:04 wlsifconfig.sh
17 -rwxr-x—. 1 weblogic weblogic 791 Aug 24 14:04 wlst.sh

复制代码

2、创建域
复制代码

1 [weblogic@localhost bin]$ ./config.sh
2 Java HotSpot™ 64-Bit Server VM warning: ignoring option MaxPermSize=128m; support was removed in 8.0
3 Unable to instantiate GUI, defaulting to console mode.
4 Java HotSpot™ 64-Bit Server VM warning: You have loaded library /home/weblogic/Oracle/Middleware/wlserver_10.3/common/lib/libjni.so which might have disabled stack guard. The VM will try to fix the stack guard now.
5 It’s highly recommended that you fix the library with 'execstack -c ', or link it with ‘-z noexecstack’.
6
7
8
9
10
11 <------------------- Fusion Middleware Configuration Wizard ------------------>
12
13 Welcome:
14 --------
15
16 Choose between creating and extending a domain. Based on your selection,
17 the Configuration Wizard guides you through the steps to generate a new or
18 extend an existing domain.
19
20 ->1|Create a new WebLogic domain
21 | Create a WebLogic domain in your projects directory.
22
23 2|Extend an existing WebLogic domain
24 | Use this option to add new components to an existing domain and modify |configuration settings.
25
26
27
28
29
30 Enter index number to select OR [Exit][Next]> 1
31
32
33
34
35
36 <------------------- Fusion Middleware Configuration Wizard ------------------>
37
38 Select Domain Source:
39 ---------------------
40
41 Select the source from which the domain will be created. You can create the
42 domain by selecting from the required components or by selecting from a
43 list of existing domain templates.
44
45 ->1|Choose Weblogic Platform components
46 | You can choose the Weblogic component(s) that you want supported in
47 |your domain.
48
49 2|Choose custom template
50 | Choose this option if you want to use an existing template. This
51 |could be a custom created template using the Template Builder.
52
53
54
55
56
57 Enter index number to select OR [Exit][Previous][Next]> 1
58
59
60
61
62
63 <------------------- Fusion Middleware Configuration Wizard ------------------>
64
65 Application Template Selection:
66 -------------------------------
67
68
69
70 Available Templates
71 |Basic WebLogic Server Domain - 10.3.6.0 [wlserver_10.3]x
72 |Basic WebLogic SIP Server Domain - 10.3.6.0 [wlserver_10.3] [2]
73 |WebLogic Advanced Web Services for JAX-RPC Extension - 10.3.6.0 [wlserver_10.3] [3]
74 |WebLogic Advanced Web Services for JAX-WS Extension - 10.3.6.0 [wlserver_10.3] [4]
75
76
77
78 Enter number exactly as it appears in brackets to toggle selection OR [Exit][Previous][Next]>
79
80
81
82
83
84 <------------------- Fusion Middleware Configuration Wizard ------------------>
85
86 Edit Domain Information:
87 ------------------------
88
89 | Name | Value |
90 _|
||
91 1| *Name: | base_domain |
92
93
94
95
96 Enter value for “Name” OR [Exit][Previous][Next]>
97
98
99
100
101
102 <------------------- Fusion Middleware Configuration Wizard ------------------>
103
104 Select the target domain directory for this domain:
105 ---------------------------------------------------
106
107 “Target Location” = [Enter new value or use default
108 “/home/weblogic/Oracle/Middleware/user_projects/domains”]
109
110
111
112
113 Enter new Target Location OR [Exit][Previous][Next]>
114
115
116
117
118
119 <------------------- Fusion Middleware Configuration Wizard ------------------>
120
121 Configure Administrator User Name and Password:
122 -----------------------------------------------
123
124 Create a user to be assigned to the Administrator role. This user is the
125 default administrator used to start development mode servers.
126
127 | Name | Value |
128 |
|
|
129 1| *Name: | weblogic |
130 2| *User password: | |
131 3| *Confirm user password: | |
132 4| Description: | This user is the default administrator. |
133
134 Use above value or select another option:
135 1 - Modify “Name”
136 2 - Modify “User password”
137 3 - Modify “Confirm user password”
138 4 - Modify “Description”
139
140
141
142
143 Enter option number to select OR [Exit][Previous][Next]> 2
144
145
146
147
148
149 <------------------- Fusion Middleware Configuration Wizard ------------------>
150
151 Configure Administrator User Name and Password:
152 -----------------------------------------------
153
154 Create a user to be assigned to the Administrator role. This user is the
155 default administrator used to start development mode servers.
156
157 “*User password:” = []
158
159
160
161
162 Enter new *User password: OR [Exit][Reset][Accept]> 000000
163
164
165
166
167
168 <------------------- Fusion Middleware Configuration Wizard ------------------>
169
170 Configure Administrator User Name and Password:
171 -----------------------------------------------
172
173 Create a user to be assigned to the Administrator role. This user is the
174 default administrator used to start development mode servers.
175
176 | Name | Value |
177 |
|
|
178 1| *Name: | weblogic |
179 2| *User password: | ****** |
180 3| *Confirm user password: | |
181 4| Description: | This user is the default administrator. |
182
183 Use above value or select another option:
184 1 - Modify “Name”
185 2 - Modify “User password”
186 3 - Modify “Confirm user password”
187 4 - Modify “Description”
188 5 - Discard Changes
189
190
191
192
193 Enter option number to select OR [Exit][Previous][Next]> 3
194
195
196
197
198
199 <------------------- Fusion Middleware Configuration Wizard ------------------>
200
201 Configure Administrator User Name and Password:
202 -----------------------------------------------
203
204 Create a user to be assigned to the Administrator role. This user is the
205 default administrator used to start development mode servers.
206
207 “*Confirm user password:” = []
208
209
210
211
212 Enter new *Confirm user password: OR [Exit][Reset][Accept]> 000000
213
214
215
216
217
218 <------------------- Fusion Middleware Configuration Wizard ------------------>
219
220 Configure Administrator User Name and Password:
221 -----------------------------------------------
222
223 Create a user to be assigned to the Administrator role. This user is the
224 default administrator used to start development mode servers.
225
226 | Name | Value |
227 |
||
228 1| Name: | weblogic |
229 2| User password: | ****** |
230 3| Confirm user password: | ****** |
231 4| Description: | This user is the default administrator. |
232
233 Use above value or select another option:
234 1 - Modify “Name”
235 2 - Modify “User password”
236 3 - Modify “Confirm user password”
237 4 - Modify “Description”
238 5 - Discard Changes
239
240
241
242
243 Enter option number to select OR [Exit][Previous][Next]>
244
245
246
247
248
249 <------------------- Fusion Middleware Configuration Wizard ------------------>
250
251 Configure Administrator User Name and Password:
252 -----------------------------------------------
253
254 Create a user to be assigned to the Administrator role. This user is the
255 default administrator used to start development mode servers.
256
257 | Name | Value |
258 |
_____________|
____________|
259 1| Name: | weblogic |
260 2| User password: | ****** |
261 3| Confirm user password: | ****** |
262 4| Description: | This user is the default administrator. |
263
264 Use above value or select another option:
265 1 - Modify “Name”
266 2 - Modify “User password”
267 3 - Modify “Confirm user password”
268 4 - Modify “Description”
269 5 - Discard Changes
270
271
272 ** CFGFWK-60005: WebLogic domain requires the password to be minimum 8
273 ** characters
274
275
276
277
278 Enter option number to select OR [Exit][Previous][Next]> 2
279
280
281
282
283
284 <------------------- Fusion Middleware Configuration Wizard ------------------>
285
286 Configure Administrator User Name and Password:
287 -----------------------------------------------
288
289 Create a user to be assigned to the Administrator role. This user is the
290 default administrator used to start development mode servers.
291
292 "User password:" = [
]
293
294
295
296
297 Enter new User password: OR [Exit][Reset][Accept]> 00000000
298
299
300
301
302
303 <------------------- Fusion Middleware Configuration Wizard ------------------>
304
305 Configure Administrator User Name and Password:
306 -----------------------------------------------
307
308 Create a user to be assigned to the Administrator role. This user is the
309 default administrator used to start development mode servers.
310
311 | Name | Value |
312 |________________________|_________________________________________|
313 1| Name: | weblogic |
314 2| User password: | ******** |
315 3| Confirm user password: | ****** |
316 4| Description: | This user is the default administrator. |
317
318 Use above value or select another option:
319 1 - Modify “Name”
320 2 - Modify “User password”
321 3 - Modify “Confirm user password”
322 4 - Modify “Description”
323 5 - Discard Changes
324
325
326
327
328 Enter option number to select OR [Exit][Previous][Next]> 3
329
330
331
332
333
334 <------------------- Fusion Middleware Configuration Wizard ------------------>
335
336 Configure Administrator User Name and Password:
337 -----------------------------------------------
338
339 Create a user to be assigned to the Administrator role. This user is the
340 default administrator used to start development mode servers.
341
342 "Confirm user password:" = [
]
343
344
345
346
347 Enter new Confirm user password: OR [Exit][Reset][Accept]> 00000000
348
349
350
351
352
353 <------------------- Fusion Middleware Configuration Wizard ------------------>
354
355 Configure Administrator User Name and Password:
356 -----------------------------------------------
357
358 Create a user to be assigned to the Administrator role. This user is the
359 default administrator used to start development mode servers.
360
361 | Name | Value |
362 |________________________|_________________________________________|
363 1| Name: | weblogic |
364 2| User password: | ******** |
365 3| Confirm user password: | ******** |
366 4| Description: | This user is the default administrator. |
367
368 Use above value or select another option:
369 1 - Modify “Name”
370 2 - Modify “User password”
371 3 - Modify “Confirm user password”
372 4 - Modify “Description”
373 5 - Discard Changes
374
375
376
377
378 Enter option number to select OR [Exit][Previous][Next]>
379
380
381
382
383
384 <------------------- Fusion Middleware Configuration Wizard ------------------>
385
386 Domain Mode Configuration:
387 --------------------------
388
389 Enable Development or Production Mode for this domain.
390
391 ->1|Development Mode
392
393 2|Production Mode
394
395
396
397
398 Enter index number to select OR [Exit][Previous][Next]> 2
399
400
401
402
403
404 <------------------- Fusion Middleware Configuration Wizard ------------------>
405
406 Java SDK Selection:
407 -------------------
408
409 ->1|Sun SDK 1.8.0_91 @ /usr/local/jdk
410 2|Other Java SDK
411
412
413
414
415 Enter index number to select OR [Exit][Previous][Next]>
416
417
418
419
420
421 <------------------- Fusion Middleware Configuration Wizard ------------------>
422
423 Select Optional Configuration:
424 ------------------------------
425
426 1|Administration Server [ ]
427 2|Managed Servers, Clusters and Machines [ ]
428 3|RDBMS Security Store [ ]
429
430
431
432 Enter index number to select OR [Exit][Previous][Next]>
433
434
435
436
437
438 <------------------- Fusion Middleware Configuration Wizard ------------------>
439
440 Creating Domain…
441
442 0% 25% 50% 75% 100%
443 [------------|------------|------------|------------]
444 [
***********************************************]
445
446
447 **** Domain Created Successfully! ****

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值