Anda di halaman 1dari 16

Pag.

1
Installation of Apache OpenMeetings 2.x or 3.x in CentOS 6.5

This tutorial is made based on fresh installations of
CentOS-6.5-i386-i!eC" and CentOS-6.5-x86#6$-i!eC"
It is tested in both versions with positive result. We will use
the Apache's binary version OpenMeetings 2.2 that is to say
will suppress his compilation. It is done step by step.

!!"2"2#!$
%tarting...

1%
& A'' repositor( --
Install epel and linu&tech repository the last one it is to install vlc.
'or (entO% ).& 32 )its*
cd +opt
wget http*++dl.fedorapro,ect.org+pub+epel+)+i-.)+epel"release")"..noarch.rpm
rpm "/vh epel"release")"..noarch.rpm
'or (entO% ).& 6$ )its*
cd +opt
wget http*++dl.fedorapro,ect.org+pub+epel+)+&.)0)$+epel"release")"..noarch.rpm
rpm "/vh epel"release")"..noarch.rpm


Pag. 2
cd +opt
wget http*++p1grepo.linu&tech.net+el)+release+linu&tech.repo
cp linu&tech.repo +etc+yum.repos.d
/pdate the repository and the operative system*
yum update
...installation of vlc to play video*
yum install "y vlc
...one installs automatically 2ava Open !.).# and many libraries of media.
.
2%

---- Installation of li)raries for co*pilations an' pac+ages ----
(opy line to line and them put one after other one in the shell.
yum install "y lib,peg lib,peg"devel giflib giflib"devel giflib"utils ghostscript freetype freetype"devel
un3ip gcc ncurses ncurses"devel ma1e gcc"c44 libtermcap libtermcap"devel 3lib 3lib"devel libtool
bison bison"devel openssl"devel b3ip2 b3ip2"devel wget ImageMagic1 file"roller un3ip 3lib 3lib"
devel &2)$
"""" Installation an' config,ration of M(S- ----
yum install "y mys5l mys5l"server
6ive a root password in My%78 substituting 'new"password' that we have ,ust chosen*
service mys5ld start
+usr+bin+mys5ladmin "u root password 'new"password'
9uild the database for OpenMeetings*
: mys5l "p "u root
...will as1 for the root password that we have ,ust chosen type it...
mys5l; (<=AT= >ATA9A%= open22final >='A/8T (?A<A(T=< %=T 'utf.'@

Pag. 3
With this command we have created a so called database open22final though they can choose
another name to his whish.
Aow we create a user with all the permissions for this database.
Type the following command everything in an alone line with space of separation between both*
mys5l; 6<AAT A88 B<ICI8=6=% OA open22final.D TO 'openmeetings'E'localhost'
I>=ATI'I=> 9F '!2-$G)' WIT? 6<AAT OBTIOA@
D open22final ......is the database name.
D openmeetings ...is the user name for the database.
D !2-$G) H.........is the password of the user called openmeetings.
Fou can change the dates.
We go out from My%78 console*
mys5l; 5uit
3%
---- Installation of A'o)e flash pla(er----
6o to*
http*++get.adobe.com+flashplayer+
Once there*
%elect version to download... I .rpm for other 8inu& ""; >ownload now
can install the unloaded file doing right clic1 on him and JOpen with Bac1age InstallerJ.


$%
---- Installation of i)reOffice ----
Install now 8ibreOffice...if it is that you do not have it even installed for the conversion of files.
(opy line to line and them put one after other one in the shell*

yum "y install libreoffice libreoffice"base libreoffice"core libreoffice"draw libreoffice"headless
libreoffice"impress libreoffice"writer

Pag. $.
Aow some 1ind of information only*
8ibreOffice 32 )its establishes himself in .,sr.li).li)reoffice.
8ibreOffice 6$ )its establishes himself in .,sr.li)6$.li)reoffice.
5%
---- Installation of Oracle /a!a ----
'or 32 )its*
cd +opt
...put everything it of below in an alone line in the shell to unload the ,ava file...
wget ""no"coo1ies ""no"chec1"certificate ""header J(oo1ie* gpw0e2$KhttpL-AL2'
L2'www.oracle.comJ Jhttp*++download.oracle.com+otn"pub+,ava+,d1+MuG!"b!-+,d1"MuG!"linu&"
iG.).rpmJ
...now we install the unloaded file*
rpm "/vh ,d1"MuG!"linu&"iG.).rpm
...and remove it*
rm "f ,d1"MuG!"linu&"iG.).rpm
'or 6$ )its*
cd +opt
...put everything it of below in an alone line in the shell to unload the ,ava file...
wget ""no"coo1ies ""no"chec1"certificate ""header J(oo1ie* gpw0e2$KhttpL-AL2'
L2'www.oracle.comJ Jhttp*++download.oracle.com+otn"pub+,ava+,d1+MuG!"b!-+,d1"MuG!"linu&"
&)$.rpmJ
...now we install the unloaded file *
rpm "/vh ,d1"MuG!"linu&"&)$.rpm
=nvironment 2ACA0?OM= for -2 bits and )$ bits*
gedit +etc+profile

Pag.5
...at the end of the file we add*
e&port 2ACA0?OM=K+usr+,ava+,d1!.M.#0G!+bin+,ava
e&port BAT?KNBAT?*+usr+,ava+,d1!.M.#0G!+bin
...Attention the number of the version changes if you have unloaded different other one...
...and now activate it*
source +etc+profile
'or 32 and 6$ bits* line to line...
update"alternatives ""install +usr+bin+,ava ,ava +usr+,ava+,d1!.M.#0G!+,re+bin+,ava 2####
update"alternatives ""install +usr+bin+,ar ,ar +usr+,ava+,d1!.M.#0G!+bin+,ar 2####
update"alternatives ""install +usr+bin+,avac ,avac +usr+,ava+,d1!.M.#0G!+bin+,avac 2####
update"alternatives ""install +usr+bin+,avaws ,avaws +usr+,ava+,d1!.M.#0G!+,re+bin+,avaws 2####
update"alternatives ""config ,avac
update"alternatives ""config ,ava ...seleccionamos el nOmero de +usr+,ava+,d1!.M.#0G!+bin+,ava
update"alternatives ""config ,avaws
...to verify that it has stayed correctly*
ls "lA +etc+alternatives+
...and it must appear in green color Ploo1 for itQ
lrw&rw&rw&. ! root root 2R 'eb 22 #-*-R ,ar "; +usr+,ava+,d1!.M.#0G!+bin+,ar
lrw&rw&rw&. ! root root -$ 'eb 22 #-*-R ,ava "; +usr+,ava+,d1!.M.#0G!+,re+bin+,ava
lrw&rw&rw&. ! root root -! 'eb 22 #-*-R ,avac "; +usr+,ava+,d1!.M.#0G!+bin+,avac
lrw&rw&rw&. ! root root -) 'eb 22 #-*-R ,avaws "; +usr+,ava+,d1!.M.#0G!+,re+bin+,avaws
6%
---- Co*pilation of la*e0 sox0 s1ftools an' ff*peg ----
(ompile a*e for mp- audio.
cd +opt
wget http*++optimate.dl.sourceforge.net+pro,ect+lame+lame+-.RR+lame"-.RR.G.tar.g3

tar &3vf lame"-.RR.G.tar.g3
cd +opt+lame"-.RR.G
Pag. 6
.+configure ""libdirK+usr+lib ""bindirK+usr+bin
ma1e SS ma1e install
(ompile Sox for audio.
cd +opt
wget http*++sourceforge.net+pro,ects+so&+files+so&+!$.$.!+so&"!$.$.!.tar.g3+download
tar &3vf so&"!$.$.!.tar.g3
cd +opt+so&"!$.$.!
.+configure ""enable"libmp-lame
ma1e SS ma1e install
(ompile S1ftools to flash convertion.
cd +opt
wget http*++www.swftools.org+swftools"2#!-"#$"#R"!##M.tar.g3
tar &3vf swftools"2#!-"#$"#R"!##M.tar.g3
cd +opt+swftools"2#!-"#$"#R"!##M
.+configure ""libdirK+usr+lib ""bindirK+usr+bin
ma1e SS ma1e install
(ompile 2f*peg for video.
cd +opt
wget http*++ffmpeg.org+releases+ffmpeg"2.!.-.tar.g3
tar &3vf ffmpeg"2.!.-.tar.g3
cd +opt+ffmpeg"2.!.-
(opy line to line and them put one after other one with space in the shell.

.+configure ""libdirK+usr+lib ""bindirK+usr+bin ""enable"libmp-lame ""disable"yasm ""enable"nonfree
""enable"gpl
Pag. 3
ma1e SS ma1e install

3%
Type the name of your machine in*
gedit +etc+hosts
...for e&emple*
!2M.#.#.! localhost.localdomain localhost your"machine
**! localhost).localdomain) localhost)
your"ip"local your"machine
8%
Install for the conversion /o'con!erter.
cd +opt
wget http*++,odconverter.googlecode.com+files+,odconverter"core"-.#"beta"$"dist.3ip
un3ip ,odconverter"core"-.#"beta"$"dist.3ip
4%
---- Installation of OpenMeetings ----
WeTll install OpenMeetings in +opt+redG22final. All the following information will be based on this
directory.
(all to our folder of installation re'522final
Ma1e the folder*
m1dir +opt+redG22final
cd +opt+redG22final
wget http*++www.eu.apache.org+dist+openmeetings+2.2.#+bin+apache"openmeetings"2.2.#.3ip
un3ip apache"openmeetings"2.2.#.3ip
...remove the unloaded file*
rm "f apache"openmeetings"2.2.#.3ip

Pag. 8
>o to no)o'( user of the whole OpenMeetings folder installation*
chown "< nobody +opt+redG22final
/nload and install the connector between OpenMeetings and My%78*
cd +opt
wget http*++repo!.maven.org+maven2+mys5l+mys5l"connector",ava+G.!.2R+mys5l"connector",ava"
G.!.2R.,ar
...and copy it to where it must be*
cp +opt+mys5l"connector",ava"G.!.2R.,ar +opt+redG22final+webapps+openmeetings+W=9"IA'+lib
Aow we are going to form OpenMeetings for our database in My%78*
cd +opt+redG22final+webapps+openmeetings+W=9"IA'+classes+M=TA"IA'
mv persistence.&ml persistence.&ml"ori
mv mys5l0persistence.&ml persistence.&ml
gedit +opt+redG22final+webapps+openmeetings+W=9"IA'+classes+M=TA"IA'+persistence.&ml
...to change on line 82
/rlK,dbc*mys5l*++localhost*--#)+openmeetings
...to
/rlK,dbc*mys5l*++localhost*--#)+open22final
...it is the name of the database that we did initially.
... to change on line 83

/sernameKroot
...to
/sernameKopenmeetings
...is the user that we did initially for the database.
Pag. 4
...to change on line 88
BasswordKJ +;
...to
BasswordK!2-$G)J +;
...it is the password that we did initially for the user JopenmeetingsJ in the database.
8ogically if initially you chose another name and password for the database you will to change
them here.
We protect the access to the file*
chmod )$# +opt+redG22final+webapps+openmeetings+W=9"IA'+classes+M=TA"IA'+persistence.&ml
11%
---- Script to la,nch re'5-OpenMeetings ----
>o a script of start and stop for redG"OpenMeetings that we will call Jre'5J
gedit +etc+init.d+redG
...copy paste and save the whole green te&t of below*
:U+bin+bash
: 'or <ed?at and cousins*
: ch1config* 2-$G .G .G
: description* <edG flash streaming server
: processname* redG
: (reated 9y* %ohail <ia3 PsohaileoEgmail.comQ
B<O6KredG
<=>G0?OM=K+opt+redG22final
>A=MOAKN<=>G0?OM=+NB<O6.sh
BI>'I8=K+var+run+NB<O6.pid
: %ource function library
. +etc+rc.d+init.d+functions
V "r +etc+sysconfig+redG W SS . +etc+sysconfig+redG
<=TCA8K#
case JN!J in
startQ
echo "n NJ%tarting NB<O6* J
cd N<=>G0?OM=
N>A=MOA ;+dev+null 2;+dev+null S
<=TCA8KNX
if V N<=TCA8 "e5 # W@ then
echo NU ; NBI>'I8=
touch +var+loc1+subsys+NB<O6
fi
V N<=TCA8 "e5 # W SS success NJNB<O6 startupJ YY failure NJNB<O6 startupJ
echo
@@
stopQ
echo "n NJ%hutting down NB<O6* J
1illproc "p NBI>'I8=
<=TCA8KNX
echo
V N<=TCA8 "e5 # W SS rm "f +var+loc1+subsys+NB<O6
@@
restartQ
N# stop
N# start
@@
statusQ
status NB<O6 "p NBI>'I8=
<=TCA8KNX
@@
DQ
echo NJ/sage* N# ZstartYstopYrestartYstatus[J
<=TCA8K!
esac
e&it N<=TCA8
12%
6ive permission of e&ecution to the script newly made*
chmod 4& +etc+init.d+redG
13%
%tart My%5l if still it is not*
service mys5ld start
...and now we start redG"OpenMeeting*
+etc+init.d+redG start
Pag.11
...wait !# seconds at least in order that redG it is thrown completely and later go to*
http*++localhost*G#.#+openmeetings+install
...there will have to appear a page similar to this one*
...clic on Contin,e 1ith S56P 1
...and this another page will appear*
Pag. 12
...here we have to introduce necessarily to be able to continue the following things*
7serna*e K a-na*e ...this user will be administrator.
7serpass 8 pass1or' ...for the previous user.
6*ail 8 e*ail-a'ress ...of the previous user.
OrganisationP>omainsQ
9a*e 8 exe*ple-open*eetings ...group name to choose.
"efa,lt ang,age K select the language for OpenMeetings.
...we continue in the same page down below and we will not write anything. We will do it once we
have concluded the installation and let's accede to the section of Administration.
6o below completely of the page and touch the button I9S5A

...and wait a moment until the tables are constructed in the database.

When has concluded this another page will appear*

Pag. 13
...clic on 6nter the Application

...And we will see OpenMeetings's entry*
Introduce the user's name and the password that we have chosen during the installation and
...Congrat,lations:
Pag. 1$
The near time that you wants to accede to OpenMeetings will be across*
http*++localhost*G#.#+openmeetings
<emember to open in the servant three following ports*
G#.# !R-G .#..
...in order that it could accede to OpenMeetings from other machines.
1$%
---- OpenMeetings;s config,ration ----
Once we have acceded to OpenMeetings go to*
A'*inistration I Config,ration
Pag. 15
...introduce the parameters for the conversion of files the audio and the video*
(lic on* s1ftools#path...and to the right in <al,e type* .,sr.)in
(lic on* i*age*agic+#path...and to the right in <al,e type* .,sr.)in
(lic on* sox#path...and to the right in <al,e type* .,sr.local.)in
(lic on* ff*peg#path...and to the right in <al,e type* .,sr.)in
(lic on* office.path...and to the right in <al,e type P-2 bitsQ* .,sr.li).li)reoffice
(lic on* office.path...and to the right in <al,e type P)$bitsQ* .,sr.li)6$.li)reoffice
(lic on* =o'.path...and to the right in <al,e type* .opt.=o'con!erter-core-3.>-)eta-$.li)
Aow there is OpenMeetings ready to wor1 completely.
15%
We are going to remove files and folders that already do not serve us if you do not want to guard
them.
Pag. 16
rm "f +opt+,odconverter"core"-.#"beta"$"dist.3ip
rm "f +opt+mys5l"connector",ava"G.!.2R.,ar
rm "f +opt+lame"-.RR.G.tar.g3
rm "f +opt+so&"!$.$.!.tar.g3
rm "f +opt+swftools"2#!-"#$"#R"!##M.tar.g3
rm "f +opt+ffmpeg"2.!.-.tar.g3
rm "f "< +opt+lame"-.RR.G
rm "f "< +opt+so&"!$.$.!
rm "f "< +opt+swftools"2#!-"#$"#R"!##M
rm "f "< +opt+ffmpeg"2.!.-
----------------------------------------------------------
If you have some doubt or 5uestion please raise it in the Apache OpenMeetings forums*
http*++openmeetings.apache.org+mail"lists.html
Than1 you
Alvaro 9ustos

Anda mungkin juga menyukai