首页 OpenMeetings-linux-中文安装过程

OpenMeetings-linux-中文安装过程

举报
开通vip

OpenMeetings-linux-中文安装过程PAGE/NUMPAGES先贴官方文档下载地址:http://pan.baidu.com/share/link?shareid=373410&uk=419885835step1step2安装linuxXXXX(这个我就不说了吧)Step3:InstallDependentsoftwareFirstupdatetherepos:apt-getupdateNowlet’screateourworkareamkdir-p/usr/admWeneedtofirstinstallLibreOffice:apt-g...

OpenMeetings-linux-中文安装过程
PAGE/NUMPAGES先贴官方文档下载地址:http://pan.baidu.com/share/link?shareid=373410&uk=419885835step1step2安装linuxXXXX(这个我就不说了吧)Step3:InstallDependentsoftwareFirstupdatetherepos:apt-getupdateNowlet’screateourworkareamkdir-p/usr/admWeneedtofirstinstallLibreOffice:apt-getinstalllibreoffice-yLibreOfficeinstallsOpenJDKsoweneedtoinstallOracleJava6JDKandupdatethealternatives–grabtherelevantbinaryfromoracle.cd/usr/admwget--no-cookies--header"Cookie:gpw_e24=http%3A%2F%2Fwww.oracle.com%2F"\http://download.oracle.com/otn-pub/java/jdk/6u32-b05/jdk-6u32-linux-x64.bin(这是对于64位ubuntu的jdk)(因为我的ubuntu是32位的,所以我系在的32位的jdk-6u41-linux-i586.bin)cd/usr/admchmod+xjdk-6u32-linux-x64.bin./jdk-6u32-linux-x64.bin(解压,安装)mkdir-p/usr/lib/jvmmvjdk1.6.0_32/usr/lib/jvm/update-alternatives--install/usr/bin/javacjavac/usr/lib/jvm/jdk1.6.0_32/bin/javac1update-alternatives--install/usr/bin/javajava/usr/lib/jvm/jdk1.6.0_32/bin/java1update-alternatives--install/usr/bin/javawsjavaws/usr/lib/jvm/jdk1.6.0_32/bin/javaws1(对于以我来说应该是update-alternatives--install/usr/bin/javacjavac/usr/lib/jvm/jdk1.6.0_41/bin/javac1update-alternatives--install/usr/bin/javajava/usr/lib/jvm/jdk1.6.0_41/bin/java1update-alternatives--install/usr/bin/javawsjavaws/usr/lib/jvm/jdk1.6.0_41/bin/javaws1)update-alternatives--configjavacupdate-alternatives--configjavaupdate-alternatives--configjavaws确认一下有没有安装成功版本号不是openjdk就好java-version确认一下快捷方式有没有建立ls-la/etc/alternatives/java*最后要对OM做一下升级apt-getupdateapt-getinstallautoconfautomakebuild-essentialcheckinstallgitlibass-devlibfaac-dev-yapt-getinstalllibgpac-devlibmp3lame-devlibopencore-amrnb-devlibopencore-amrwb-dev-y(没成功)apt-getinstalllibrtmp-devlibspeex-dev–yapt-getinstalllibtheora-devlibtoollibvorbis-devpkg-configtexi2htmlzlib1g-dev-yapt-getinstallimagemagicksoxlibtool-yapt-getinstalllibgif-devxpdflibfreetype6libfreetype6-devlibjpeg62libjpeg8-yapt-getinstalllibjpeg8-devlibjpeg-devlibdirectfb-dev-yapt-getinstalllibart-2.0-2libt1-5zipunzipbzip2subversiongit-corecheckinstall-yapt-getinstalltexi2htmllibfaac-devlibfaad-devlibmp3lame-devlibsdl1.2-devlibx11-dev-yapt-getinstalllibxfixes-devlibxvidcore-devzlib1g-devlibogg-devsoxlibvorbis0alibvorbis-dev-yapt-getinstalllibgsm1libgsm1-devlibfaad2flvtool2lamemakeg++-yStep4:编译和安装SWFTOOLscd/usr/admwgethttp://www.swftools.org/swftools-2013-02-19-1826.tar.gz(下载SWFTOOLs)tar-zxvfswftools-2013-02-19-1826.tar.gz(解压)cdswftools-2013-02-19-1826/./configuremakecheckinstall(这里有个让你输入软件描述的地方)安装完毕之后,确认一下是否安装成功pdf2swf--version(应该输出:pdf2swf-partofswftools2013-02-19-1826)Step5:安装yasm(某汇编用的东西。。。)cd/usr/admwgethttp://www.tortall.net/projects/yasm/releases/yasm-1.2.0.tar.gztarxzvfyasm-1.2.0.tar.gzcdyasm-1.2.0./configuremakecheckinstall--pkgname=yasm--pkgversion="1.2.0"--backup=no--deldoc=yes--fstrans=no--default(文档上这个写在了两行,提示installscript.sh:4::notfound的错误。这个东西要放在一行里执行,就是去掉\符号,连接成一行。文档上的分成两行是不行的——应该是里面哪儿多了个空格)Step6:安装x264cd/usr/admgitclone--depth1git://git.videolan.org/x264.gitcdx264./configure--enable-staticmakecheckinstall--pkgname=x264--pkgversion="3:$(./version.sh|awk-F'["]''/POINT/{print$4"+git"$5}')"--backup=no--deldoc=yes--fstrans=no--default(同stpe5的最后一步,不要按照文档)Step7:安装AACaudioencodercd/usr/admgitclone--depth1git://github.com/mstorsjo/fdk-aac.gitcdfdk-aacautoreconf-fiv(提示我autoreconf:commandnotfound)(百度了一下说是缺少autoconf这个东东,使用apt-getinstallautoconf安装完了之后就可以运行了)./configure--disable-sharedmakecheckinstall--pkgname=fdk-aac--pkgversion="$(date+%Y%m%d%H%M)-git"--backup=no--deldoc=yes--fstrans=no--default(同step5)Step8:安装VP8videoencoderanddecodercd/usr/admgitclone--depth1http://git.chromium.org/webm/libvpx.gitcdlibvpx./configure--disable-examples--disable-unit-testsmakecheckinstall--pkgname=libvpx--pkgversion="1:$(date+%Y%m%d%H%M)-git"--backup=no--deldoc=yes--fstrans=no--defaultStep9:编译和安装ffmpeg0.11.1Let’sgobacktoourtemporaryworkingareacd/usr/admDownload,compileandinstallffmpegbyissuingthesecommands:wgethttp://ffmpeg.org/releases/ffmpeg-1.1.3.tar.gztar-zxvfffmpeg-1.1.3.tar.gzcdffmpeg-1.1.3./configure--enable-gpl--enable-libass--enable-libfaac--enable-libfdk-aac--enable-libmp3lame--enable-libopencore-amrnb--enable-libopencore-amrwb--enable-libspeex--enable-librtmp--enable-libtheora--enable-libvorbis--enable-libvpx--enable-x11grab--enable-libx264--enable-nonfree--enable-version3--enable-libxvid--enable-libgsm(这又是好长一个啊拼到一行里)(要加载这么多东西,一定会出问题的吧)(好吧,果然有问题。)(第一个问题是libassnotfound解决的方法是apt-getinstalllibass-dev和apt-getinstalllibass4,其中还使用了apt-cachesearchlibass来查找libass)(第二个问题是librtmpnotfound,解决方法是下载---------rtmpdump-2.3.tgz:http://rtmpdump.mplayerhq.hu/download/rtmpdump-2.3.tgz-------------解压,执行make,makeinstall)(第三个问题是libspeexnotfound,使用apt-cachesearchlibspeex然后apt-getinstalllibspeex1和apt-getinstalllibspeex-dev就可以了)makecheckinstall--pkgname=ffmpeg--pkgversion="7:$(date+%Y%m%d%H%M)-git"--backup=no--deldoc=yes--fstrans=no--default(同样要放在一行里)测试安装是否成功:ffmpeg-version(出错了,找不到librtmp.so.0之类的,解决方法是vi/etc/ld.so.conf,加入:/usr/local/lib,执行ldconfig)输出第一句应该是下面这个:ffmpegversion0.11.1(我显示的是ffmpegversion1.1.3,原本安装的就是ffmpegversion1.1.3版本啊!!!!)Step10:安装qt-faststartcd/usr/adm/ffmpeg-1.1.3/maketools/qt-faststartcheckinstall--pkgname=qt-faststart--pkgversion="$(date+%Y%m%d%H%M)-git"--backup=no--deldoc=yes--fstrans=no--defaultinstall-Dm755tools/qt-faststart/usr/local/bin/qt-faststartStep11:-CreatemysqlDBforOM(我已经安装过mysql了用户名是root,密码是12345qwert)Nowissuethese:(Assumingusernameopenmeetingsandpassword=password)(无视)CREATEDATABASEopenmeetingsDEFAULTCHARACTERSET'utf8';GRANTALLPRIVILEGESONopenmeetings.*TO'openmeetings'@'localhost'IDENTIFIEDBY'password'WITHGRANTOPTION;quitStep7(不知道它是怎么数的,11之后不该是12么?):安装JODConverter回到目录cd/usr/admDownload,extractJODbyissuingthesecommands:(WewillmovetheJODlocationaftertheinstallationofOM2.x)wgethttp://jodconverter.googlecode.com/files/jodconverter-core-3.0-beta-4-dist.zipunzipjodconverter-core-3.0-beta-4-dist.zipStep8(应该是13,无视它吧):InstallANT1.8.4forcompilinglatestOM2.x(我有种不祥的预感,要用ant了)Let’sgobacktoourtemporaryworkingareacd/usr/admDownload,extractANTbyissuingthesecommands:wgethttp://mirror.catn.com/pub/apache//ant/binaries/apache-ant-1.8.4-bin.tar.gz(这货似乎被墙了,手动去csdn或者新浪上下载吧)tar-zxvfapache-ant-1.8.4-bin.tar.gz测试一下是不是可以用:cd/usr/adm/apache-ant-1.8.4/bin./ant-versionThisshouldoutputthefollowing:ApacheAnt(TM)version1.8.4compiledonMay222012Step9(14:这是 方案 气瓶 现场处置方案 .pdf气瓶 现场处置方案 .doc见习基地管理方案.doc关于群访事件的化解方案建筑工地扬尘治理专项方案下载 一):DownloadandcompilelatestOM2.1回到工作区:cd/usr/admThencheckoutthelatestsourcecodeusingthefollowing:svncheckouthttps://svn.apache.org/repos/asf/openmeetings/trunk/singlewebapp/Oncethathascompletedwecanthenbuildthesourcebyissuingthefollowing:cd/usr/adm/singlewebapp/usr/adm/apache-ant-1.8.4/bin/antclean.all/usr/adm/apache-ant-1.8.4/bin/ant-Ddb=mysqlThiswilltakealittlewhiledependingonyoursystem,onceithasfinishedyoushouldbeleftthefollowingmessage:BUILDSUCCESSFUL(快编完的时候看到还有选择2.。。。直接下载编译好的包……你妹啊!!)(编译了22分钟之后,失败,看日志,大概是要连接墙外的资源,还是用第二种方案吧)Step9a(14:方案二):Installpre-builtOM2.x(AlternativetoStep9)Downloadthelatestbuildfromthefollowinglinks:2.0https://builds.apache.org/view/MR/view/OpenMeetings/job/OpenMeetings%202.0/lastSuccessfulBuild/artifact/2.0/dist/Or2.1https://builds.apache.org/job/openmeetings/lastSuccessfulBuild/artifact/singlewebapp/dist/(第一个好用些)Thefilewillbesomethinglikethefollowing“apache-openmeetings-incubating-2.xxxxx.tar.gz:(Wherexxxisthedateandbuildversion)Wecandothisusingwget,sofirstweneedtogobacktoourbuildarealikeso:cd/usr/admmkdir-psinglewebapp/dist/red5cdsinglewebapp/dist/red5Thengrabthefileandextractit:wgethttps://builds.apache.org/job/openmeetings/lastSuccessfulBuild/artifact/singlewebapp/dist/apache-openmeetings-incubating-2.xxxxx.tar.gz(对于我来说应该是wgethttps://builds.apache.org/view/M-R/view/OpenMeetings/job/OpenMeetings%202.0/lastSuccessfulBuild/artifact/2.0/dist/apache-openmeetings-incubating-2.0.0.r1383872-12-09-2012_1009.tar.gz)然后tar-zxvfapache-openmeetings-incubating-2.xxxxx.tar.gz下载mysqlconnector:http://www.mysql.com/downloads/connector/j/cd/usr/adm/singlewebapp/dist/red5/webapps/openmeetings/WEB-INF/libwgethttp://ftp.up.ac.za/pub/linux/mysql/Downloads/Connector-J/mysql-connector-java-5.1.20.zip(上面那个被墙了还是用这个吧:wgethttp://cdn.mysql.com/Downloads/Connector-J/mysql-connector-java-5.1.24.zip)unzipmysql-connector-java-5.1.20.zip(unzipmysql-connector-java-5.1.24.zip)cdmysql-connector-java-5.1.20(cdmysql-connector-java-5.1.24)mvmysql-connector-java-5.1.20-bin.jar/usr/adm/singlewebapp/dist/red5/webapps/openmeetings/WEB-INF/lib(mvmysql-connector-java-5.1.24-bin.jar/usr/adm/singlewebapp/dist/red5/webapps/openmeetings/WEB-INF/lib)Step10(我也记不清是多少了):Installcompiled\Pre-BuiltOM2.xNowweneedtomovethecompiledsourceintothecorrectlocation,inthissystemweareusing/usr/lib/red5,soissuethefollowingcommandstomovetherootfolderover:cd/usr/adm/singlewebapp/distmvred5//usr/lib/Let’smovetheJODintoplacenowcp-R/usr/adm/jodconverter-core-3.0-beta-4/usr/lib/red5/webapps/openmeetingsAndsetsomepermissionsandownershipschown-Rnobody/usr/lib/red5chmod+x/usr/lib/red5/red5.shchmod+x/usr/lib/red5/red5-debug.shSetthestart-upscriptforOM2.xbyissuingthefollowing:vi/etc/init.d/red5andaddingthefollowing:(实际上应该是用下面的内容替换掉文件以前里的内容,而不是加到后面。如果以前有这个文件,最好备份一下。)#!/bin/sh###BEGININITINFO#Provides:red5#Required-Start:$remote_fs$syslog#Required-Stop:$remote_fs$syslog#Default-Start:2345#Default-Stop:016#Short-Description:Startsred5serverforOpenmeetings.###ENDINITINFO#ForRedHatandcousins:#chkconfig:23458585#description:Red5flashstreamingserverforOpenMeetings#processname:red5#CreatedBy:SohailRiaz(sohaileo@gmail.com)#ModifiedbyAlvaroBustosPROG=red5RED5_HOME=/usr/lib/red5DAEMON=$RED5_HOME/$PROG.shPIDFILE=/var/run/$PROG.pid[-r/etc/sysconfig/red5]&&./etc/sysconfig/red5RETVAL=0case"$1"instart)cd$RED5_HOMEstart-stop-daemon--start-cnobody--pidfile$PIDFILE\--chdir$RED5_HOME--background--make-pidfile\--exec$DAEMON>/dev/null2>/dev/null&RETVAL=$?if[$RETVAL-eq0];thenecho$!>$PIDFILEfiecho;;stop)start-stop-daemon--stop--quiet--pidfile$PIDFILE\--namejavarm-f$PIDFILEecho[$RETVAL-eq0]&&rm-f/var/lock/subsys/$PROG;;restart|force-reload)$0stop$0start;;status)#DebianandUbuntu10statuscheckpsaux|grep-f$PIDFILE>/dev/null2>/dev/null&&RETVAL=0||RETVAL=3#Ubuntu12statuscheckusingimproved"start-stop-daemon"statusquery#(usetheabovecommand,orcommentoutabovecommandanduncommentthetwobelowcommands.#start-stop-daemon--status--pidfile$PIDFILE#RETVAL=$?[$RETVAL-eq0]&&echo"$PROGisrunning"[$RETVAL-eq1]&&echo"$PROGisnotrunningandthepidfileexists"[$RETVAL-eq3]&&echo"$PROGisnotrunning"[$RETVAL-eq4]&&echo"$PROG-unabletodeterminestatus";;checkports)netstat-anp|grepsofficenetstat-anp|grepjava;;*)echo$"Usage:$0{start|stop|restart|force-reload|status|checkports}"RETVAL=1esacexit$RETVALSavethefileandthensetthepermissionslikebelow:chmod+x/etc/init.d/red5update-rc.dred5defaultsNowweneedtomovethepersistencefilessowecanconnecttomysql,soissuethefollowing:Makebackupcopymv/usr/lib/red5/webapps/openmeetings/WEB-INF/classes/META-INF/persistence.xml/usr/lib/red5/webapps/openmeetings/WEB-INF/classes/META-INF/persistence.xml-oriRenamemysqltemplatetopersistence.xmlmv/usr/lib/red5/webapps/openmeetings/WEB-INF/classes/META-INF/mysql_persistence.xml/usr/lib/red5/webapps/openmeetings/WEB-INF/classes/META-INF/persistence.xmlEditthepersistencefileandaddoutmysqldetails,inthiscaseweused“openmeetings”and“password”–soissuethefollowing:vi/usr/lib/red5/webapps/openmeetings/WEB-INF/classes/META-INF/persistence.xmlThenchangethefollowing,Username=openmeetings,Password=password"/>AtthisstagewearereadytostartupOM2.xforthefirsttime./etc/init.d/red5startNowopenthebrowserandgotothefollowinglink.N.BremembertochangetheIPaddresstoyourOM2.xserver,theonebelow10.17.23.11isjustforthisexample.http://10.17.23.11:5080/openmeetings/installok终于看到效果了截个图友情提示:范文可能无法思考和涵盖全面,供参考!最好找专业人士起草或审核后使用,感谢您的下载!
本文档为【OpenMeetings-linux-中文安装过程】,请使用软件OFFICE或WPS软件打开。作品中的文字与图均可以修改和编辑, 图片更改请在作品中右键图片并更换,文字修改请直接点击文字进行修改,也可以新增和删除文档中的内容。
该文档来自用户分享,如有侵权行为请发邮件ishare@vip.sina.com联系网站客服,我们会及时删除。
[版权声明] 本站所有资料为用户分享产生,若发现您的权利被侵害,请联系客服邮件isharekefu@iask.cn,我们尽快处理。
本作品所展示的图片、画像、字体、音乐的版权可能需版权方额外授权,请谨慎使用。
网站提供的党政主题相关内容(国旗、国徽、党徽..)目的在于配合国家政策宣传,仅限个人学习分享使用,禁止用于任何广告和商用目的。
下载需要: 免费 已有0 人下载
最新资料
资料动态
专题动态
机构认证用户
夕夕资料
拥有专业强大的教研实力和完善的师资团队,专注为用户提供合同简历、论文写作、PPT设计、计划书、策划案、各类模板等,同时素材和资料部分来自网络,仅供参考.
格式:doc
大小:176KB
软件:Word
页数:0
分类:互联网
上传时间:2021-06-23
浏览量:31