Run Java Enterprise System on Slackware Linux

On a non supported Linux system the trick is to bypass the Java ES installer.

The pre-req on Slackware 10 (GNU libc 2.3.2) is that you need the "rpm-4.2.1-i486-3" package installed which provides rpm functionality becuase Slackware's native packaging system (tgz) is different.

Then use the following "Dummy" package which "Provides" /bin/sh and tricks the directory server configuration script.

  rpm -Uvh perl-5.6.1-1.i386.rpm

>>> The "getent" command should be installed

# Install the Shared packages

  rpm --nodeps -Uvh shared_components/Packages/j2sdk-1_4_2_04-linux-i586.rpm
  rpm -Uvh shared_components/Packages/sun-sasl-2.02-2.i386.rpm
  rpm -Uvh shared_components/Packages/SUNWtls-3.3-04.i386.rpm
  rpm --nodeps -Uvh shared_components/Packages/sun-icu-2.1-7.i386.rpm
  rpm --nodeps -Uvh shared_components/Packages/sun-ktsearch-1.3-2.noarch.rpm
  rpm --nodeps -Uvh shared_components/Packages/sun-ldapcsdk-5.12-1.i386.rpm
  rpm --nodeps -Uvh shared_components/Packages/sun-nspr-4.1.6-2.i386.rpm
  rpm --nodeps --force -Uvh shared_components/Packages/sun-nss-3.3.10-1.i386.rpm
  rpm --nodeps  -Uvh shared_components/Packages/sun-jss-3.1.3-2.i386.rpm

# Administration server install
  rpm -Uvh administration_svr/Packages/sun-admin-server-5.2-3.i386.rpm
  rpm -Uvh administration_svr/Packages/sun-server-console-5.2-3.i386.rpm

# Directory server install
  rpm -Uvh directory_svr/Packages/sun-directory-server-5.2-4.i386.rpm

# Directory and Admin server configuration
  #export LD_LIBRARY_PATH=/opt/sun/admin-server/5.2/lib:/opt/sun/directory-server/5.2/lib
  /opt/sun/sbin/directoryserver configure
  /opt/sun/sbin/mpsadmserver configure

# Messaging server install
  rpm -Uvh messaging_svr/Packages/sun-messaging-server-6.1-12.38.i386.rpm

# Messaging server configuration
  perl /opt/sun/messaging/lib/comm_dssetup.pl
  mkdir -p /var/opt/sun/install
  /opt/sun/messaging/sbin/configure


# Web server installation
  rpm -Uvh shared_components/Packages/sun-nspr-devel-4.1.6-2.i386.rpm
  rpm -Uvh web_svr/Packages/sun-webserver-6.1.2-2.i386.rpm

# Web server configuration
  /opt/sun/webserver/setup/configure


# Identity server install
  rpm -Uvh identity_svr/Packages/sun-identity-mobileaccess-6.2-6.i386.rpm
  rpm -Uvh identity_svr/Packages/sun-identity-mobileaccess-config-6.2-6.i386.rpm

  rpm -Uvh sun-identity-linux-support-6.2-5.i686.rpm
  rpm -Uvh sun-identity-sdk-6.2-5.i686.rpm
  rpm -Uvh sun-identity-sdk-config-6.2-5.i686.rpm
  rpm -Uvh sun-identity-console-6.2-5.i686.rpm
  rpm -Uvh sun-identity-console-sdk-6.2-5.i686.rpm
  rpm -Uvh sun-identity-services-6.2-5.i686.rpm
  rpm -Uvh sun-identity-services-config-6.2-5.i686.rpm
  rpm -Uvh sun-identity-utils-6.2-5.i686.rpm
  rpm -Uvh sun-identity-password-6.2-5.i686.rpm
  rpm -Uvh sun-identity-jwsdp-6.2-5.i686.rpm
  rpm -Uvh sun-identity-samples-6.2-5.i686.rpm
  rpm -Uvh sun-identity-external-6.2-5.i686.rpm
  rpm -Uvh sun-identity-sci-6.2-5.i686.rpm
  rpm -Uvh sun-identity-federation-6.2-5.i686.rpm

# Identity server configuration

  ln -s /usr/bin/gettext /bin/gettext
  /opt/sun/identity/bin/amconfig -s is.statefile
  If you get an authentication during the above step then run this additional step
  /opt/sun/identity/bin/amsvcsconfig -s is.statefile

# Commcli

blackhole# rpm -Uvh sun-commcli-client-1.1-8.i386.rpm
blackhole# rpm -Uvh sun-commcli-server-1.1-8.i386.rpm


# Calendar server install
  rpm -Uvh calendar_svr/Packages/sun-calendar-core-6.1-9.i386.rpm
  rpm -Uvh calendar_svr/Packages/sun-calendar-api-6.1-9.i386.rpm

# Calendar server configuration
# The csconfigurator.sh script (unfortunately) expects openldap's ldapsearch.  So make
# sure it is in the path and a symbolic link exists

ln -s /usr/local/openldap/bin/ldapsearch /usr/bin/ldapsearch
ln -s /usr/local/openldap/bin/ldapmodify /usr/bin/ldapmodify

  ./csconfigurator.sh
                 
# UWC

  rpm -Uvh

  # upgrade

  rpm -F sun-uwc-6.1-5.1.i386.rpm


# Directory Proxy Server Install

rpm -Uvh directory_pxy_svr/Packages/sun-directory-proxy-server-5.2-13.i386.rpm

cd /opt/sun/directory/bin
ln -s /opt/sun/directory-proxy-server/5.2/bin/dps .
ln -s /opt/sun/directory-proxy-server/5.2/bin/tcl8.2 .
cd /opt/sun/directory/setup
ln -s /opt/sun/directory-proxy-server/5.2/setup/dps .
cd /opt/sun/directory/lib/
ln -s /opt/sun/directory-proxy-server/5.2/lib/tcl8.2

chown -R nobody:nogroup /opt/sun/var/directory
chown root /opt/sun/directory/admin-serv/tmp

/opt/sun/directory/bin/tcl8.2/tclsh /opt/sun/directory-proxy-server/5.2/bin/dps/install/scr
ipt/quickstart.tcl -cid /opt/sun/directory-proxy-server/5.2 -serverroot /opt/sun/directory
-listen 389 -userID admin -password admin123 -verbose


# Message Queue Install (need for application server)

rpm -Uvh Product/message_queue/Packages/sun-mq-3.6-25.i386.rpm
rpm -Uvh ./sun-mq-config-3.6-25.i386.rpm
rpm -Uvh ./sun-mq-var-3.6-25.i386.rpm
rpm -Uvh ./sun-mq-jmsclient-3.6-24.i386.rpm
rpm --nodeps -Uvh ./sun-mq-3.6-25.i386.rpm
# Application Server Install

rpm -Uvh application_svr/Packages/sun-asac-8.1.2-11.i386.rpm


   rpm -Uvh ./sun-ascmnse-8.1.2-11.i386.rpm
   rpm -Uvh ./sun-asacee-8.1.2-11.i386.rpm
   rpm -Uvh ./sun-ascmn-8.1.2-11.i386.rpm
   rpm -Uvh ./sun-asdem-8.1.2-11.i386.rpm
   rpm -Uvh ./sun-asJdbcDrivers-8.1.2-11.i386.rpm
   rpm -Uvh ./sun-asu-8.1.2-11.i386.rpm
   rpm -Uvh ./sun-ascml-8.1.2-11.i386.rpm
   rpm -Uvh ./sun-aswbcr-8.1.2-11.i386.rpm
   rpm -Uvh ./sun-asut-8.1.2-11.i386.rpm
   rpm -Uvh ./sun-asuee-8.1.2-11.i386.rpm


-----------------------------------------------------------------------------
A P P E N D I X
-----------------------------------------------------------------------------

is.statefile
------------
USER_NAMING_ATTR=uid
WS61_PORT=80
DS_PORT=1389
AMLDAPUSERPASSWD='amldapuser'
ADMINPASSWD='admin123'
XML_ENCODING=UTF-8
ROOT_SUFFIX="dc=lota,dc=no-ip,dc=org"
SERVER_HOST=blackhole.lota.no-ip.org
PRODUCT_DIR=identity
CONSOLE_PORT=80
PASSWORD_DEPLOY_URI=/ampassword
COOKIE_DOMAIN=.lota.no-ip.org
WS61_PROTOCOL=http
NEW_GROUP=nogroup
USER_OBJECT_CLASS=inetorgperson
PLATFORM_LOCALE=en_US
WS61_HOST=blackhole.lota.no-ip.org
AM_ENC_PWD="admin123"
DS_HOST=blackhole.lota.no-ip.org
DEPLOY_LEVEL=1
ORG_OBJECT_CLASS=sunISManagedOrganization
NEW_INSTANCE=false
CONFIG_DIR=/etc/opt/sun/identity/config
WS61_HOME=/opt/sun/webserver
NEW_OWNER=nobody
CONSOLE_HOST=blackhole.lota.no-ip.org
DIRECTORY_MODE=1
CONSOLE_PROTOCOL=http
SERVER_DEPLOY_URI=/amserver
ORG_NAMING_ATTR=o
DS_DIRMGRPASSWD='dmanager'
WEB_CONTAINER=WS6
WS61_INSTANCE=https-blackhole.lota.no-ip.org
BASEDIR=/opt/sun
SERVER_PORT=80
DS_DIRMGRDN="cn=Directory Manager"
PLATFORM_ENCODING=646
COMMON_DEPLOY_URI=/amcommon
SERVER_PROTOCOL=http
CONSOLE_DEPLOY_URI=/amconsole
INSTALL_LOG_DIR=/var/opt/sun/install/logs
JAVA_HOME=/usr/local/java
Comments:

Post a Comment:
Comments are closed for this entry.
About

wahmed

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today