Silent installation is a less efficient way than templatized installation to install multiple instances of Sun Java System Web Server because remote instances of the server are installed one by one rather than several at a time. You use silent installation to create a file of responses to the setup program’s prompts, then edit the file (install.inf) and use it to install future Sun Java System Web Server installations. With silent installation, you must first install Sun Java System Web Server on your local machine, then edit install.inf to correspond to the remote machines where you’ll install additional instances of the server. If you are installing Sun Java System Web Server on a number of remote machines, it is recommended that you use templatized installation instead.
Silent installation works best when you use the Typical installation and your installations are all similar.
The install.inf file contains the password used to log on to the Administration Server. The password is not encrypted; it is in plain text. If you use silent installation, delete the install.inf file once you are done with it.
To use silent installation, follow these steps:
Run setup with the -k option, which creates a file called install.inf that contains all your responses to the installer prompts. At the command prompt, type:
./setup -k
Answer the installer prompts and install Sun Java System Web Server.
When the server is installed, go to the server_root /setup directory, where you find the install.inf file.
Copy the install.inf file to the directory where you will run setup to install your Sun Java System Web Server.
Edit the values in the install.inf file to match the values of the next server you want to install.
For example, change the machine name, port number, installation directory, etc.
Run setup using the install.inf file for input. For example:
./setup -s -f install.inf
The server is installed.
The following is an example of an install.inf file.
[General] FullMachineName= draco.india.sun.com SuiteSpotUserID= webservd SuitespotGroup= webservd ServerRoot= /Sun/WebServer SecurityCheck= False RequireDomain= False Components= WebServer [WebServer] Upgrade= False SuiteSpotUserID= webservd SuiteSpotGroup= webservd AdminPort= 4600 HttpPort= 4601 HttpDocRoot= /Sun/WebServer/docs StartOnBoot= n JDK_DIR= /Sun/WebServer/bin/https/jdk JDK_LIBPATH= AdminSysUser= root AdminName= admin AdminPassword= admin CompVersions= 2:2:1:0:0: Components= webcore,JDK,cleanup [cleanup] Archive= cleanup.zip |
The following table shows some useful install.inf parameters to edit. For best results, do not edit any parameters except those listed in the table.
Parameter Name |
Use |
---|---|
FullMachineName |
The machine name. |
SuiteSpotUserID |
The user ID used when running the default instance of the Sun Java System Web Server. |
SuiteSpotGroup |
The group the user running the default instance of the Sun Java System Web Server belongs to. |
ServerRoot |
The directory where you install the server. |
AdminPort |
The Administration Server port. |
HttpPort |
The port of the default Sun Java System Web Server instance. |
HttpDocRoot |
The document root of the Sun Java System Web Server instance. |
AdminSysUser |
The user ID used when running the Administration Server. |
AdminName |
The user name used to access to the Administration Server’s administration screens. |
AdminPassword |
The password used to access to the Administration Server’s administration screens. |
JDK_DIR |
The directory where your JDK is installed. |