Siebel Installations >  Install Sun Java Web Server on Solaris

I am going to describe this - Installing Sun Java System Web Server 6.1 SP16 or 17
on Sun SPARC** (64-bit) Solaris 10

First we need to check the prerequisites -This list was from the support web.

1.145532-01 patch must be there on the Operating system.

Go to this URL (http://sunsolve.sun.com/search/document.do?assetkey=1-21-145532-01-1)
for details of this patch. This patch has been obsoleted by patch 145532-05

If you want to install SP16 , use this patch instead - 145532-04
To check if you have this patch in Solaris type
showrev -p | grep 145532

2. Swap should be twice the RAM size or at least as much as RAM
To find out RAM size in Solaris, type either of these commands

prtconf | head -3 |grep Mem
or
/usr/sbin/prtconf | head -3 |grep Mem

To find out SWAP size, type this
swap -s

3. Minimum memory requirements
Minimum Required Memory - 64 MB
Recommended Memory - 192 MB

4.Recommended Disk Space - 256 MB
Command for checking free disk space
iostat -E


5.You should know the ip address and DNS name of your computer and also confirm that it has a valid DNS.

You can find out your ip address by typing this command
/usr/sbin/ifconfig -a | awk 'BEGIN { count=0; } { if ( $1 ~ /inet/ ) { count++; if( count==2 ) { print $2; } } }'

To check dns name, type hostname
After that , open up a command prompt from another computer in the network and ping your server with the hostname.
If you get a valid response, then your dnsname should be set up.

6. To administer the webserver, you need to install it under root or another user that can access ports.
The default ports are 80 and 443 for the ssl and non ssl versions. Only root can set up your webserver
with these ports. Otherwise make sure that the web server admin has permissions to install using these ports.

To check if ports 80 and 443 are free type these commands

netstat -an | grep 443 | grep -i listen
netstat -an | grep 80 | grep -i listen

Installation steps

In the install folder, you should see a /WebServer and a /lib directory, and the following files:

README.txt

3RD-PARTY-LICENSE.txt

LICENSE.txt

setup

installWrapper

setup.inf

template.inf
Add execute rights to all the files using chmod +x

The root folder for the installation should have these files

.setup
3RD-PARTY-LICENSE.txt
LICENSE.txt
README.txt
WebServer
installWrapper
lib
setup
setup.inf

Type ./setup
The output should be like this

Welcome to the Sun ONE Web Server installation program
This program will install Sun ONE Server Products and the
Sun ONE Console on your computer.

It is recommended that you have "root" privilege to install the
software.

Tips for using the installation program:
- Press "Enter" to choose the default and go to the next screen
- Type "Control-B" to go back to the previous screen
- Type "Control-C" to cancel the installation program
- You can enter multiple items using commas to separate them.
For example: 1, 2, 3


Would you like to continue with installation? [Yes]:

BY INSTALLING THIS SOFTWARE YOU ARE CONSENTING TO BE BOUND BY
AND ARE BECOMING A PARTY TO THE AGREEMENT FOUND IN THE
LICENSE.TXT FILE. IF YOU DO NOT AGREE TO ALL OF THE TERMS
OF THIS AGREEMENT, PLEASE DO NOT INSTALL OR USE THIS SOFTWARE.

Do you agree to the license terms? [No]: Yes

Choose an installation type:

1. Express installation
Allows you to quickly install the servers using the most
common options and pre-defined defaults. Useful for quick
evaluation of the products.

2. Typical installation
Allows you to specify common defaults and options.

3. Custom installation
Allows you to specify more advanced options. This is
recommended for experienced server administrators only.

To accept the default shown in brackets, press the Enter key.

Choose an installation type [2]: 3

This program will extract the server files and install them
into a directory you specify. That directory is called the
server root in the product documentation and will contain
the server programs, the Administration Server, and the server
configuration files.

To accept the default shown in brackets, press the Enter key.

Install location [/opt/SUNWwbsvr]: /YOUR/FOLDER/PATH

Sun ONE Web Server components:

Components with a number in () contain additional subcomponents
which you can select using subsequent screens.

1. Sun ONE Web Server, Enterprise Edition (2)


Specify the components you wish to install [All]:

Sun ONE Web Server, Enterprise Edition components:

Components with a number in () contain additional subcomponents
which you can select using subsequent screens.

1. Server Core
2. Java Development Kit


Specify the components you wish to install [1, 2]: 1,2

Enter the fully qualified domain name of the computer
on which you're installing server software. Using the form
<hostname>.<domainname>
Example: eros.airius.com.

To accept the default shown in brackets, press the Enter key.

Computer name [SERVER_DNS_NAME]:

Choose a Unix user and group to represent the Sun ONE Web Server
in the user directory. The Web Server will run as this user.
It is recommended that this user should have no privileges
in the computer network system. The Administration Server
will give this group some permissions in the server root
to perform server-specific operations.

If you have not yet created a user and group for the Web Server,
create this user and group using your native UNIX system utilities.


System User [YOURUSER]:
System Group [YOURSOLARISGROUP]:

The Web Server Administration Server is different from
other web servers on the system. It is recommended that the
Web Server Administration Server run with a different
user id than those used by the other web servers on the machine.
The Administration Server user is the only user able to write web
server configuration files.

Note: If the Web Server Administration Server is run
as "root", the administration GUI can be used to start and stop
the other web servers.


Run Web Server Administration Server as [root]: YOURADMINUSER

The Web Server Administration Server requires its own
administrative user name and password for GUI access. When
you access the Web Server Administration Server GUI, it will
prompt you for the administrative user name and password.

Please select a user name and password now.


Web Server Admin Server User Name [YOURLOGIN]:

Web Server Admin Server Password:


The Web Server Administration Server also listens to a different port (with
restricted access). Pick a port number between 1024 and 65535 on which
to run your Web Server Administration Server. It must be different than
your web server port.


Web Server Admin Server Port [8888]:

Pick a port number between 1024 and 65535 on which to run your Web Server.
You should NOT use a port number on which you plan to run other servers.


Web Server Port [80]: 80

 

Enter content root for the Web Server.
Web Server Content Root [/YOUR/FOLDER/NAME/docs]:

Server Core installed successfully.
Java Support installed successfully.

Press Return to continue...


Thats it. To check if the webserver is working, start it and type http://webserverdnsname
You should see a default welcome page.