Do one of the following:
Run the following command:
asadmin create-domain --portbase PortBaseNumber --savemasterpassword=true --savelogin=true DomainName
where PortBaseNumber is the port number with which port assignment starts and DomainName is the name you want to give the new domain.
Use the --savemasterpassword option to encrypt and save the master password so you do not need to enter it for asadmin commands. Use the --savelogin option to encrypt and save the admin password in UserHomeDirectory/.asadminpass. This enables the Access Manager to configure itself after the domain is first started.
For more information about create-domain options, see create-domain(1).
Enter the administrator login credentials when prompted.
(Optional) If you need STCMS (Java CAPS JMS) support in the new domain, run the following command:
asadmin create-stcms --domainname DomainName --stcmsport PortNumber STCMSName
where:
DomainName is the name you assigned to the new domain above
PortNumber is the port number for STCMS (typically the base port number plus seven)
STCMSName is a unique name for the message service
Run the following command to start the new domain:
asadmin start-domain DomainName
Continue to Installing a Java CAPS Runtime on a New Domain.