PKI Pre-Built Support Components

From Dogtag
Revision as of 03:10, 16 April 2008 by Blord (talk | contribs) (Building Tomcat JSS)

Jump to: navigation, search

Installing Pre-Built PKI Support Components

The PKI subsystems also require the following pre-built libraries and components which can easily be installed via either Fedora's development yum server or the PKI development yum server. Become root, and execute the following commands:

Third-party Native Libraries

  • nspr 4.6.6 or later
 yum install nspr
 yum install nspr-devel
  • nss 3.11.5 or later
 yum install nss
 yum install nss-devel
 yum install nss-pkcs11-devel
  • mozldap-devel 6.0.3 or later
 yum install mozldap-devel
  • mozldap-tools 6.0.2 or later
 yum install mozldap-tools
  • cyrus-sasl-devel 2.1.19 or later
 yum install cyrus-sasl-devel
  • svrcore-devel 4.0.3.01 or later
 yum install svrcore-devel
  • httpd-devel 2.2.4 or later.
 yum install httpd-devel
  • zlib-devel-1.2.3 or later.
 yum install zlib-devel

Third-party Java Libraries

  • jss 4.2.5 or later
 yum install jss
  • ldapjdk 4.17 or later
 yum install ldapjdk
  • tomcat5 5.5.23 or later
 yum install tomcat5
  • velocity 1.4-6jpp1 or later
 yum install velocity
  • junit 3.8.2-3jpp.1 or later
 yum install junit
  • ant-junit 1.6.5-2jpp.2 or later
 yum install ant-junit

IdM Console Framework

The IdM console framework component is required by the PKI console. Details about the idm-console-framework can be found here.

A user can decide to either install the existing idm-console-framework component in the PKI Yum repository, or build a new idm-console-framework from the source.

Installing IdM Console Framework

To install this component, become the root user, and execute the following command:

  • idm-console-framework 1.1.0-2 or later
 yum install idm-console-framework

Building IdM Console Framework

To build the IdM console framework, perform the following procedures:

   CVSROOT=:pserver:anonymous@cvs.fedoraproject.org:/cvs/dirsec ; export CVSROOT
   cvs -z3 co console
   cd console
   ant
   cd ..

To build the framework RPM, become the root user, and execute the following commands:

   mkdir idm-console-framework-1.1.0
   cp console/* idm-console-framework-1.1.0
   tar cjf idm-console-framework-1.1.0.tar.bz2 idm-console-framework-1.1.0
   mv idm-console-framework-1.1.0.tar.bz2 /usr/src/redhat/SOURCES
   cd console
   rpmbuild -ba idm-console-framework.spec

Install the RPM.

Tomcat JSS (tomcatjss)

The tomcatjss component is used by all Java subsystems (i.e. - CA, DRM, OCSP, and TKS). Details of tomcatjss can be found in the Server Architecture Tech Note.

A user can decide to either install the existing tomcatjss component in the PKI Yum repository, or build a new tomcatjss from the source.

Installing Tomcat JSS

To install this component, become the root user, and execute the following command:

   yum install tomcatjss

Building Tomcat JSS

To build tomcatjss, do the following:

   svn co https://pki.fedoraproject.org/svn/fortitude/trunk/tomcatjss
   cd tomcatjss
   ./build_linux

The RPM will be created in ./dist/rpmpkg/RPMS/noarch. Become the root user, and execute the following commands:

   cd ./dist/rpmpkg/RPMS/noarch
   rpm -Uvh tomcatjss