Apache OpenMeetings install
CentOS6.xにApache OpenMeetingsをインストールしてみます。
基本はここに書かれている手順で行います
https://openmeetings.apache.org/installation.html
■前準備
■MySQL設定ファイル(my.cnf)を修正
■ffmpegのインストール
■Install Howto naulinux-school.repo
Create the repository config file /etc/yum.repos.d/naulinux-school.repo:
■Install Howto nux-dextop.repo
■ ffmpeg install
SoXのインストール
■Install SoX http://sox.sourceforge.net/
swftoolsのインストール
■Install swftools
mysqlのjdbcドライバ
https://dev.mysql.com/downloads/connector/j/5.1.html
からDL
openmeetingsのインストール
http://localhost:5080/openmeetings/install
にアクセスしてインストールウィザードを時刻する。
SWFTools Pathは
$ which pdf2swf
ImageMagick Pathは
$ which convert
FFMPEG Pathは
$ which ffmpeg
SoX Path は
$ which sox
/usr/bin/
を指定すればokなはず
OpenOffice/LibreOffice Path for jodconverter は
/usr/lib64/libreoffice
基本はここに書かれている手順で行います
https://openmeetings.apache.org/installation.html
■前準備
$ yum install -y java-1.8.0-openjdk ntp sox epel-release git gcc
$ yum install -y http://dev.mysql.com/get/mysql-community-release-el6-5.noarch.rpm
$ yum install -y mysql mysql-devel mysql-server mysql-utilities
$ yum install -y ImageMagick GhostScript lame
$ yum install -y openoffice.org-core openoffice.org-langpack-ja_JP
$ yum groupinstall -y "Development Tools"
$ yum install -y zlib-devel git subversion opencv-devel openssl-devel gnutls-devel
$ yum install -y glibc-static openssl-static zlib-static
■MySQL設定ファイル(my.cnf)を修正
$ vi /etc/my.cnf
# For advice on how to change settings please see
# http://dev.mysql.com/doc/refman/5.6/en/server-configuration-defaults.html
[mysqld]
#
# Remove leading # and set to the amount of RAM for the most important data
# cache in MySQL. Start at 70% of total RAM for dedicated server, else 10%.
# innodb_buffer_pool_size = 128M
#
# Remove leading # to turn on a very important data integrity option: logging
# changes to the binary log between backups.
# log_bin
#
# Remove leading # to set options mainly useful for reporting servers.
# The server defaults are faster for transactions and fast SELECTs.
# Adjust sizes as needed, experiment to find the optimal values.
# join_buffer_size = 128M
# sort_buffer_size = 2M
# read_rnd_buffer_size = 2M
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
# Disabling symbolic-links is recommended to prevent assorted security risks
symbolic-links=0
character-set-server=utf8
# Recommended in standard MySQL setup
sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES
[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
[mysql]
default-character-set=utf8
$ chkconfig mysqld on
$ service mysqld start
$ sudo mysql_secure_installation
$ mysql -u root -p
Enter password:
mysql> create database openmeetings;
Query OK, 1 row affected (0.00 sec)
mysql> grant all privileges on openmeetings.* to openmeetings@localhost identified by "ntcom3016";
Query OK, 0 rows affected (0.00 sec)
mysql> flush privileges;
Query OK, 0 rows affected (0.00 sec)
mysql> exit
Bye
■ffmpegのインストール
■Install Howto naulinux-school.repo
Create the repository config file /etc/yum.repos.d/naulinux-school.repo:
[naulinux-school]
name=NauLinux School
baseurl=http://downloads.naulinux.ru/pub/NauLinux/6.2/$basearch/sites/School/RPMS/
enabled=0
gpgcheck=1
gpgkey=http://downloads.naulinux.ru/pub/NauLinux/RPM-GPG-KEY-linux-ink
■Install Howto nux-dextop.repo
$ rpm -Uvh http://li.nux.ro/download/nux/dextop/el6/x86_64/nux-dextop-release-0-2.el6.nux.noarch.rpm
■ ffmpeg install
$ yum -y --enablerepo=epel,nux-dextop install ffmpeg
$ ffmpeg -version
SoXのインストール
■Install SoX http://sox.sourceforge.net/
$ wget https://sourceforge.net/projects/sox/files/sox/14.4.2/sox-14.4.2.tar.gz/download
$ mv download sox-14.4.2.tar.gz
$ tar zxvf sox-14.4.2.tar.gz
$ cd sox-14.4.2
$ ./configure
$ make -s && make install
swftoolsのインストール
■Install swftools
$ yum install giflib-devel libjpeg-devel freetype freetype-devel fftw SDL-devel
$ rpm -ivh ftp://ftp.pbone.net/mirror/li.nux.ro/download/nux/dextop/el6Workstation/x86_64/zziplib-0.13.62-5.el6.nux.x86_64.rpm
$ rpm -ivh ftp://ftp.pbone.net/mirror/li.nux.ro/download/nux/dextop/el6Client/x86_64/zziplib-devel-0.13.62-5.el6.nux.x86_64.rpm
$ rpm -ivh ftp://ftp.is.co.za/mirror/ftp.rpmforge.net/redhat/el6/en/x86_64/dag/RPMS/swftools-0.9.1-1.el6.rf.x86_64.rpm
mysqlのjdbcドライバ
https://dev.mysql.com/downloads/connector/j/5.1.html
からDL
openmeetingsのインストール
$ wget http://ftp.jaist.ac.jp/pub/apache/openmeetings/3.2.1/bin/apache-openmeetings-3.2.1.tar.gz
$ tar zxvf apache-openmeetings-3.2.1.tar.gz
$ mkdir /openmeetings
$ tar zxvf apache-openmeetings-3.2.1.tar.gz -C /openmeetings/
$ cd /openmeetings/webapps/openmeetings/WEB-INF/classes/META-INF
$ cp persistence.xml persistence.xml.org
Username=null,Password=を修正
$ vi persistence.xml
ダウンロードしておいたmysql-connectorを置く
$ tar zxvf /home/tshk_yasuda/mysql-connector-java-5.1.41.tar.gz -C /tmp/
$ cd /openmeetings/webapps/openmeetings/WEB-INF/lib
$ mv /tmp/mysql-connector-java-5.1.41/mysql-connector-java-5.1.41-bin.jar .
テスト実行
$ cd /openmeetings
$ ./red5.sh &
http://localhost:5080/openmeetings/install
にアクセスしてインストールウィザードを時刻する。
SWFTools Pathは
$ which pdf2swf
ImageMagick Pathは
$ which convert
FFMPEG Pathは
$ which ffmpeg
SoX Path は
$ which sox
/usr/bin/
を指定すればokなはず
OpenOffice/LibreOffice Path for jodconverter は
/usr/lib64/libreoffice
コメント