yum -y install postgresql-server
sed -i -e "s/#listen_addresses = 'localhost'/listen_addresses = '*'/g" /var/lib/pgsql/data/postgresql.conf
sed -i -e "s/local all all ident sameuser/local all all trust/g" /var/lib/pgsql/data/pg_hba.conf
sed -i -e "s/host all all 127.0.0.1\/32 ident sameuser/host all all 127.0.0.1\/32 md5/g" /var/lib/pgsql/data/pg_hba.conf
sed -i -e "69a\host all all 192.168.1.0\/24 md5" /var/lib/pgsql/data/pg_hba.conf
chkconfig --level 235 postgresql on
/etc/init.d/postgresql start
#!/bin/bash
# Name: openmeetings.sh
# Author: Andowson Chang (andowson [at] gmail [dot] com)
# Version: 1.0
# Last Modified: 2009-05-10
#
# install openoffice-service running on port 8100 in headless mode
#
yum -y install openoffice.org-base openoffice.org-headless openoffice.org-writer openoffice.org-impress openoffice.org-calc
#
# generate openoffice startup script
#
echo '#!/bin/bash
# openoffice.org headless server script
#
# chkconfig: 2345 80 30
# description: headless openoffice server script
# processname: openoffice
#
# Author: Vic Vijayakumar
# Modified by Federico Ch. Tomasczik
#
OOo_HOME=/usr/lib/openoffice.org/program
SOFFICE_PATH=$OOo_HOME/soffice.bin
PIDFILE=/var/run/openoffice-server.pid
set -e
case "$1" in
start)
if [ -f $PIDFILE ]; then
echo "OpenOffice headless server has already started."
sleep 5
exit
fi
echo "Starting OpenOffice headless server"
$SOFFICE_PATH -headless -nologo -nofirststartwizard -accept="socket,host=127.0.0.1,port=8100;urp" & > /dev/null 2>&1
touch $PIDFILE
;;
stop)
if [ -f $PIDFILE ]; then
echo "Stopping OpenOffice headless server."
killall -9 soffice.bin
rm -f $PIDFILE
exit
fi
echo "Openoffice headless server is not running."
exit
;;
*)
echo "Usage: $0 {start|stop}"
exit 1
esac
exit 0' > /etc/init.d/openoffice
chmod 755 /etc/init.d/openoffice
chkconfig --level 235 openoffice on
/etc/init.d/openoffice start
#
# install ImageMagick(=>GhostScript will be installed as dependency)
#
yum -y install ImageMagick
#
# install SWFTools
#
yum -y install giflib-devel libjpeg-devel freetype-devel
if [ ! -r swftools-0.9.0.tar.gz ]; then
wget http://www.swftools.org/swftools-0.9.0.tar.gz
fi
tar zxvf swftools-0.9.0.tar.gz
cd swftools-*
./configure
make
make install
cd ..
#
# install FFmpeg
#
if [ ! -r ffmpeg-0.5.tar.bz2 ]; then
wget http://www.ffmpeg.org/releases/ffmpeg-0.5.tar.bz2
fi
tar jxvf ffmpeg-0.5.tar.bz2
cd ffmpeg-*
./configure
make
make install
cd ..
#
# install Flash player 10
#
if [ ! -r flash-plugin-10.0.22.87-release.i386.rpm ]; then
wget http://fpdownload.macromedia.com/get/flashplayer/current/flash-plugin-10.0.22.87-release.i386.rpm
fi
rpm -Uvh flash-plugin-10.0.22.87-release.i386.rpm
#
# install OpenMeetings with Red5
#
if [ ! -r openmeetings_0_8_rc2.zip ]; then
wget http://openmeetings.googlecode.com/files/openmeetings_0_8_rc2.zip
fi
unzip openmeetings_0_8_rc2.zip
mv red5-0.8.RC3-build-hudson-red5_jdk6_stable-79_2 /var/red5
# modify hibernate.cfg.xml
cd /var/red5/webapps/openmeetings/conf
sed -i -e '12c\ <property name="connection.username">openmeetings</property>' hibernate.cfg.xml
sed -i -e '13c\ <property name="connection.password">openmeetings</property>' hibernate.cfg.xml
sed -i -e '16c\ <property name="connection.driver_class">org.postgresql.Driver</property>' hibernate.cfg.xml
sed -i -e '18c\ <property name="dialect">org.hibernate.dialect.PostgreSQLDialect</property>' hibernate.cfg.xml
sed -i -e '19c\ <property name="connection.url">jdbc:postgresql://localhost/openmeetings</property>' hibernate.cfg.xml
sed -i -e '33c\ <property name="hibernate.query.factory_class">org.hibernate.hql.classic.ClassicQueryTranslatorFactory</property>' hibernate.cfg.xml
sed -i -e '17d' hibernate.cfg.xml
chmod 755 /var/red5/red5-shutdown.sh
#
# create user and database openmeetings
#
sudo -u postgres psql -c "create user openmeetings createdb;" template1
sudo -u postgres psql -c "create database openmeetings with encoding 'unicode';" -U openmeetings template1
sudo -u postgres psql -c "alter user openmeetings nocreatedb;" template1
sudo -u postgres psql -c "alter user openmeetings with encrypted password 'openmeetings';" template1
#
# start up red5
#
cd /var/red5
nohup ./red5.sh &
[root@www red5]# netstat -ant|grep LISTEN|grep -v 192 |grep -v 127
tcp 0 0 0.0.0.0:49952 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:1935 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:9999 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:8088 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:5080 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:5432 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:8443 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN
檔案名稱 | openmeetings.sh |
描述 | OpenMeetings Auto Install Script |
檔案大小 | 4 Kbytes |
下載次數 | 62 次 |
下載 |
檔案名稱 | postgresql.sh |
描述 | PostgreSQL Setup Scrpit |
檔案大小 | 651 bytes |
下載次數 | 61 次 |
下載 |
這樣的錯誤。com.sun.star.lang.IllegalArgumentException: URL seems to be an unsupported one
#!/bin/bash
# Name: openmeetings.sh
# Author: Andowson Chang (andowson [at] gmail [dot] com)
# Version: 1.1
# Last Modified: 2010-01-09
#
# install openoffice-service running on port 8100 in headless mode
#
yum -y install openoffice.org-base openoffice.org-headless openoffice.org-writer openoffice.org-impress openoffice.org-calc
#
# generate openoffice startup script
#
echo '#!/bin/bash
# openoffice.org headless server script
#
# chkconfig: 2345 80 30
# description: headless openoffice server script
# processname: openoffice
#
# Author: Vic Vijayakumar
# Modified by Federico Ch. Tomasczik
#
OOo_HOME=/usr/lib/openoffice.org/program
SOFFICE_PATH=$OOo_HOME/soffice.bin
PIDFILE=/var/run/openoffice-server.pid
set -e
case "$1" in
start)
if [ -f $PIDFILE ]; then
echo "OpenOffice headless server has already started."
sleep 5
exit
fi
echo "Starting OpenOffice headless server"
$SOFFICE_PATH -headless -nologo -nofirststartwizard -accept="socket,host=127.0.0.1,port=8100;urp" & > /dev/null 2>&1
touch $PIDFILE
;;
stop)
if [ -f $PIDFILE ]; then
echo "Stopping OpenOffice headless server."
killall -9 soffice.bin
rm -f $PIDFILE
exit
fi
echo "Openoffice headless server is not running."
exit
;;
*)
echo "Usage: $0 {start|stop}"
exit 1
esac
exit 0' > /etc/init.d/openoffice
chmod 755 /etc/init.d/openoffice
chkconfig --level 235 openoffice on
/etc/init.d/openoffice start
#
# install ImageMagick(=>GhostScript will be installed as dependency)
#
yum -y install ImageMagick
#
# install SWFTools
#
yum -y install giflib-devel libjpeg-devel freetype-devel
if [ ! -r swftools-0.9.0.tar.gz ]; then
wget http://www.swftools.org/swftools-0.9.0.tar.gz
fi
tar zxvf swftools-0.9.0.tar.gz
cd swftools-*
./configure
make
make install
cd ..
#
# install FFmpeg
#
if [ ! -r ffmpeg-0.5.tar.bz2 ]; then
wget http://www.ffmpeg.org/releases/ffmpeg-0.5.tar.bz2
fi
tar jxvf ffmpeg-0.5.tar.bz2
cd ffmpeg-*
./configure
make
make install
cd ..
#
# install Flash player 10
#
if [ ! -r flash-plugin-10.0.42.34-release.i386.rpm ]; then
wget http://fpdownload.macromedia.com/get/flashplayer/current/flash-plugin-10.0.42.34-release.i386.rpm
fi
rpm -Uvh flash-plugin-10.0.42.34-release.i386.rpm
#
# install OpenMeetings with Red5
#
if [ ! -r openmeetings_1_0_r2688.zip ]; then
wget http://openmeetings.googlecode.com/files/openmeetings_1_0_r2688.zip
fi
unzip openmeetings_1_0_r2688.zip
mv openmeetings_1_0_r2688 /var/red5
# modify hibernate.cfg.xml
cd /var/red5/webapps/openmeetings/conf
cp -fp postgres_hibernate.cfg.xml hibernate.cfg.xml
sed -i -e '7c\ <session-factory>' hibernate.cfg.xml
sed -i -e '9c\ <property name="connection.username">openmeetings</property>' hibernate.cfg.xml
sed -i -e '10c\ <property name="connection.password">openmeetings</property>' hibernate.cfg.xml
#
# create user and database openmeetings
#
sudo -u postgres psql -c "create user openmeetings with encrypted password 'openmeetings' createdb;" template1
sudo -u postgres psql -c "create database openmeetings with encoding 'unicode';" -U openmeetings template1
sudo -u postgres psql -c "alter user openmeetings nocreatedb;" template1
#
# start up red5
#
chmod 755 /var/red5/red5*.sh
cd /var/red5
nohup ./red5.sh &
-rw-r--r-- 1 root root 0 1月 10 00:26 0.0.0.0_access.2010-01-10.log
-rw-r--r-- 1 root root 0 1月 10 00:26 error.log
-rw-r--r-- 1 root root 1378 1月 10 00:26 openmeetings.log
-rw-r--r-- 1 root root 9234 1月 10 00:26 red5.log
檔案名稱 | install_step2.jpg |
描述 | 安裝步驟二畫面 |
檔案大小 | 89 Kbytes |
下載次數 | 59 次 |
下載 |
檔案名稱 | openmeetings.sh |
描述 | Auto install script for OpenMeetings 1.0 RC1 |
檔案大小 | 3 Kbytes |
下載次數 | 55 次 |
下載 |
檔案名稱 | install_step1_part4.jpg |
描述 | 安裝步驟一畫面part4 |
檔案大小 | 128 Kbytes |
下載次數 | 68 次 |
下載 |
檔案名稱 | install_step1_part3.jpg |
描述 | 安裝步驟一畫面part3 |
檔案大小 | 110 Kbytes |
下載次數 | 60 次 |
下載 |
檔案名稱 | install_step1_part1.jpg |
描述 | 安裝步驟一畫面part1 |
檔案大小 | 101 Kbytes |
下載次數 | 68 次 |
下載 |
檔案名稱 | install_step1_part2.jpg |
描述 | 安裝步驟一畫面part2 |
檔案大小 | 97 Kbytes |
下載次數 | 69 次 |
下載 |
檔案名稱 | install_step1_part5.jpg |
描述 | 安裝步驟一畫面part5 |
檔案大小 | 137 Kbytes |
下載次數 | 62 次 |
下載 |
檔案名稱 | error.JPG |
描述 | rtmpt 錯誤 |
檔案大小 | 15 Kbytes |
下載次數 | 29 次 |
下載 |
#!/bin/bash
# Name: openmeetings-upgrade.sh
# Author: Andowson Chang (andowson [at] gmail [dot] com)
# Version: 1.0
# Since: 2010-02-07
# Last Modified: 2010-02-07
#
# install OpenMeetings with Red5
#
REVISION=2886
DIR=104
TARGET=openmeetings_r${REVISION}
FILENAME=${TARGET}.zip
TODAY=`date +%Y%m%d`
cd /root/setup/openmeetings
if [ ! -r ${FILENAME} ]; then
wget http://i4demo.com/openmeetings/builds/${DIR}/${FILENAME}
fi
unzip ${FILENAME} -d ${TARGET}
# modify hibernate.cfg.xml
cd ${TARGET}/webapps/openmeetings/conf
cp -fp postgres_hibernate.cfg.xml hibernate.cfg.xml
sed -i -e '7c\ <session-factory>' hibernate.cfg.xml
sed -i -e '9c\ <property name="connection.username">openmeetings</property>' hibernate.cfg.xml
sed -i -e '10c\ <property name="connection.password">openmeetings</property>' hibernate.cfg.xml
cd /var/red5
./red5-shutdown.sh
cd ..
mv /var/red5 /var/red5_${TODAY}
mv /root/setup/openmeetings/${TARGET} /var/red5
#
# start up red5
#
chmod 755 /var/red5/red5*.sh
cd /var/red5
nohup ./red5.sh &
andowson wrote:thanks888您好,
可否上傳一下您所翻譯的那個繁體中文檔案給我試試看,謝謝!
另外您所安裝的是那個版本的OpenMeetings?
檔案名稱 | Traditional Chinese.xml |
描述 | 沒有檔案註解存在 |
檔案大小 | 92 Kbytes |
下載次數 | 22 次 |
下載 |