1. Get the server name
2. Login in to the WAS (Websphere Application Server) using unix id and password
3. User id should have full access for this instance
4. It should not have any pre existing directories (lost-found or any other)
5. Let assume profile name is testserver
a. Changes directory to /usr/IBM/WebSphere/AppServer/bin/
Run the command wasprofile.sh with defined parameter.
wasprofile.sh -create -profileName testserver -profilePath /usr/IBM/WebSphere/AppServer/profiles/testserver -templatePath /usr/IBM/WebSphere/AppServer/profileTemplates/default -hostName
Port number can not be more than 64000.