Book Image

Building Websites with OpenCms

Book Image

Building Websites with OpenCms

Overview of this book

This book takes you through the process of creating content-rich websites and applications using OpenCms. Although powerful and flexible, OpenCms can be daunting on first approach, but its advanced features reward the investment in learning. This book exists to ease Java developers into getting the most from OpenCms. OpenCms OpenCms is a professional-level, open source Website Content Management System, with which you can create and manage complex websites. Based on Java and XML technology, it fits into almost any modern IT environment. With hard-won experience of the practical difficulties faced by developers working with OpenCms, this book is the embodiment of the author's expertise, and the perfect way to master the system.
Table of Contents (12 chapters)
Building Websites with OpenCms
Credits
About the Author
Introduction

Chapter 2. Installing OpenCms

This chapter walks through the process of installing and configuring OpenCms. In the last chapter, I mentioned that OpenCms can run on a wide range of platforms and configurations; this chapter focuses on the two most common platforms: Linux/MySQL/Tomcat and Windows 2000/MySQL/Tomcat. Generally speaking, installation on other platforms is similar enough for these instructions to suffice. In this chapter, we will cover:

  • Prerequisites for installing OpenCms

  • Obtaining OpenCms

  • Deploying the opencms.war file

  • Installing OpenCms with the Setup Wizard

  • Securing the installation

  • Configuring the client

  • Troubleshooting the installation

Prerequisites

OpenCms will need a configured database and a functioning servlet engine. We will use MySQL for the database and Tomcat for the servlet engine. Since OpenCms uses the ISO 8859-1 character set, I will explain how to configure Tomcat to use that character set as default. Additionally, I will cover the registry settings that Windows installations...