Creating a Profile Using Command Line Options

When using WebSphere 8.5, you can create a new profile using command line options provided with the standard WebSphere installation.

  1. Open a Command Prompt dialog box (Windows) or terminal window (UNIX/Linux).

    Windows Server 2008: You must open the Command Prompt dialog box using the Run as administrator option.

  2. Navigate to the following directory:

    <websphere_install_dir>\bin
    

  3. Type one of following commands (on a single line), replacing <new_profile_name> with the desired name for the new profile (for example, WebTop):
    • Windows: manageprofiles -create -templatePath ..\profiletemplates\default -profileName <new_profile_name>

    • UNIX/Linux: manageprofiles.sh -create -templatePath ../profileTemplates/default -profileName <new_profile_name>

    Important: The command arguments are case-sensitive on all operating systems.

    Your command should appear similar to the following example:

    manageprofiles -create -templatePath ..\profiletemplates\ 
    default -profileName WebTop
    

    A message appears when the profile has been successfully created.

  4. Navigate to the following directory:

    <websphere_install_dir>\profiles\<new_profile>\bin
    

  5. Type one of the following commands:
    • Windows: startserver server1

    • UNIX/Linux: ./startServer.sh server1

  6. Once the server is running, access a Web browser and open the following page:

    http://localhost:new_profile_port_number/ibm/console
    

    For more information on determining the port number for your new WebSphere profile, see About New Profile Port Numbers.

  7. Type a login name into the User ID text box.

    You can use any login name you want. However, for consistency, this procedure will use the name seeadmin.

    Note: When security is turned on, you will need a user name and password that are valid for the WebSphere server.

  8. Click Log in.

    The full console appears.