- Before installing FireScrum, make sure the following products,
- with the specified versions, are installed on your system:
-
- * Java 6 Development Kit (JDK) -> http:
- * Tomcat 6.x -> http:
- * Red5 Server 0.7.0 -> http:
- * PostgreSQL 8.x -> http:
-
- After installing the JDK, set or modify the following environment variables:
-
- * JAVA_HOME -- set this environment variable
- to point at the root directory of the JDK installation.
-
- * PATH -- make sure that your PATH includes:
- %JAVA_HOME%\bin (Windows)
- $JAVA_HOME/bin (UNIX)
-
- 3. New Installation
-
- 3.1 Create target database (Ex. firescrum) in PostgreSQL.
- 3.2 Copy firescrum.war to Tomcat webapps folder.
- 3.3 Start Tomcat.
- 3.4 Edit webapps\firescrum\WEB-INF\applicationContext.xml file:
-
- - Configure database connection in following section
-
- <bean id="dataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource">
- <property name="driverClassName" value="org.postgresql.Driver" />
- <property name="url" value="jdbc:postgresql://<your host name>/firescrum" />
- <property name="username" value="<your database username>" />
- <property name="password" value="<your database password>" />
- </bean>
-
- - Configure hibernate to generate FireScrum database, setting "hibernate.hbm2ddl.auto" property to "create"
-
- <prop key="hibernate.hbm2ddl.auto">create</prop>
-
- 3.5 Restart Tomcat, tables and data will be created in the database.
- 3.6 Edit webapps\firescrum\WEB-INF\applicationContext.xml and remove following line or change value to "update" and save.
-
- <prop key="hibernate.hbm2ddl.auto">create</prop>
-
- 3.7 Copy firescrumServer folder to Red5 webapps folder.
- 3.8 Start Red5.
- 3.9 Update RTMP_CONNECTION_STRING row at config table in database, setting your hostname or ip in the value field.
- Ex: rtmp:
- 3.10 Type http:
转载于:https://blog.51cto.com/agile/304180