このスレhttp://blog.iandreev.com/?p=1255(evernote保存済み)
Hardware Requirements
Minimalistic requirement (without Document Converters, Recorder and Upload feature) 1GHz CPU 1 GB RAM ( server-side )
Recommended requirement 2x/4x 2GHz ++ CPU (32 or 64Bit) 4GB RAM. If you have a 64Bit Operating System check if there is a OpenOffice 64Bit Version available for your OS ( server-side )
Headset/Microphone recommendation: Logitech ClearChat PC Wireless, for example from Amazon or EBay Auctions ( cient-side ). See all recommendations for cameras, headsets and speakerphones.
OSインストール
Centos 6.5
インストールタイプ:ミニマム
setenforceとiptablesを止め
# vi /etc/sysconfig/selinux
-------------------------------------------------------------------
SELINUX=enforcing
↓
SELINUX=disabled
-------------------------------------------------------------------
# getenforce
# setenforce 0
$ service iptables stop
$ chkconfig iptables off
eth0をセットアップ
(例)
# vi /etc/sysconfig/network-scripts/ifcfg-eth0
-------------------------------------------------------------------
DEVICE=eth0
TYPE=Ethernet
ONBOOT=yes
NM_CONTROLLED=yes
BOOTPROTO=static
IPADDR=192.168.25.108
NETMASK=255.255.255.0
GATEWAY=192.168.25.254
-------------------------------------------------------------------
# vi /etc/resolv.conf
-------------------------------------------------------------------
search localdomain
nameserver xx.xx.xx.xx
----------------------3---------------------------------------------
# ifdown eth0
# ifup eth0
ping google.com通ればOK
# yum -y install wget telnet gcc-c++ zlib-devel libjpeg-devel freetype-devel giflib-devel ghostscript ImageMagick unzip sox libreoffice mysql mysql-server
時間かかる
# chkconfig mysqld on
# service mysqld start
# mysql_secure_installation
ここはrootのパスワードを設定したり、TestDBを削除したり、いろいろセキュリティ強化をする。指示をよく読んで従えばいいです。
# mysql -uroot -p
> CREATE DATABASE openmeetings DEFAULT CHARACTER SET 'utf8';
> GRANT ALL PRIVILEGES ON openmeetings.* TO 'openmeetings'@'localhost' IDENTIFIED BY 'mypasswd' WITH GRANT OPTION;
> quit
# cd /tmp
# wget http://www.swftools.org/swftools-0.9.2.tar.gz
# tar xvf swftools-0.9.2.tar.gz
# cd swftools-0.9.2
# ./configure --libdir=/usr/lib --bindir=/usr/bin
# make
# vi swfs/Makefile
「rm」が入っている2行の“-o -L”を削除して保存
# make install
# cd ..
# wget http://jodconverter.googlecode.com/files/jodconverter-core-3.0-beta-4-dist.zip
# unzip jodconverter-core-3.0-beta-4-dist.zip
# wget http://downloads.sourceforge.net/project/lame/lame/3.99/lame-3.99.5.tar.gz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Flame%2Ffiles%2Flame%2F3.99%2F&ts=1392491323&use_mirror=hivelocity
# mv lame-3.9* lame-3.99.5.tar.gz
# tar xvf lame-3.99.5.tar.gz
# cd lame-3.99.5
# ./configure --libdir=/usr/lib --bindir=/usr/bin
# make
# make install
# cd ..
# wget http://ffmpeg.org/releases/ffmpeg-1.1.1.tar.gz
# tar xvf ffmpeg-1.1.1.tar.gz
# cd ffmpeg-1.1.1
# ./configure --libdir=/usr/lib --bindir=/usr/bin --enable-libmp3lame --disable-yasm
# make
時間かかる
# make install
# cd ..
jdk-7u51-linux-x64.rpmをダウンロード
# rpm -ivh jdk-7u51-linux-x64.rpm
# vi /etc/profile.d/java.sh(新規)
-------------------------------------------------------------------
export JAVA_HOME=/usr/java/default
export PATH=$PATH:$JAVA_HOME/bin
export CLASSPATH=.:$JAVA_HOME/jre/lib:$JAVA_HOME/lib:$JAVA_HOME/lib/tools.jar
export JRE_HOME=.:$JAVA_HOME/jre
-------------------------------------------------------------------
# ls -la /etc/alternatives/java*
# alternatives --install /usr/bin/java java /usr/java/default/bin/java 1
# alternatives --config java(2を選択)
# java -version
# mkdir /openmeetings
# cd /openmeetings
# wget http://archive.apache.org/dist/openmeetings/2.2.0/bin/apache-openmeetings-2.2.0.tar.gz
# tar xvf mysql-connector-java-5.0.8.tar.gz
# cp mysql-connector-java-5.0.8/mysql-connector-java-5.0.8-bin.jar /openmeetings/webapps/openmeetings/WEB-INF/lib
# cd /openmeetings/webapps/openmeetings/WEB-INF/classes/META-INF
# cp mysql_persistence.xml persistence.xml
# vi persistence.xml
mysql のusernameとpasswordを編集して保存 openmeetings / mypasswd
# cd /openmeetings/webapps/openmeetings
# cp -R /tmp/jodconverter-core-3.0-beta-4 .
# cd /openmeetings
# sh red5.sh
完了あとは待ちだけ
http://192.168.25.108:5080/openmeetings/install
最初のid/passは管理者だから、openmeetings / mypasswd
emailを管理者のメールで入力して、組織(domain)を入れて、適当でいいとおもう
それ以降は全部デフォルトにして、installボタンを押す。あとは画面が変わるまで待ち
以下任意
起動時自動実行するなら
vi /etc/init.d/red5
-----------------------------------------------------------------------------------------------
#
#!/bin/sh -e
#
# chkconfig: 2345 20 80
# description: Startup script for Red5/openmeetings
export RED5_HOME=/openmeetings/
start_red5="$RED5_HOME/red5.sh"
stop_red5="$RED5_HOME/red5-shutdown.sh"
start() {
echo -n "Starting Red5: "
${start_red5} &
echo "done."
}
stop() {
echo -n "Shutting down Red5: "
${stop_red5}
echo "done."
}
case "$1" in
start)
start
;;
stop)
stop
;;
restart)
stop
sleep 10
start
;;
*)
echo "Usage: $0 {start|stop|restart}"
esac
exit 0
-----------------------------------------------------------------------------------------------
# chmod +x /etc/init.d/red5
# service red5 stop
# chkconfig red5 on
# service red5 start
2014年4月12日土曜日
Centos6.5にOpenmeetings2.2.0をインストール
ラベル:
centos,
openmeetings
登録:
コメントの投稿 (Atom)
0 件のコメント:
コメントを投稿