Configure the server: Create a new instance
To create a new instance, run the crtwasinst script from Qshell the command line. This script creates all new server directories and sets up the correct authorities. To run this script, your iSeries user profile must have *ALLOBJ authority.
Enter the Start Qshell (STRQSH) command on an OS/400 command line.
On the Qshell command line, use the cd command to change to the directory that contains the script. For example:
cd /QIBM/ProdData/WebAS5/Base/binRun the crtwasinst script. Enter this command:
crtwasinst -instance basicconfig -portblock portblockwhere basicconfig is the name of the instance that is created and portblock is the first of a block of 13 consecutive ports. For more information on the crtwasinst script and additional parameters, see The crtwasinst script.