wget http://services.gradle.org/distributions/gradle-1.4-src.zip
wget http://git-core.googlecode.com/files/git-1.8.1.3.tar.gz
wget http://www.swftools.org/swftools-0.9.2.tar.gz
wget http://mirrors.cnnic.cn/apache/activemq/apache-activemq/5.8.0/apache-activemq-5.8.0-bin.tar.gz
wget ftp://ftp.kddlabs.co.jp/graphics/ImageMagick/ImageMagick-6.8.3-7.tar.gz
wget http://archive.apache.org/dist/tomcat/tomcat-6/v6.0.35/bin/apache-tomcat-6.0.35.tar.gz
wget http://files.freeswitch.org/freeswitch-1.2.5.3.tar.bz2
wget http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p290.tar.gz
wget http://nginx.org/download/nginx-1.2.7.tar.gz
http://moinmo.in/ActionMarket/BigBlueButton python接口
1、安装tomcat
#install tomcat :wget http://archive.apache.org/dist/tomcat/tomcat-6/v6.0.35/bin/apache-tomcat-6.0.35.tar.gzmv apache-tomcat-6.0.35 /usr/share/tomcat6
/usr/local/tomcat/bin/startup.sh; //启动tomcat
显示
Using CATALINA_BASE: /usr/local/tomcat
Using CATALINA_HOME: /usr/local/tomcat
Using CATALINA_TEMDIR: /usr/local/tomcat/temp
Using JAVA_HOME: /usr/java/jdk1.6.0_01
到此tomcat已经安装完成,现在使用浏览器访问 http://localhost:8080 出现tomcat默认页面,说明已经安装成功。
2、# install swftools:官方网:http://www.swftools.org/download.html
wget http://www.swftools.org/swftools-0.9.2.tar.gz #安装需要zlib
yum -y install -y zlib zlib-devel freetype freetype-devel libjpeg libjpeg-devel
yum -y install gcc gcc-c++ compat-gcc-32 compat-gcc-32-c++
3、安装nginx
./configure --with-http_stub_status_module --with-http_ssl_module --with-poll_module
4、#install imagemagik ImageMagick-6.8.3-7 ftp://ftp.kddlabs.co.jp/graphics/ImageMagick/
./configure && make && make install
ldconfig /usr/local/lib
5、安装freeswitch
#install freeswitch wget http://files.freeswitch.org/freeswitch-1.2.5.3.tar.bz2 或者使用git (git clone git://git.freeswitch.org/freeswitch.git)下载
#installation refer to http://wiki.freeswitch.org/wiki/Installation_Guide
yum install libtermcap libtermcap-devel libcurses libcurses-devel
yum install autoconf automake gcc-c++ git-core libjpeg-devel libtool make ncurses-devel pkgconfig
#To install the optional packages needed to enable all FreeSWITCH modules to be built:
yum install unixODBC-devel openssl-devel libogg-devel libvorbis-devel curl-devel libtiff-devel libjpeg-devel python-devel expat-devel zlib zlib-devel bzip2 which
yum install aclocal libtool autoheader automake autoconf #不然make提示错误
./configure && make && make install
#Switch to the freeswitch/bin directory and try some stuff! When you're done read the Getting Started Guide to learn how to configure FreeSWITCH
cd /usr/local/freeswitch/bin
./freeswitch
安装autoconf由于版本太低,升级
./.libs/libfreeswitch.so: undefined reference to `libiconv'
./.libs/libfreeswitch.so: undefined reference to `libiconv_close'
./.libs/libfreeswitch.so: undefined reference to `libiconv_open'
解决:441行
将LIBS = -lm -lexpat -L/usr/local/lib
改成
LIBS = -lm -lexpat -liconv -L/usr/local/lib
6、#安装 install apache-activemq-5.8.0
wget http://mirrors.cnnic.cn/apache/activemq/apache-activemq/5.8.0/apache-activemq-5.8.0-bin.tar.gz
mv apache-activemq-5.8.0 /usr/share/activemq
mv activemq /etc/init.d/
wget http://bigbluebutton.googlecode.com/files/activemq
mv activemq /etc/init.d/
# now make that file executable, start the service and configure it to auto-start
chmod a+x /etc/init.d/activemq
service activemq start
chkconfig activemq on
/usr/share/activemq/bin/activemq
yum install -y ghostscript
7、安装red5 # now we will install Red5 from source
useradd red5
wget http://bigbluebutton.org/downloads/0.64/red5-0.9.1.tar.gz
tar xvf red5-0.9.1.tar.gz
mv red5-0.9.1 /usr/share/red5
chown -R red5.red5 /usr/share/red5
# now get the init.d file that we created for you
wget http://bigbluebutton.googlecode.com/files/red5
mv red5 /etc/init.d/
# now chmod the file, start and config auto-start:
chmod a+x /etc/init.d/red5
service red5 start
chkconfig red5 on
8、# install openoffice
yum -y groupinstall 'Office/Productivity'
yum -y install openoffice.org-headless
# download openoffice server initializing script
cd /etc/init.d
wget http://bigbluebutton.org/downloads/0.71a/init-scripts.tar.gz
# start the openoffice server
mv bbb-conf /etc/init.d/
mv bbb-openoffice-headless /etc/init.d/
chmod +x /etc/init.d/bbb-openoffice-headless
chkconfig --add bbb-openoffice-headless
chkconfig bbb-openoffice-headless on
service bbb-openoffice-headless start
9、安装ruby#install ruby
#!/bin/bash
cd /tmp
wget http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p290.tar.gz
tar xvzf ruby-1.9.2-p290.tar.gz
cd ruby-1.9.2-p290
./configure --prefix=/usr\
--program-suffix=1.9.2\
--with-ruby-version=1.9.2\
--disable-install-doc
make
sudo checkinstall -D -y\
--fstrans=no\
--nodoc\
--pkgname='ruby1.9.2'\
--pkgversion='1.9.2-p290'\
--provides='ruby'\
--requires='libc6,libffi5,libgdbm3,libncurses5,libreadline5,openssl,libyaml-0-2,zlib1g'\
--maintainer=brendan.ribera @gmail.com
sudo update-alternatives --install /usr/bin/ruby ruby /usr/bin/ruby1.9.2 500 \
--slave /usr/bin/ri ri /usr/bin/ri1.9.2 \
--slave /usr/bin/irb irb /usr/bin/irb1.9.2 \
--slave /usr/bin/erb erb /usr/bin/erb1.9.2 \
--slave /usr/bin/rdoc rdoc /usr/bin/rdoc1.9.2
sudo update-alternatives --install /usr/bin/gem gem /usr/bin/gem1.9.2 500
==============configuration================
To Install bbb-apps run the following command
cd /usr/share/red5/webapps
tar xzvf /tmp/bbb/red5-bigbluebutton.tar.gz
To Install bbb-red5-app run the following command
tar xzvf /tmp/bbb/red5-deskshare.tar.gz
tar xzvf /tmp/bbb/red5-video.tar.gz
tar xzvf /tmp/bbb/red5-sip.tar.gz
To Install the default web pages run the following command
cd /var/www
tar xzvf /tmp/bbb/www-bigbluebutton-default.tar.gz
tar xzvf /tmp/bbb/www-bigbluebutton.tar.gz
touch /usr/share/tomcat6/webapps/bigbluebutton/demo/bbb_api_conf.jsp
echo "<%!
// This is the security salt that must match the value set in the BigBlueButton server
String salt = \"8cb12ea1f9bd7c59c118d7ac76239899\";
// This is the URL for the BigBlueButton server
String BigBlueButtonURL = \"http://www.putclub.com:8099/bigbluebutton/\";
%>" > /usr/share/tomcat6/webapps/bigbluebutton/demo/bbb_api_conf.jsp
vi /usr/share/tomcat6/webapps/bigbluebutton/WEB-INF/classes/bigbluebutton.properties
vi /usr/share/tomcat6/webapps/bigbluebutton/demo/bbb_api_conf.jsp
1935, 9123
/sbin/iptables -A INPUT -p tcp --dport 1935 -j ACCEPT
/sbin/iptables -A INPUT -p tcp --dport 9132 -j ACCEPT
cp bigbluebutton.war /var/
# restart things:
service activemq restart
service asterisk restart
service red5 restart
service tomcat6 restart