WPS: Pre-install Tasks for Linux: Difference between revisions

From Wiki
(New page: Follow the next steps '''carefully''' for install IBM Websphere Portal Server 6.1 for Linux == Hardware == '''Have at least 2 GB of RAM for installation''' In my installation, i had p...)
 
Line 33: Line 33:
  127.0.0.1              localhost.localdomain            localhost
  127.0.0.1              localhost.localdomain            localhost
  192.168.1.15          wps1.mycompany.com              wps1
  192.168.1.15          wps1.mycompany.com              wps1
== Change the open files limits ==
Edit the file /etc/security/limits.conf and add the following entries
root                soft        nofile          10240
root                hard        nofile          10240
Save and close the file, logoff from the system, and logon again
Check the change with the following command
#ulimit -a
 
core file size          (blocks, -c) 0
data seg size          (kbytes, -d) unlimited
scheduling priority            (-e) 0
file size              (blocks, -f) unlimited
pending signals                (-i) 16308
max locked memory      (kbytes, -l) 32
max memory size        (kbytes, -m) 1756780
'''open files                      (-n) 10240'''
pipe size            (512 bytes, -p) 8
POSIX message queues    (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) 8192
cpu time              (seconds, -t) unlimited
max user processes              (-u) 16308
virtual memory          (kbytes, -v) 3337040
file locks                      (-x) unlimited


== (Optional) Updating the /etc/issue file - Only for CentOS ==
== (Optional) Updating the /etc/issue file - Only for CentOS ==

Revision as of 14:01, 9 July 2008

Follow the next steps carefully for install IBM Websphere Portal Server 6.1 for Linux


Hardware

Have at least 2 GB of RAM for installation

In my installation, i had problems when my Virtual Machine (VM) has only 1 GB of memory, with more memory the install happens without problems. In the installation process the Wizard start and stop WAS/WPS many times, so enough memory is a pre-req.


Installing requireds RPM packages

Install the following RPM packages in you Linux OS:

 - compat-libstdc++-33
 - compat-libstdc++-296
 - libXp

if you are using yum, make as follow:

> yum -y install compat-libstdc++-33 compat-libstdc++-296 libXp


Setting the hostname as FQDN

Check that the hostname is full hostname (Full Qualified Domain Name).

Example: wps1.mycompany.com

Another Example:

> cat /etc/hosts
127.0.0.1              localhost.localdomain            localhost
192.168.1.15           wps1.mycompany.com               wps1

Change the open files limits

Edit the file /etc/security/limits.conf and add the following entries

root                soft         nofile           10240
root                hard         nofile           10240

Save and close the file, logoff from the system, and logon again

Check the change with the following command

#ulimit -a
 
core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 16308
max locked memory       (kbytes, -l) 32
max memory size         (kbytes, -m) 1756780
open files                      (-n) 10240
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) 8192
cpu time               (seconds, -t) unlimited
max user processes              (-u) 16308
virtual memory          (kbytes, -v) 3337040
file locks                      (-x) unlimited

(Optional) Updating the /etc/issue file - Only for CentOS

InstallShield checks for Operation System installed to know for it's compatibility or not. We can avoid/mask this check change the /etc/issue file. So the same thinks this OS is a trully Red Hat Enterprise


The original is the following one:

CentOS release 5 (Final)
Kernel \r on an \m

Update to:


Red Hat Enterprise Linux ES release 4 (Nahant Update 1)
Kernel \r on an \m

Logoff and Logon again.