使用开源软件XWiki搭建安装公司内部Wiki系统(2)

编辑/data/app_platform/xwiki_tomcat/webapps/xwiki/WEB-INF/hibernate.cfg.xml
将默认的给注释掉,然后将MySQL那一段去掉注释
 <!-- MySQL configuration.
        Uncomment if you want to use MySQL and comment out other database configurations.
    -->
    <property>jdbc:mysql://localhost/xwiki</property>
    <property>xwiki</property>
    <property>xwiki</property>
    <property>com.mysql.jdbc.Driver</property>
    <property>org.hibernate.dialect.MySQL5InnoDBDialect</property>
    <property>20</property>
    <mapping resource="xwiki.hbm.xml"/>
    <mapping resource="feeds.hbm.xml"/>
    <mapping resource="activitystream.hbm.xml"/>
    <mapping resource="instance.hbm.xml"/>

7)配置Office Server

yum install libreoffice  libreoffice-headless
编辑xwiki.properties
openoffice.autoStart=true
openoffice.homePath=/usr/lib64/libreoffice/

使用开源软件XWiki搭建公司内部Wiki系统

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/16808.html