45 lines
2.9 KiB
HTML
45 lines
2.9 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<html>
|
|
<head>
|
|
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
<LINK rel="stylesheet" type="text/css" href="../../../rzahg/ic.css">
|
|
|
|
<title>Configure Qshell to run WebSphere Application Server - Express scripts</title>
|
|
</head>
|
|
|
|
<BODY>
|
|
<!-- Java sync-link -->
|
|
<SCRIPT LANGUAGE="Javascript" SRC="../../../rzahg/synch.js" TYPE="text/javascript"></SCRIPT>
|
|
|
|
<h4><a name="qshadm"></a>Configure Qshell to run WebSphere Application Server - Express scripts</h4>
|
|
|
|
<p>Most of the WebSphere Application Server - Express scripts are located in the /QIBM/ProdData/WebASE/ASE5/bin directory. The crtplugininst script is located in the /QIBM/ProdData/WebASE/bin directory. These scripts must be run from Qshell. There are several ways to run Qshell commands to ensure the correct version (from the correct directory) is used.</p>
|
|
|
|
<ul>
|
|
<li><p>Invoke the script from the CL command line or from an i5/OS CL program. To use this method, run the STRQSH command and specify the fully qualified path name of the script:</p>
|
|
<pre>STRQSH CMD('/QIBM/ProdData/WebASE/ASE5/bin
|
|
/<em>script_name</em> <em>parameters</em>')</pre>
|
|
<p>where <em>script_name</em> is the name of the script and <em>parameters</em> represents the parameters that are passed to the script.</p></li>
|
|
|
|
<li><p>From the Qshell prompt, invoke the fully qualified path name of the script:</p>
|
|
<pre>/QIBM/ProdData/WebASE/ASE5/bin/<em>script_name</em> <em>parameters</em></pre>
|
|
<p>where <em>script_name</em> is the name of the script and <em>parameters</em> represents the parameters that are passed to the script.</p></li>
|
|
|
|
<li><p>From the Qshell prompt, use the cd command to change to the /QIBM/ProdData/WebASE/ASE5/bin directory, and then run the script:</p>
|
|
<pre>cd /QIBM/ProdData/WebASE/ASE5/bin
|
|
|
|
<em>script_name</em> <em>parameters</em></pre></li>
|
|
|
|
<li><p>You can also update the PATH environment variable to automatically locate the script when you run it. After you update the PATH variable, you can run these scripts from any directory. To update the PATH environment variable, follow these steps:</p>
|
|
<ol>
|
|
<li>Edit the .profile file in the /home/<em>user_profile_name</em> directory, where <em>user_profile_name</em> is the name of your iSeries user profile.
|
|
<p><strong>Note:</strong> If this file does not exist, create it in this directory. You can use the EDTF command from an CL command line or use any editor from a workstation. Also note that <tt>.profile</tt> is the full name of the file. When you start Qshell, it searches for the .profile file, and runs the commands listed in it. You can use the .profile file to set persistent environment variables for your Qshell session.</p></li>
|
|
<li>Add this line to the .profile file:
|
|
<pre>export PATH=/QIBM/ProdData/WebASE/ASE5/bin:/QIBM/ProdData/WebASE/bin:$PATH</pre></li>
|
|
<li>Save the file.</li>
|
|
</ol><p></p></li>
|
|
</ul>
|
|
|
|
</body>
|
|
</html>
|