快捷搜索:   nginx

ubuntu 8.04 安装 openmeetings 0.8 RC2

1、下载openmeetings 0.8 RC2

    http://openmeetings.googlecode.com/files/openmeetings_0_8_rc2.zip

2、jdk1.6。

$ sudo apt-get install sun-java6-jdk

3、安装mysql5.0。

$ sudo apt-get install mysql-server-5.0

4、在mysql中创建openmeetings需要的数据库。

$ mysql -u root -p

mysql>create database openmeetings default charset utf8;

5、安装openoffice。

$ sudo apt-get install openoffice.org-headless

6、新建openoffice的convert服务。

$ sudo vi ooo.sh

unset DISPLAY
/usr/lib/openoffice/program/soffice "-accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager" -nologo -headless -nofirststartwizard

$ sudo chmod +x ooo.sh

$ sudo ./ooo.sh

$ netstat -an |grep 8100

应该可以看到8100端口正在监听了。

7、安装必要的转换器。

sudo apt-get install imagemagick ghostscript swftools ffmpeg

8、解压缩openmeetings。

$ unzip openmeetings_0_8_rc2.zip

9、配置openmeetings。

下载mysql数据库的jdbc驱动。http://www.mysql.com/products/connector/j/

解压缩mysql-connector-java-5.0.8-bin.jar到openmeetings/WEB-INF/lib。

修改openmeetings/webapps/openmeetings/conf/hibernate.cfg.xml

将里面的数据库配置信息改为刚才建立的数据库。

        <!-- User / Password -->
        <property name="connection.username">root</property>
        <property name="connection.password">locate</property>
        <!-- Database Settings -->
        <property name="connection.driver_class">com.mysql.jdbc.Driver</property>
        <!-- for performance reasons changed to MyISAM from org.hibernate.dialect.MySQLInnoDBDialect -->
        <property name="dialect">org.hibernate.dialect.MySQLMyISAMDialect</property>
        <property
name="connection.url">jdbc:mysql://localhost:3306/openmeetings?autoReconnect=true&amp;useUnicode=true&amp;createDatabaseIfNotExist=true&amp;characterEncoding=utf-8</property>   
       
        <property name="hibernate.connection.CharSet">utf8</property>
        <property name="hibernate.connection.characterEncoding">utf8</property>
        <property name="hibernate.connection.useUnicode">true</property>


10、运行openmeetings。

$ sudo ./red5.sh

打开浏览器,指向下面网址进行最后的安装。http://localhost:5080/openmeetings/install

顶(0)
踩(0)

您可能还会对下面的文章感兴趣:

最新评论