Once you have configured the Commerce Enabled Portal on your WebSphere Commerce machine, you are ready to install Commerce Enabled Portal on your WebSphere Portal Server machine.
You must install WebSphere Commerce and WebSphere Portal installed on two separate machines.
Prerequisites
Before installing the Commerce Enabled Portal on your WebSphere Portal machine, ensure you have completed the following:
- Met the hardware and software requirements outlined in Pre-installation requirements.
Installation steps
To install the Commerce Enabled Portal on your WebSphere Portal machine, do the following:
Ensure that you are logged onto your system as root.
- From a terminal session, issue the following commands:
DISPLAY=host_name:0.0 export DISPLAY
where host_name is the fully qualified host name of the machine from which you want to run the installation wizard.Note: If you are running the installation wizard in an X client, the X client may need to be authorized to access the X server using the xhost command. To authorize an X client, issue the following command from the system console as root:
xhost +host_name
where host_name is the fully qualified host name of the machine from which you want to run the installation wizard. - Insert WebSphere Commerce CD 1 into the CD-ROM drive of the node.
- Mount the CD-ROM drive. Important: Do not change the directory to the mount point. Changing directories to the mount point will lock the CD drive and prevent you from being able to swap CDs when the WebSphere Commerce installation wizard asks you to do so.
Note: The WebSphere Commerce CDs use Universal Disk Format (UDF). You may need to use a specific mount command depending on your operating system.
For example, mount -o ro -v udfs /dev/cd0 /cdrom
Auto-mount should correctly mount the WebSphere Commerce CD.
All other CDs provided with WebSphere Commerce use ISO formatted CDs. Ensure that you mount the CDs correctly.
- Issue the following command to start the
WebSphere Commerce launchpad: mount_point/setup.sh Portal where mount_point is the CD-ROM mount point, for example, /cdrom.Note:
When referring to the CD-ROM drive path for mount_point, always use the symbolic path to the CD-ROM drive such as /cdrom/cdrom0. This may vary depending on how many CD-ROM drives you have and which one you are using.
- From a terminal session, issue the following commands:
Run the following command to display the WebSphere Commerce installation launchpad:
setup.bat Portal
- Following the instructions in WebSphere Commerce Installation Guide, choose the Custom installation option, then install only the Commerce Enabled Portal component on the WebSphere Portal machine.
Copying the miscellaneous directory to the WebSphere Portal Server
After installing the Commerce Enabled Portal on the WebSphere Portal Server machine, you must manually copy the miscellaneous (Misc) directory from the WebSphere Commerce machine, on which the Commerce Enabled Portal has been installed, to your WebSphere Portal Server machine.
Note: The Misc directory will not exist on the WebSphere Commerce machine until the Commerce Enabled Portal has been installed and configured on that machine.
The Misc directory contains either
- Exported_LTPA.key and b2c_portlet.xml, or
- Exported_LTPA.key and b2b_portlet.xml files
Note: If you plan to import the LTPA key from WebSphere Portal to WebSphere Commerce you should delete the Exported_LTPA.key before copying the directory. To import the LTPA key from WebSphere Portal to WebSphere Commerce export the LTPA key manually from the WebSphere Application Server Administration Console on the WebSphere Portal machine, then import it to WebSphere Commerce node.
To copy this directory, do the following:
- Locate the following directory on your WebSphere Commerce node: WC_installdir/Portals/Misc
- Copy the directory to the following directory on your WebSphere Portal node: WC_installdir/Portals/Misc
Note: For security reasons, all files copied to the WebSphere Portal node should be treated with care as their exposure could cause security problems. As a result, the files in the WC_installdir/Portals/Misc directory should be removed after you have completed installation and configuration of Commerce Enabled Portal on the WebSphere Portal node.