Installing Cocoon 2.1.8 on Solaris 10
As of version 2.1 Apache Cocoon does not provide any binaries so you will need to compile it from source.
# cd /opt/
# gunzip cocoon-2.1.8-src.tar.gz
# gnutar -xf cocoon-2.1.8-src.tar.gz
You may get the following error message if you use the regular tar to extract it:
tar: ././@LongLink: typeflag 'L' not recognized, converting to regular file. This is due to long pathnames in the tar. You will need to use gnutar to untar the package instead.
- Set your JAVA_HOME environment
# export JAVA_HOME=/usr/java/
# cd cocoon-2.1.8
# ./build.sh
Create a cocoon user:
# groupadd cocoon
# useradd -g cocoon -d /opt/xml-qstat/ cocoon
# passwd cocoon
# chown -R cocoon:cocoon /opt/xml-qstat/
--
JesseSuen - 29 Mar 2006