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
- Ensure that the machines on which you are starting the Installation wizard meet all WebSphere Commerce requirements. For more information, see Verify hardware, software, and operating system requirements.
- Ensure that you installed and configured the necessary software stack as described in the topic, Preparing for a WebSphere Commerce installation.
- Ensure that all WebSphere Commerce media is available during the silent installation. You are not prompted to change disks during the installation.
Procedure
- Ensure that you are logged on to your system as a user with Administrative authority.
-
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
- 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.
-
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.
- Click Cancel and exit the Language Selection panel. Depending on your Windows system, the launchpad can take 3 minutes or longer to start.
- Mount the DVD drive.
-
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.
-
If you are using the WebSphere Commerce DVD, complete these steps:
- 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.
- 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.
- 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.
- Delete the compressed file or archive file to conserve hard disk space.
- Go to the temporary location where you saved the contents of the WebSphere Commerce DVD and locate the default wcresponsefile.txt file.
-
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.
-
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.
- response_file_home\wcresponsefile.txt
- response_file_home/wcresponsefile.txt
- response_file_home/wcresponsefile.txt
Important:- In 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=
- Install WebSphere Commerce on the default path: /QIBM/ProdData/CommerceServer80
- Save and close the file.
-
Install WebSphere Commerce silently:
-
- 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.
- Linux on Power Systems
- Issue 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.
- 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. -
- Start 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.
Note: 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. -
-
Update WebSphere Commerce to the latest maintenance package, WebSphere Commerce
Version 8 Mod Pack 4 Fix Pack 30 (8.0.4.30).
For more information, see