You can set up and use the profile environment through commands or the Profile Creation wizard. Use this example to set up and use the profile environment through commands.
Before you begin
This task assumes a basic familiarity with the wasprofile command, other Application Server commands, and system commands.Before you can create and use a profile, you must install WebSphere Application Server.
Why and when to perform this task
Perform the following steps to create and use the profile environment. This example deals with the profile environment of a stand-alone Application Server on the Windows platform.
Steps for this task
C:\Program Files\IBM\WebSphere\AppServer\bin wasprofile -create
-profileName AppSrv01
-profilePath C:\Program Files\IBM\WebSphere\AppServer\profiles\AppServer
-templatePath C:\Program Files\IBM\WebSphere\AppServer\profileTemplates\default
-nodeName AppServerNode
-cellName AppServerNodeCell
-hostName myhost.mycity.mycompany.com
-isDefault false
-winserviceCheck true
-winserviceAccountType user
-winserviceUserName my_user_id
-winservicePassword my_password
-winserviceStartupType manual
-startingPort 21000
cd Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\bin
startServer server1 -profileName AppSrv01
netstat -a
http://hostname_or_IP_address:20003/ibm/console/
Result
You created an Application Server profile, started an Application Server, and accessed the administrative console through commands.What to do next
Deploy an application.Related reference
wasprofile command