Step by Step: Lenya on Windows
"Jan Prill" <[email protected]> Fri, 28 Mar 2003 17:02:50 +0100
| Newsgroups | gmane.comp.cms.wyona.user,gmane.comp.cms.wyona.devel |
|---|---|
| Message-ID | <[email protected]> |
Thanks to the Documentation under http://www.wyona.org/download/downloading_and_installing.html i was able to install Lenya on my Windows Box. Since a lot of people are testing on Windows this might be interesting -->This is what i did: 1. Get the last Tomcat Release Binary under http://jakarta.apache.org/site/binindex.cgi (right now its Tomcat 4.1.24) 2. Install Tomcat like described in http://jakarta.apache.org/tomcat/tomcat-4.1-doc/RUNNING.txt . Basically this is setting the JAVA_HOME environment variable and double-clicking on tomcat-4.1.24.exe. Decide to run tomcat as a Windows NT/2000/XP-Service. 3. Check if tomcat is running: http://localhost:8080 4. Stop the Tomcat Service (if you don't know how, try Start > Help > Services ) 5. Get the latest binary of ant under: http://ant.apache.org/bindownload.cgi currently this is apache-ant-1.5.2-bin.zip . Extract the zip to C:\Programme\Apache Group\. After this step you got the binaries under C:\Programme\Apache Group\apache-ant-1.5.2 . 6. Set a few environment variables. Mine are: JAVA_HOME = C:\Programme\j2sdk1.4.1_01 ANT_HOME = C:\Programme\Apache Group\apache-ant-1.5.2 CATALINA_HOME = C:\Programme\Apache Group\Tomcat 4.1 CLASSPATH = .\;C:\Programme\Apache Group\apache-ant-1.5.2\lib PATH = <snip>;C:\Programme\j2sdk1.4.1_01\bin;C:\Programme\Apache Group\apache-ant-1.5.2\bin 5. Get cocoon-2.1-build-2003.03.11.23.15.tar.gz endorsed.tar.gz and the latest lenya-dev-src (right now its lenya-0.8-dev-src-20030328125056.tar.gz ) from http://www.wyona.org/lenya 6. Extract cocoon-2.1-build-2003.03.11.23.15.tar.gz to a directory of your choice (in my example i chose C:\Downloads\lenya) 7. Copy the directory C:\Downloads\lenya\cocoon-2.1-build-2003.03.11.23.15\cocoon-2.1-build-2003.03.11.23.15\build\cocoon (includes three directorys, sitemap.xmap, welcome.xml, welcome.xslt) to C:\Programme\Apache Group\Tomcat 4.1\webapps 8. Extract the latest lenya-dev-src to a directory of your choice (Mine was C:\Downloads\lenya\lenya-0.8-dev-src-20030328125056\lenya-0.8-dev-src-20030328125056). Copy the content of this directory to C:\Programme\Apache Group\lenya-0.8 9. Make a Copy of C:\Programme\Apache Group\lenya-0.8\build.properties.sample to C:\Programme\Apache Group\lenya-0.8\build.properties 10. Edit this build.properties. For the described configuration the following settings will work (don't use backslashes "\" for the paths!!!) src.cocoon.dir=../Tomcat 4.1/webapps/cocoon pubs.root.dirs=src/webapp/lenya/pubs install.dir=../Tomcat 4.1/webapps/lenya cache.dir=../Tomcat 4.1/work/Standalone/localhost/lenya 11. Open a console: >cd C:\Programme\Apache Group\lenya-0.8 >ant install 12. Extract the endorsed.tar.gz. Copy the content of this archive to C:\Programme\Apache Group\Tomcat 4.1\common\endorsed 13. Rename the C:\Programme\Apache Group\Tomcat 4.1\common\endorsed\xercesImpl.jar or remove it completly. 14. Restart the Tomcat Service 15. Test: http://localhost:8080/lenya Feel free to correct my bad english and publish this instruction on www.wyona.org Regards Jan Prill