Install OpenMeetings On CentOS 5.5 (Part One)

      ขั้นตอนการติดตั้ง OpenMeeting บน CentOS 5.5 ผมจะแบ่งเป็นสองตอน ตอนแรกเป็นการเตรียมเครื่องเพื่อลง Packet ที่จำเป็นสำหรับ OpenMeeting โดยการติดตั้งผมอ้างอิงจาก openmeetings บนเครื่อง P4 3.0GHz, Ram 4G, HDD 80G เอาไว้ประชุมกันภายในโรงงานระหว่างสาขา 3 สาขา
1. ติดตั้งโปรแกรม CentOS 5.5 บนเครื่อง โดยเลือก Server และ Customise now
- Development
Development Libraries
Development Tools
- Servers 
MySQL Database
- Base System 
Java
- Firewall configuration
Security Level: Disabled
SELinux: Disabled
- System services
apmd
auditd
autofs
avahi-daemon
bluetooth
cpuspeed
cups
firstboot
gpm
hidd
ip6tables
iptables
irqbalance
mcstrans
mdmonitor
microcode_ctl
netfs
nfslock
pcscd
portmap
restorecond
rpcidmapd
rpcsvcgssd
sendmail
smartd
xfs *yum-updatesd <<<*ผมไม่ได้เลือกเนื่องจากไม่อยากให้เครื่อง Update
2. หลังจากติดตั้งเสร็จแล้วทำการสั่ง Update packet (ขั้นตอนนี้ผมไม่ได้ทำ)

yum update
3. ลบ Packet เดิมที่ติดตั้งอยู่ออก

rpm -e ImageMagick-6.2.8.0-4.el5_1.1
rpm -e --nodeps sox-12.18.1-1
rpm -e --nodeps ghostscript ghostscript-devel
4. แก้ไขไฟล์ /etc/my.cnf โดยเำพิ่มและสั่งให้ service mysqld ทำงานตอนเปิดเครื่องและ Start service mysqld

default-character-set=utf8
character-set-server=utf8
chkconfig mysqld on
service mysqld start
5. ลง rpmforge

rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
6. แก้ไขไฟล์  /etc/rc.local: เำพิ่ม

/usr/lib/openoffice.org3/program/soffice "-accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager" -nologo -headless -nofirststartwizard &
7. ลง Packet ที่จำ้เป็นของ OpenMeetings

yum install freetype freetype-devel fontconfig fontconfig-devel java-1.6.0-openjdk-devel libtiff libtiff-devel libjpeg-devel libjpeg giflib giflib-devel libpaper libpaper-devel xml-commons-apis libpng libpng-devel libxml2 libxml2-devel fftw3 fftw3-devel cairo cairo-devel flac flac-devel wavpack wavpack-devel libsndfile libsndfile-devel libmad libmad-devel yasm-devel yasm gcc gcc-c++
8.ลง Packet ในส่วนของ OpenOffice

yum groupinstall 'Office/Productivity'
yum install openoffice.org-headless
9.ลง Packet ตัวใหม่

Ghostscript
cd /usr/src
wget http://ghostscript.com/releases/ghostscript-8.71.tar.gz
tar zxvf ghostscript-8.71.tar.gz
cd ghostscript-8.71
./configure --prefix=/usr
mkdir obj
mkdir bin
make all
make install
Lame
cd /usr/src
wget http://downloads.sourceforge.net/project/lame/lame/3.98.4/lame-3.98.4.tar.gz
tar zxvf lame-3.98.4.tar.gz
cd lame-3.98.4
./configure --prefix=/usr
make all
make install
SWFTOOLS
cd /usr/src
wget http://www.swftools.org/swftools-0.9.1.tar.gz
tar zxvf swftools-0.9.1.tar.gz
cd swftools-0.9.1
./configure --prefix=/usr
make all
make install
ImageMagick
cd /usr/src
wget ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick-6.6.4-10.tar.gz
tar zxvf ImageMagick-6.6.4-10.tar.gz
cd ImageMagick-6.6.4-10
./configure --prefix=/usr
make all
make install
FFmpeg
cd /usr/src
svn checkout svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg
cd ffmpeg./configure --enable-libmp3lame --enable-postproc --enable-gpl --enable-pthreads --enable-avfilter --prefix=/usr
make all
make install
SoX
cd /usr/src
wget http://downloads.sourceforge.net/project/sox/sox/14.3.1/sox-14.3.1.tar.gz
tar zxvf sox-14.3.1.tar.gz
cd sox-14.3.1
./configure --prefix=/usr
make all
make install
Share on Google Plus

About Volk-69

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment

0 comments:

Post a Comment