Create New Profile in WebSphere

A profile is the set of files used to define the run-time environment.

Create a new profile in WebSphere through the command line using the manageprofiles.sh present in the <WebSphere Install directory>/AppServer/bin directory.

To create a profile without admin security:
"manageprofiles.sh -create -profileName <profile> -profilePath <profile_
path> -templatePath <template_path> -nodeName <node_name> -cellName
<cell_ name> -hostName <host_name>"
Example:
$usr/home>./manageprofiles.sh -create -profileName mockaix
-profilePath/websphere/webs64/Appserver/profiles/mockaix
-templatePath/websphere/webs64/Appserver/profileTemplates/default
-nodeName ipa020dorNode04 cellName ipa020dorNode04Cell -hostName ipa020dor
To create a profile with admin security :
"manageprofiles.sh -create -profileName <profile> -profilePath <profile_
path> -templatePath <template_path> -nodeName <node_name> -cellName
<cell_name> -hostName <host_name> -enableAdminSecurity true -
adminUserName<Admin User Name> -adminPassword < Admin User Password> -
samplespassword<sample User Password>"
Example:
$usr/home>./manageprofiles.sh -create -profileName mockaix
-profilePath/websphere/webs64/Appserver/profiles/mockaix
-templatePath/websphere/webs64/Appserver/profileTemplates/default
-nodeName ipa020dorNode04 -cellName ipa020dorNode04Cell -hostName ipa020dor
-enableAdminSecurity true -adminUserName ofsaai -adminPassword ofsaai -
samplespassword ofsaai"

Note:

While using the manageprofiles.sh command to create a new profile in WebSphere, you can also use -validatePorts to validate if the specified ports are not reserved or in use. Additionally, you can specify new ports with -startingPort <baseport> which specifies the starting port number to generate and assign all ports for the profile.