Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

First an overview. Users are encouraged to use Roller auto-install because auto-install will give them informative error messages when the database setup fails, it will create the Roller tables automatically and it will even upgrade them if they need upgrade. To install Roller with auto-install these are the steps:

STEP 0) - Prerequisites: Java 5, Roller supported database, Servlet 2.4 container and JDBC driver jar in Servlet container's classpath.

STEP 1) - Create a database and a database user account with full privileges in that database.

STEP 2) - Create a roller-custom.properties file in Servlet container's classpath with the auto install option and your database connection parameters. For example:

monospaced{{
installation.type=auto
database.configurationType=jdbc
database.jdbc.driverClass=com.mysql.jdbc.Driver
database.jdbc.connectionURL=jdbc:mysql://localhost:3306/rollertest
database.jdbc.username=scott
database.jdbc.password=tiger
}} monospaced

STEP 3) - Deploy roller.war to your Servlet container and browse to context URI. If there is a database connection error, you'll see details in the browser. If tables need creation or upgrade, Roller will do it automatically for you on your commant.

Users with special needs (i.e. very large sites, upgrading from pre 1.2 Roller, customized data models) can choose not use auto-install – they should do upgrades the old way, running scripts by hand.

...