W Y O N A C O N T E N T - M A N A G E M E N T - S Y S T E M | |
Installation | |
------------ | |
1) Get, install, start, try and stop Tomcat | |
[unix] cd /home/wyona/build | |
wget http://jakarta.apache.org/builds/jakarta-tomcat-4.0/nightly/jakarta-tomcat-4.0-20020110.tar.gz | |
tar -xzf jakarta-tomcat-4.0-20020110.tar.gz | |
export JAVA_HOME=/usr/local/IBMJava2-13 | |
export CATALINA_HOME=/home/wyona/build/jakarta-tomcat-4.0 | |
/home/wyona/build/jakarta-tomcat-4.0/bin/startup.sh | |
lynx http://localhost:8080 | |
/home/wyona/build/jakarta-tomcat-4.0/bin/shutdown.sh | |
2) Get Wyona | |
[unix] cd /home/wyona/src | |
wget http://www.wyona.org/builds/wyona-cms-2.0/nightly/src/wyona-cms-2.0-src-200201102354.tar.gz | |
tar -xzf wyona-cms-2.0-src-200201102354.tar.gz | |
cd wyona-cms-2.0-src | |
ls | |
3) Get, build and copy Cocoon | |
(OPTIONAL: Just in case you want the most recent Cocoon. If not, then go to 4) | |
[unix] cd /home/wyona/src | |
wget http://cvs.apache.org/snapshots/xml-cocoon2/xml-cocoon2_20020110171938.tar.gz | |
tar -xzf xml-cocoon2_20020110171938.tar.gz | |
cd xml-cocoon2 | |
export JAVA_HOME=/usr/local/IBMJava2-13 | |
./build.sh -Dinclude.webapp.libs=yes webapp | |
cp build/cocoon/cocoon.war ../wyona-cms-2.0-src/. | |
4) Build Wyona | |
[unix] cd /home/wyona/src/wyona-cms-2.0-src | |
export JAVA_HOME=/usr/local/IBMJava2-13 | |
export ANT_HOME=/home/wyona/src/wyona-cms-2.0-src/jakarta-ant-1.4.1 | |
export PATH=/home/wyona/src/wyona-cms-2.0-src/jakarta-ant-1.4.1/bin:$PATH | |
ant | |
ls build/webapp | |
5) Install Wyona for Development | |
[unix] cd /home/wyona/build/jakarta-tomcat-4.0/webapps | |
ln -s /home/wyona/src/wyona-cms-2.0-src/build/webapp wyona-cms | |
vi /home/wyona/build/jakarta-tomcat-4.0/conf/server.xml | |
To allow class reloading, insert the following line: | |
<Context path="/wyona-cms" docBase="wyona-cms" debug="0" reloadable="true" crossContext="true"/> | |
6) Start Wyona | |
[unix] (/home/wyona/build/jakarta-tomcat-4.0/bin/shutdown.sh) | |
(rm -r /home/wyona/build/jakarta-tomcat-4.0/work/*) | |
/home/wyona/build/jakarta-tomcat-4.0/bin/startup.sh | |
lynx http://localhost:8080/cocoon/ | |
#lynx http://localhost:8080/wyona-cms/ | |
7) Start Hacking Wyona | |
[unix] cd /home/wyona/src/wyona-cms-2.0-src | |
ls src/main | |
ls src/webapp | |
ant | |
tail -f build/webapp/WEB-INF/logs/cocoon.log.000001 | |
tail -f build/webapp/WEB-INF/logs/* | |
lynx http://localhost:8080/cocoon/ | |
#lynx http://localhost:8080/wyona-cms/ |