Daisy Documentation
Total Page:16
File Type:pdf, Size:1020Kb
Daisy documentation September 24, 2007 Table of Contents 1 Documentation Home. .23 2 Installation. .24 2.1 Downloading Daisy . .24 2.2 Installation Overview. .24 2.2.1 Platform Requirements . .25 2.2.2 Memory Requirements . .25 2.2.3 Required knowledge. .25 2.2.4 Can I use Oracle, PostgreSQL, MS-SQL, ... instead of MySQL?Websphere, Weblogic, Tomcat, ... instead of Jetty?. .26 2.3 Installing a Java Virtual Machine . .26 2.3.1 Installing JAI (Java Advanced Imaging) -- optional . .26 2.4 Installing MySQL . .26 2.4.1 Creating MySQL databases and users. .27 2.5 Extract the Daisy download . .27 2.6 Daisy Repository Server. .28 2.6.1 Initialising and configuring the Daisy Repository . .28 2.6.2 Starting the Daisy Repository Server . .28 2.7 Daisy Wiki. .28 2.7.1 Initializing the Daisy Wiki. .28 2.7.2 Creating a "wikidata" directory . .29 2.7.3 Creating a Daisy Wiki Site . .29 2.7.4 Starting the Daisy Wiki. .29 2.8 Finished! . .30 Daisy documentation 1 2.9 2.0(.x) to 2.1 changes . .30 2.10 2.0(.x) to 2.1 compatibility . .34 2.10.1 Skin compatibility . .34 2.10.1.1 XSL-FO (stylesheets for PDF). .34 2.10.2 Repository extensions, authentication schemes, etc . .35 2.10.2.1 New Runtime . .35 2.10.2.2 Package move. .35 2.10.2.3 AbstractAuthenticationFactory . .35 2.10.3 Publisher wraps exception. .35 2.10.4 Book publisher. .35 2.10.4.1 If you're using custom book publication types . .35 2.10.5 Changes to non-public things. .36 2.10.5.1 Constants.DAISY_LINK_PATTERN. .36 2.10.5.2 Change to htmlcleaner.xml . .36 2.10.6 Automated installation . .36 2.11 2.0(.x) to 2.1. upgrade. .36 2.11.1 Upgrading . .36 2.11.1.1 Daisy installation review . .36 2.11.1.2 Stop your existing Daisy . .37 2.11.1.3 Download and extract Daisy 2.1 . .37 2.11.1.4 Update environment variables . .37 2.11.1.5 Creating log configuration. .38 2.11.1.6 Updating the repository SQL database. .38 2.11.1.7 Adjusting the daisy.xconf file. .38 2.11.1.8 ActiveMQ configuration. .39 2.11.1.9 Jetty configuration (only when using a custom jetty-daisywiki.xml) . 39 2.11.1.10 Wrapper scripts . .39 2.11.1.11 Start the servers. .39 2.11.1.12 Update the default repository schema. .39 2.12 2.1-RC to 2.1 upgrade. .40 2.12.1 Changes since 2.1-RC. .40 2.12.2 Upgrade instructions . .40 2.12.2.1 Daisy installation review . .40 2.12.2.2 Stop your existing Daisy . .41 Daisy documentation 2 2.12.2.3 Download and extract Daisy 2.1 . .41 2.12.2.4 Update environment variables . .41 2.12.2.5 Start Daisy . .41 3 Source Code . .43 3.1 Daisy Build System . .43 3.1.1 Maven intro . .43 3.1.2 Extra dependencies. .44 3.1.3 Building Daisy . .44 4 Repository server . .46 4.1 Documents. .46 4.1.1 Introduction . ..