Vous êtes sur la page 1sur 14

9/9/2016

OracleWebLogicServer12c(12.2.1):CreatingaDomain

OracleWebLogicServer12c(12.2.1):Creating
aDomain

BeforeYouBegin
Purpose
ThistutorialshowsyouhowtocreateaWebLogicServer12c(12.2.1)domainonaLinuxsystembyusing
theConfigurationWizard.

TimetoComplete
Approximately15minutes

Introduction
ThistutorialshowsyouhowtousetheConfigurationWizardtocreateaWebLogicServer12c(12.2.1)
domain,assumingyouhavealreadyinstalledtheJavaDevelopersKit(JDK)andWebLogicServersoftware.

WhatYouNeed
YourLinuxmachine'soperatingsystemmustbeOracleLinux6.6+.
YoushouldhavecompletedtheOracleWebLogicServer12c(12.2.1):InstallingWebLogicServerUsingthe
GenericInstaller(https://apexapps.oracle.com/pls/apex/f?
p=44785:24:0:::24:P24_CONTENT_ID,P24_PREV_PAGE:12310,1)tutorial.Asaresult,youshouldhave:
DowloadedandinstalledOracleJavaDevelopersKit(JDK)version1.8.0_60+
DownloadedOracleWebLogicServer12c(12.2.1)genericinstaller(includesOracleCoherence)
InstalledWebLogicServer12c(12.2.1)byusingthegenericinstaller

CreatingaWebLogicServer12c(12.2.1)Domain

TocreateadomainbyusingtheConfigurationWizard,performthefollowingsteps:
1.InaTerminalwindow,performthefollowingsteps:

Navigateto
/oracle_common/common/bin .
http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/wls/12c/12_2_1/0104004CreateDomain/creatingadomain.html

1/14

9/9/2016

OracleWebLogicServer12c(12.2.1):CreatingaDomain

a.Navigateto ORACLE_HOME/oracle_common/common/bin .

Inthistutorial, ORACLE_HOME is /scratch/u01/app/fmw .


b.ToruntheConfigurationWizard,enterthe config.sh command.
$>cd/scratch/u01/app/fmw/oracle_common/common/bin
$>./config.sh

TheConfigurationWizardopens.
2.OntheConfigurationTypepage,providethefollowinginformation,andclickNext:

SelectCreateanewdomain.
Enteralocationforthedomain.
Inthistutorial,thelocationis /scratch/u01/domains/mydomain .
Note:Youcanchooseadifferentnameandlocationforyourdomain.

ViewImage
Descriptionofthisimage(files/imagedesct30102.txt)

3.OntheTemplatespage,makethefollowingselections,andclickNext:

CreateDomainUsingProductTemplates:Selected
AllTemplates:SelectedforTemplateCategories
UnderAvailableTemplates,BasicWebLogicServerDomain:Selected
BasicWebLogicServerDomaincannotbedeselected.Itistheonlyrequiredtemplate.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/wls/12c/12_2_1/0104004CreateDomain/creatingadomain.html

2/14

9/9/2016

OracleWebLogicServer12c(12.2.1):CreatingaDomain

Descriptionofthisimage(files/imagedesct30103.txt)

4.OntheAdministratorAccountpage,enteranameandapassword,confirmthepassword,andthenclickNext.

Inthistutorial,theusernameis weblogic andthepasswordis Welcome1 .


Important:Donotforgettheusernameandpassword.Youneedthemtoperformeveryadministrativetask.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/wls/12c/12_2_1/0104004CreateDomain/creatingadomain.html

3/14

9/9/2016

OracleWebLogicServer12c(12.2.1):CreatingaDomain

Descriptionofthisimage(files/imagedesct30104.txt)

5.OntheDomainModeandJDKpage,makethefollowingselections,andthenclickNext:

DomainMode:Production
JDK:OracleHotSpot1.8.0_60/scratch/u01/app/jdk/
TheversionandlocationofyourHotSpotJDKmaybedifferent.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/wls/12c/12_2_1/0104004CreateDomain/creatingadomain.html

4/14

9/9/2016

OracleWebLogicServer12c(12.2.1):CreatingaDomain

Descriptionofthisimage(files/imagedesct30105.txt)

6.OntheAdvancedConfigurationpage,selectwhichdomainresourcesthatyouwanttoconfigure,andclick
Next.

Inthistutorial,AdministrationServer,NodeManager,andManagedServers,ClustersandCoherence
areselected.
Asyouselectmoreoptions,morescreensarelistedontheleftsideofthewizard.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/wls/12c/12_2_1/0104004CreateDomain/creatingadomain.html

5/14

9/9/2016

OracleWebLogicServer12c(12.2.1):CreatingaDomain

Descriptionofthisimage(files/imagedesct30106.txt)

7.OntheAdministrationServerpage,enterthefollowingvalues,andclickNext:

ServerName:AdminServer(whichisthedefaultvalue)
ListenAddress:AllLocalAddresses
ListenPort: 7001
EnableSSL:Deselected
Note:FortheListenAddress,youcanalsoselectthehostnameorIPaddressofthemachine.Selecting
AllLocalAddressessimplifiestheprocessofportingthedomainacrossmachineswithdifferentIP
addresses.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/wls/12c/12_2_1/0104004CreateDomain/creatingadomain.html

6/14

9/9/2016

OracleWebLogicServer12c(12.2.1):CreatingaDomain

Descriptionofthisimage(files/imagedesct30107.txt)

8.OntheNodeManagerpage,enterthefollowinginformationandclickNext:

NodeManagerType:PerDomainDefaultLocation
Username: weblogic
Password: Welcome1
YouwillusethesecredentialstocommunicatewithNodeManager.
Note:ThecredentialsforNodeManagerdonothavetomatchtheadministratoraccountcredentials.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/wls/12c/12_2_1/0104004CreateDomain/creatingadomain.html

7/14

9/9/2016

OracleWebLogicServer12c(12.2.1):CreatingaDomain

Descriptionofthisimage(files/imagedesct30108.txt)

9.OntheManagedServerspage,clickAdd todisplayarowinthetable.

Descriptionofthisimage(files/imagedesct30109.txt)

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/wls/12c/12_2_1/0104004CreateDomain/creatingadomain.html

8/14

9/9/2016
OracleWebLogicServer12c(12.2.1):CreatingaDomain
Descriptionofthisimage(files/imagedesct30109.txt)

10.Inthenewrow,enterthefollowinginformation:

ServerName: server1
ListenAddress:AllLocalAddresses
ListenPort: 7003
EnableSSL:Deselected
Note:FortheListenAddress,youcanalsoselectthehostnameorIPaddressofthemachine.SelectingAll
LocalAddressessimplifiestheprocessofportingthedomainacrossmachineswithdifferentIPaddresses.

Descriptionofthisimage(files/imagedesct30110a.txt)

11.ClickAdd todisplayasecondrow.Inthenewrow,enterthefollowinginformationandclickNext:

ServerName: server2
ListenAddress:AllLocalAddresses
ListenPort: 7005
EnableSSL:Deselected
Note:FortheListenAddress,youcanalsoselectthehostnameorIPaddressofthemachine.SelectingAll
LocalAddressessimplifiestheprocessofportingthedomainacrossmachineswithdifferentIPaddresses.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/wls/12c/12_2_1/0104004CreateDomain/creatingadomain.html

9/14

9/9/2016

OracleWebLogicServer12c(12.2.1):CreatingaDomain

Descriptionofthisimage(files/imagedesct30110b.txt)

12.OntheClusterspage,clickNext.

Descriptionofthisimage(files/imagedesct30111.txt)

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/wls/12c/12_2_1/0104004CreateDomain/creatingadomain.html

10/14

9/9/2016

OracleWebLogicServer12c(12.2.1):CreatingaDomain

13.OntheMachinespage,performthefollowingsteps:

a.SelecttheMachinetab.
b.ClickAdd.
c.Inthenewrow,enter machine1 fortheName.
d.SelectAllLocalAddresses
e.LeavetheNodeManagerListenPortas 5556 .
f.ClickNext.
Note:FortheNodeManagerListenAddress,youcanalsoselectthehostnameorIPaddressofthe
machine.SelectingAllLocalAddressesenablestheNodeManagertomanageallthedomainsyoumay
create.

Descriptionofthisimage(files/imagedesct30112.txt)

14.OntheAssignServerstoMachinespage,performthefollowingsteps:

a.UnderMachines,ensurethatmachine1isselected.
b.UnderServers,selectserver1andclicktherightarrowbuttontomoveitundermachine1.
c.Selectserver2andclicktherightarrowbuttontomoveitundermachine1.
d.ClickNext.
ViewImage
Descriptionofthisimage(files/imagedesct30113.txt)

15.OntheConfigurationSummarypage,clickCreate.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/wls/12c/12_2_1/0104004CreateDomain/creatingadomain.html

11/14

9/9/2016

OracleWebLogicServer12c(12.2.1):CreatingaDomain

Descriptionofthisimage(files/imagedesct30114.txt)

16.OntheConfigurationProgresspage,clickNextaftertheprogressbarreaches100%.

Descriptionofthisimage(files/imagedesct30115.txt)

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/wls/12c/12_2_1/0104004CreateDomain/creatingadomain.html

12/14

9/9/2016

OracleWebLogicServer12c(12.2.1):CreatingaDomain

17.OntheConfigurationSuccesspage,makenoteofthedomainlocationandtheURLoftheadministration
console,andthenclickFinish .

Descriptionofthisimage(files/imagedesct30116.txt)

YouhavecreatedaWebLogicServerdomain.

ViewingtheDomainFilesandStartingtheWebLogicServer12c(12.2.1)
Domain

AccessingtheWebLogicServerAdministrationConsole

ToaccesstheWebLogicServeradministrationconsole,completethefollowingsteps:
1.OpenabrowserandenterthefollowingURL: http://hostname:port/console .

Inthistutorial,theURLis http://ip_address:7001/console .
Note:Useyouradministrationservermachine'shostname,themachine'sIPaddress,or localhost
for ip_address .
2.OntheWelcomescreen,entertheadministratorusernameandpasswordandclickLogin .

Username: weblogic

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/wls/12c/12_2_1/0104004CreateDomain/creatingadomain.html

13/14

9/9/2016

OracleWebLogicServer12c(12.2.1):CreatingaDomain

Username: weblogic
Password: Welcome1
Note:Thesearetheusernameandpasswordusedinthistutorial.Otherwise,entertheusernameand
passwordthatyouusedtostarttheadministrationserver.
ViewImage
Descriptionofthisimage(files/imagedesct30121.txt)

Thehomepageoftheadministrationconsoleisdisplayed.

Descriptionofthisimage(files/imagedesct30122.txt)

WanttoLearnMore?

Credits
AboutOracle(http://www.oracle.com/corporate/index.html)
LegalNotices(http://www.oracle.com/us/legal/index.html)

ContactUs(http://www.oracle.com/us/corporate/contact/index.html)
TermsofUse(http://www.oracle.com/us/legal/terms/index.html)

YourPrivacyRights(http://www.oracle.com/us/legal/privacy/index.html)
Copyright2015,Oracleand/oritsaffiliates.Allrightsreserved.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/wls/12c/12_2_1/0104004CreateDomain/creatingadomain.html

14/14

Vous aimerez peut-être aussi