Author:gaojinbo
Time:2010-5-2
openmeeting开源视频会议系统安装配置
演示地址:
user:1001 pass: 1001
user:1002 pass: 1002
Quickstart-Installation-Guide OpenMeetings 1.1 (r3087) on CentOS 5.4
Based on information collected on
This is just a very quick way to install a working server in a few minutes. But before you use it productive environments, you should do some cosmetics (start script creation,…) and of course secure the system and the installation!
- Install your CentOS 5 and configure it to you needs (network,…). A minimal installation without GUI is fine (Remember: You’re installing a server. ).
- I suggest to add the RPMforge repository to your installation. CentOS 5 itself contains an old version of OpenOffice. Versions before 2.4 contains no Xvfb. So you have to set up Xvfb by your own. RPMforge brings a newer version with "headless" option. This saves you much work!
- Install the following required packages with yum:
- mysql-server
- openoffice.org-core
- openoffice.org-base
- openoffice.org-calc
- openoffice.org-draw
- openoffice.org-impress
- openoffice.org-math
- openoffice.org-writer
- openoffice.org-graphicfilter
- openoffice.org-headless
- pstoedit
- libpaper
- ImageMagick
- ghostscript
- swftools
- java-1.6.0-openjdk
- java-1.6.0-openjdk-devel
- ffmpeg
- wget
- unzip
- Add the following lines to the ?[mysqld]“ section of /etc/my.cnf:
default-character-set=utf8
character-set-server=utf8 -
- Start the MySQL server and set at least a root password:
# /etc/init.d/mysqld start
# /usr/bin/mysqladmin -u root password ‘new-password’ -
I highly recommend for security reasons to create a connect user expecially for openmeetings (with rights just on the "openmeetings" database)! But to keeping this quickstart guide simple, we use the root account later.
-
- Create an directory for the OpenMeetings installation, download package (incl. Red5) and unpack it:
# mkdir -p /usr/lib/openmeetings
# cd /usr/lib/openmeetings/
# wget http://openmeetings.googlecode.com/files/openmeetings_1_1_r3087.zip
# unzip openmeetings_1_1_r3087.zip -
- Copy the MySQL sample to the later used configuration file:
# cd /usr/lib/openmeetings/red5/webapps/openmeetings/conf
# cp mysql_hibernate.cfg.xml hibernate.cfg.xml -
- To set up the MySQL database connection, add the username/password to hibernate.cfg.xml:
<property name="connection.username">root</property>
<property name="connection.password">my_password</property>Remember: If you set up a connect user as recommended above, you have to add this account instead of root!
-
- Make the included Red5 startup script executable:
# chmod 755 /usr/lib/openmeetings/red5/red5.sh
-
- Start the services (OpenOffice.org in headless mode, Red5) in background
# /usr/bin/nohup /usr/lib/openoffice.org/program/soffice "-accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager" -nologo -headless -nofirststartwizard &
# cd /usr/lib/openmeetings/red5/ ; /usr/bin/nohup ./red5.sh & -
- Use your browser and open
http://{your-IP}:5080/openmeetings/Install
and follow the steps to complete the setup.
-
- Now you are able to log into the system with the admin account you created in the previous step.
http://{your-IP}:5080/openmeetings
Reminder: After rebooting the system, the services won’t come up! You have to start MySQL, OpenOffice.org and Red5 manually again. For MySQL you can use chkconfig to configure the service for automatic startup:
# chkconfig mysqld on
The commands for OpenOffice.org and Red5 you have to put into a own startup script.