Tuesday, May 15, 2012

Install Sun Java and Tomcat 6 on SLES 11 SP2

1) Install Sun Java
>rpm ivh jdk-6u31-linux-amd64.rpm
2) Upgrade zlib library by rpm
>rpm -Uvh zlib-*.rpm

zlib-1.2.5-8.1.x86_64.rpm


zlib-devel-1.2.5-8.1.x86_64.rpm
3) Install belows required libraries from SLES 11 SDK
>rpm -ivh lib*.rpm
libapr-util1-1.3.9-9.2.x86_64.rpm
libapr1-1.4.2-3.1.x86_64.rpm
libapr1-devel-1.4.2-3.1.x86_64.rpm
libdb-4_8-4.8.30-2.4.x86_64.rpm
libopenssl-devel-1.0.0c-17.1.x86_64.rpm
libopenssl1_0_0-1.0.0c-17.1.x86_64.rpm
4) Install libtcnative
zypper install libtcnative*

/usr/lib64 # ln -s libtcnative-1.so.0 libtcnative-1.so
5) Start Tomcat



No comments:

Post a Comment