Installing WebSphere Commerce by using the silent installation method

To complete a silent installation, you edit a text file that is called a response file. The response file contains the answers to all of the prompts in the Installation wizard. You can run the silent installation without interacting with it.

Before you begin

Procedure

  1. Windows Ensure that you are logged on to your system as a user with Administrative authority.
  2. LinuxAIX Ensure that you are logged on to your system as root. Ensure that you load the root environment by running the command with the "-" parameter.

    For example:su - root

  3. For IBM i OS operating system Log on as a user with SECOFR class authority. The user profile requires the CCSID for the wanted installation language of WebSphere Commerce. If you did not create a user profile that meets these requirements, see Creating a user profile.
  4. LinuxAIXWindows If you are installing from the WebSphere Commerce DVD, insert the WebSphere Commerce DVD into the DVD drive of the node.
    The WebSphere Commerce launchpad starts automatically.
  5. Windows Click Cancel and exit the Language Selection panel. Depending on your Windows system, the launchpad can take 3 minutes or longer to start.
  6. LinuxAIX Mount the DVD drive.
  7. Linux Go to the location of the local WebSphere Commerce DVD image.
    Note: For eServer zSeries systems: Switch directories to the directory that contains the contents of the WebSphere Commerce DVD. The contents of this DVD and other DVDs are on the eServer zSeries system.
  8. If you are using the WebSphere Commerce DVD, complete these steps:
    1. Use a file compression utility such as gzip or an archiving utility such as tar to package the entire contents of the DVD drive into a single file.
    2. Create a temporary directory for the contents of the DVD, ensuring that the directory has a meaningful name. Know the name and location of each directory that contains the contents of a DVD to complete the WebSphere Commerce Installation wizard.
    3. Uncompress or de-archive the file into its temporary directory. For example, temp_dir.

      Ensure that the file is uncompressed or de-archived into a unique temporary directory. Different DVDs can contain files with the same names. Do not store the contents of multiple DVDs in one directory, or files might be overwritten as you uncompress or de-archive each file into the directory.

    4. Delete the compressed file or archive file to conserve hard disk space.
  9. Go to the temporary location where you saved the contents of the WebSphere Commerce DVD and locate the default wcresponsefile.txt file.
  10. Create a new directory outside of the temp_dir folder, (such as response_file_home), and copy the response file (wcresponsefile.txt) to the new directory.
    temp_dir
    The location where you saved the contents of the WebSphere Commerce DVD.
    response_file_home
    The location of your copied wcresponsefile.txt or wcresponsefile_exp.txt files.
  11. Go to the response_file_home directory and open the following file in a text editor. Edit the file to reflect the settings you want.
    • Windowsresponse_file_home\wcresponsefile.txt
    • LinuxAIXresponse_file_home/wcresponsefile.txt
    • For IBM i OS operating systemresponse_file_home/wcresponsefile.txt
    Important:
    • WindowsIn wcresponsefile.txt, ensure that all values adhere to the following rules and guidelines:
      • Do not use periods (.), dollar signs ($), spaces, or brackets in the directory name.
      • Do not use double-byte characters in the directory name. For example, do not install WebSphere Commerce to a directory that contains Chinese characters in the directory name.
      • Long installation paths (over 250 characters) might causes errors when clustering WebSphere Commerce applications and when installing additional software. To avoid problems, choose a shortened installation directory for WebSphere Commerce. For example, in Windows, use C:\WebSphere instead of C:\Program Files\IBM\WebSphereCommerce80
    • If you are using a remote db2 database:
      • Provide the path to the db2 client in the -W InstallPath.db2Location= parameter.
      • Provide the database user information for the local client in the response file:
        
        -W Database.userID=
        -W Database.userGroup=
        -W Database.userHome=
    • For IBM i OS operating systemInstall WebSphere Commerce on the default path: /QIBM/ProdData/CommerceServer80
  12. Save and close the file.
  13. Install WebSphere Commerce silently:
    • Linux
      • Linux on Power Systems
        temp_dir/setup_ppclinux -silent
        -options response_file_home/wcresponsefile.txt
        
      • Linux on System x and other Intel platforms only
        temp_dir/setup_linux -silent
        -options response_file_home/wcresponsefile.txt
        
      temp_dir
      The location where you saved the contents of the WebSphere Commerce DVD.
      response_file_home
      The location of your copied wcresponsefile.txt or wcresponsefile_exp.txt files.
    • AIXIssue the follow command as root.
      ./temp_dir/setup_aix -silent -options 
      response_file_home/wcresponsefile.txt
      temp_dir
      The location where you saved the contents of the WebSphere Commerce DVD.
      response_file_home
      The location of your copied wcresponsefile.txt or wcresponsefile_exp.txt files.
    • Windows Issue the following command:
      • temp_dir\setup.exe -is:javaconsole -silent -options 
        response_file_home\wcresponsefile.txt
      temp_dir
      The location where you saved the contents of the WebSphere Commerce DVD.
      response_file_home
      The location of your copied wcresponsefile.txt or wcresponsefile_exp.txt files.
      Note: After you run the command, a command window is shown. Do not close it or perform other operations in Windows.
    • For IBM i OS operating systemStart a Qshell session. Issue the following commands:
      • temp_dir/setup.qsh -options response_file_home/wcresponsefile.txt
      temp_dir
      The location where you saved the contents of the WebSphere Commerce DVD.
      response_file_home
      The location of your copied wcresponsefile.txt or wcresponsefile_exp.txt files.
    For IBM i OS operating systemNote: WebSphere Commerce for IBM i is packaged with Mod Pack 1. If you installed WebSphere Commerce for IBM i, your environment is automatically at the Mod Pack 1 (8.0.1.0) level.
  14. LinuxAIXWindows Update WebSphere Commerce to the latest maintenance package, WebSphere Commerce Version 8 Mod Pack 4 Fix Pack 30 (8.0.4.30).

What to do next

After you complete the installation, apply any applicable WebSphere Application Server and WebSphere Commerce fixes.