Maxim I appreciate the offer and i will not forget it but The vms are not on the net, there is at least one firewall blocking access. so in the meantime i have attached my very rough notes on what i did on my centos 6.3 vm
thank you On Sun, Sep 30, 2012 at 2:50 AM, Maxim Solodovnik <[email protected]>wrote: > I'm afraid the only option I can propose: > > let me take a look at your server and I'll try to debug/investigate and > maybe will find the reason. > > > On Sat, Sep 29, 2012 at 6:20 PM, Mohammed Arafa > <[email protected]>wrote: > >> Hello >> >> I just set up a fresh new vm and went thru the configuration steps and >> the issue is repeated on the new vm. i was using the admin user. >> thanks >> >> >> On Thu, Sep 27, 2012 at 12:25 AM, Maxim Solodovnik >> <[email protected]>wrote: >> >>> Since you can see the response in the browser I guess it some kind of >>> misconfiguration >>> I'll try to google it if I'll have enough time >>> >>> >>> On Thu, Sep 27, 2012 at 8:41 AM, Mohammed Arafa < >>> [email protected]> wrote: >>> >>>> Hello Maxim >>>> >>>> There was no response. I added it to 2 different spots within the code >>>> and saw no response. is this a bug? >>>> >>>> >>>> On Wed, Sep 26, 2012 at 6:40 AM, Mohammed Arafa < >>>> [email protected]> wrote: >>>> >>>>> Maxim >>>>> >>>>> 111 222 >>>>> http://classes.marafa.vm:5080/openmeetings/services/UserService/getSessionResourceid >>>>> #96AAA BBB >>>>> http://classes.marafa.vm:5080/openmeetings/services/UserService/getSessionResourceid >>>>> #96Request OpenMeetings! OpenMeetings Service failed and no response was >>>>> returned. >>>>> >>>>> >>>>> On Tue, Sep 25, 2012 at 11:37 PM, Maxim Solodovnik < >>>>> [email protected]> wrote: >>>>> >>>>>> Can you add >>>>>> echo("AAA"); >>>>>> print_r($response); >>>>>> echo("BBB"); >>>>>> >>>>>> to check if it was response, was it empty, what is in the response if >>>>>> not empty ... >>>>>> >>>>>> On Wed, Sep 26, 2012 at 9:57 AM, Mohammed Arafa < >>>>>> [email protected]> wrote: >>>>>> >>>>>>> Yes it works for fqdn and localhost >>>>>>> On Sep 25, 2012 10:56 PM, "Maxim Solodovnik" <[email protected]> >>>>>>> wrote: >>>>>>> >>>>>>>> and what about wget? >>>>>>>> is it work? >>>>>>>> >>>>>>>> On Wed, Sep 26, 2012 at 9:25 AM, Mohammed Arafa < >>>>>>>> [email protected]> wrote: >>>>>>>> >>>>>>>>> >>>>>>>>> http://localhost:5080/openmeetings/services/UserService/getSessionResourceid >>>>>>>>> #96 >>>>>>>>> http://localhost:5080/openmeetings/services/UserService/getSessionResourceid >>>>>>>>> #96Request OpenMeetings! OpenMeetings Service failed and no response >>>>>>>>> was >>>>>>>>> returned. >>>>>>>>> >>>>>>>>> i used that url and it failed (of course since openmeetings is not >>>>>>>>> on my localhost but on a vm!) >>>>>>>>> >>>>>>>>> so i used the original setting i had (the fqdn) and that too gave >>>>>>>>> >>>>>>>>> http://classes.vm:5080/openmeetings/services/UserService/getSessionResourceid >>>>>>>>> #96 >>>>>>>>> http://classes.vm:5080/openmeetings/services/UserService/getSessionResourceid >>>>>>>>> #96Request OpenMeetings! OpenMeetings Service failed and no response >>>>>>>>> was >>>>>>>>> returned. >>>>>>>>> >>>>>>>>> but the url in the browser works now >>>>>>>>> >>>>>>>>> >>>>>>>>> On Tue, Sep 25, 2012 at 10:17 PM, Maxim Solodovnik < >>>>>>>>> [email protected]> wrote: >>>>>>>>> >>>>>>>>>> OK :) >>>>>>>>>> can you use *print_r()* >>>>>>>>>> insted of var_dump? >>>>>>>>>> >>>>>>>>>> or maybe even better: >>>>>>>>>> print_r($request); >>>>>>>>>> print_r($session); >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Wed, Sep 26, 2012 at 9:13 AM, Mohammed Arafa < >>>>>>>>>> [email protected]> wrote: >>>>>>>>>> >>>>>>>>>>> line 57 and 58 are: >>>>>>>>>>> if(!$response) { >>>>>>>>>>> die("Request OpenMeetings! >>>>>>>>>>> OpenMeetings Service failed and no response was returned."); >>>>>>>>>>> } >>>>>>>>>>> >>>>>>>>>>> so that sentence was added to line 55 >>>>>>>>>>> >>>>>>>>>>> anyways, the response now is >>>>>>>>>>> >>>>>>>>>>> resource(96) of type (curl) resource(96) of type (Unknown) >>>>>>>>>>> Request OpenMeetings! OpenMeetings Service failed and no response >>>>>>>>>>> was >>>>>>>>>>> returned. >>>>>>>>>>> >>>>>>>>>>> On Tue, Sep 25, 2012 at 10:05 PM, Maxim Solodovnik < >>>>>>>>>>> [email protected]> wrote: >>>>>>>>>>> >>>>>>>>>>>> The error you are getting "Request OpenMeetings! OpenMeetings >>>>>>>>>>>> Service failed and no response was returned." >>>>>>>>>>>> >>>>>>>>>>>> is because of >>>>>>>>>>>> $response = curl_exec($session); >>>>>>>>>>>> >>>>>>>>>>>> $response is none/empty/error >>>>>>>>>>>> >>>>>>>>>>>> openmeetings_rest_service.php line 58 >>>>>>>>>>>> >>>>>>>>>>>> can you add something like: >>>>>>>>>>>> var_dump($session); >>>>>>>>>>>> >>>>>>>>>>>> before line 58? >>>>>>>>>>>> >>>>>>>>>>>> Maybe this will give as a hint what is wrong >>>>>>>>>>>> >>>>>>>>>>>> On Wed, Sep 26, 2012 at 9:00 AM, Mohammed Arafa < >>>>>>>>>>>> [email protected]> wrote: >>>>>>>>>>>> >>>>>>>>>>>>> php-curl (curl.so) is in php-common which is already >>>>>>>>>>>>> installed. >>>>>>>>>>>>> i also installed php-pear-Net-Curl-1.2.5-4.el6.noarch (and >>>>>>>>>>>>> restarted httpd) with no luck >>>>>>>>>>>>> >>>>>>>>>>>>> On Tue, Sep 25, 2012 at 9:53 PM, Maxim Solodovnik < >>>>>>>>>>>>> [email protected]> wrote: >>>>>>>>>>>>> >>>>>>>>>>>>>> I guess you need "php curl" installed >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> On Wed, Sep 26, 2012 at 8:50 AM, Mohammed Arafa < >>>>>>>>>>>>>> [email protected]> wrote: >>>>>>>>>>>>>> >>>>>>>>>>>>>>> Hello Maxim >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> appreciate your very quick response. >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> I checked my urls and it worked both ways. fyi it was wget >>>>>>>>>>>>>>> http://classes.vm:5080/openmeetings/services/UserService/getSessionwhere >>>>>>>>>>>>>>> the fqdn is actually the same for both openmeetings and >>>>>>>>>>>>>>> moodle. also, >>>>>>>>>>>>>>> i am concerned that the "openmeetings" in the url is not in the >>>>>>>>>>>>>>> moodle >>>>>>>>>>>>>>> config page unless it is the "OpenMeetings webapp name" >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> as for php, these are the rpm packages installed: >>>>>>>>>>>>>>> php-5.3.3-14.el6_3.x86_64 >>>>>>>>>>>>>>> php-cli-5.3.3-14.el6_3.x86_64 >>>>>>>>>>>>>>> php-common-5.3.3-14.el6_3.x86_64 >>>>>>>>>>>>>>> php-gd-5.3.3-14.el6_3.x86_64 >>>>>>>>>>>>>>> php-intl-5.3.3-14.el6_3.x86_64 >>>>>>>>>>>>>>> php-mbstring-5.3.3-14.el6_3.x86_64 >>>>>>>>>>>>>>> php-mysql-5.3.3-14.el6_3.x86_64 >>>>>>>>>>>>>>> php-pdo-5.3.3-14.el6_3.x86_64 >>>>>>>>>>>>>>> php-pear-1.9.4-4.el6.noarch >>>>>>>>>>>>>>> php-pear-Auth-SASL-1.0.4-1.el6.noarch >>>>>>>>>>>>>>> php-pear-HTTP-Request-1.4.4-2.el6.noarch >>>>>>>>>>>>>>> php-pear-Mail-1.2.0-1.el6.noarch >>>>>>>>>>>>>>> php-pear-Mail-Mime-1.8.4-1.el6.noarch >>>>>>>>>>>>>>> php-pear-Net-DIME-1.0.2-1.el6.noarch >>>>>>>>>>>>>>> php-pear-Net-SMTP-1.6.1-1.el6.noarch >>>>>>>>>>>>>>> php-pear-Net-Socket-1.0.10-1.el6.noarch >>>>>>>>>>>>>>> php-pear-Net-URL-1.0.15-4.el6.noarch >>>>>>>>>>>>>>> php-pear-SOAP-0.12.0-4.el6.noarch >>>>>>>>>>>>>>> php-soap-5.3.3-14.el6_3.x86_64 >>>>>>>>>>>>>>> php-xml-5.3.3-14.el6_3.x86_64 >>>>>>>>>>>>>>> php-xmlrpc-5.3.3-14.el6_3.x86_64 >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> if there is anything missing pls let me know >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> as to apache logs. nothing unusual. error logs only show >>>>>>>>>>>>>>> startup status. and access logs show only me. as for the >>>>>>>>>>>>>>> openmeeting logs, >>>>>>>>>>>>>>> i wouldnt know what to look for in there. >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> On Tue, Sep 25, 2012 at 9:22 PM, Maxim Solodovnik < >>>>>>>>>>>>>>> [email protected]> wrote: >>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> Hello Mohammed, >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> The issue is most probably with configuration. >>>>>>>>>>>>>>>> If you have PHP experience you can add some debug into >>>>>>>>>>>>>>>> moodle plugin. If not: >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> please check if the following URL works for you: >>>>>>>>>>>>>>>> "<URL_TO_OM_FROM_YOUR_MOODLE_CONFIG>/services/UserService/getSession"? >>>>>>>>>>>>>>>> It it works on your computer try it using >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> "wget >>>>>>>>>>>>>>>> <URL_TO_OM_FROM_YOUR_MOODLE_CONFIG>/services/UserService/getSession" >>>>>>>>>>>>>>>> on the machine Moodle is running >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> if both OK Apache logs need to be checked, maybe some >>>>>>>>>>>>>>>> necessesary PHP modules are not installed >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> On Wed, Sep 26, 2012 at 8:10 AM, Mohammed Arafa < >>>>>>>>>>>>>>>> [email protected]> wrote: >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> hello >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> i believe i have succesfully installed moodle and >>>>>>>>>>>>>>>>> openmeetings individually. each url path works independently. >>>>>>>>>>>>>>>>> i used: >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> apache-openmeetings-incubating-2.0.0.r1361497-14-07-2012_1108.tar.gz >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> apache-openmeetings-moodle-plugin-incubating-1.4.tar.gz >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> jodconverter-core-3.0-beta-4-dist.zip >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> moodle-latest-23.tgz >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> i have verified that individually the 2 applications work, >>>>>>>>>>>>>>>>> i have also verified that my admin user as well as the soap >>>>>>>>>>>>>>>>> user are able >>>>>>>>>>>>>>>>> to login. however, whenever i attempt to add an openmeeting >>>>>>>>>>>>>>>>> activity to my >>>>>>>>>>>>>>>>> course i keep running into this error: >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> Request OpenMeetings! OpenMeetings Service failed and no >>>>>>>>>>>>>>>>> response was returned. >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> the red5.log doesnt show much and google doesnt know >>>>>>>>>>>>>>>>> anything about this error except that it is coming from >>>>>>>>>>>>>>>>> openmeeting code. >>>>>>>>>>>>>>>>> any help or hint appreciated as things were going smoothly >>>>>>>>>>>>>>>>> till this error >>>>>>>>>>>>>>>>> showed up >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> also, i used the default settings when setting up >>>>>>>>>>>>>>>>> openmeetings and the moodle plugin >>>>>>>>>>>>>>>>> any and all advise will be helpful >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> thank you >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> *<https://www.redhat.com/wapps/training/certification/verify.html?certNumber=805010942448935&verify=Verify> >>>>>>>>>>>>>>>>> 805010942448935<https://www.redhat.com/wapps/training/certification/verify.html?certNumber=805010942448935&verify=Verify> >>>>>>>>>>>>>>>>> * >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> LinkedIn Profile<http://www.linkedin.com/in/mohammedarafa> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> Latest Resume <http://www.in-egypt.net/MArafaCV.pdf> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> VoIP: sip:[email protected] >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>>> WBR >>>>>>>>>>>>>>>> Maxim aka solomax >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> *<https://www.redhat.com/wapps/training/certification/verify.html?certNumber=805010942448935&verify=Verify> >>>>>>>>>>>>>>> 805010942448935<https://www.redhat.com/wapps/training/certification/verify.html?certNumber=805010942448935&verify=Verify> >>>>>>>>>>>>>>> * >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> LinkedIn Profile <http://www.linkedin.com/in/mohammedarafa> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Latest Resume <http://www.in-egypt.net/MArafaCV.pdf> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> VoIP: sip:[email protected] >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> -- >>>>>>>>>>>>>> WBR >>>>>>>>>>>>>> Maxim aka solomax >>>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> -- >>>>>>>>>>>>> >>>>>>>>>>>>> *<https://www.redhat.com/wapps/training/certification/verify.html?certNumber=805010942448935&verify=Verify> >>>>>>>>>>>>> 805010942448935<https://www.redhat.com/wapps/training/certification/verify.html?certNumber=805010942448935&verify=Verify> >>>>>>>>>>>>> * >>>>>>>>>>>>> >>>>>>>>>>>>> LinkedIn Profile <http://www.linkedin.com/in/mohammedarafa> >>>>>>>>>>>>> >>>>>>>>>>>>> Latest Resume <http://www.in-egypt.net/MArafaCV.pdf> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> VoIP: sip:[email protected] >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> -- >>>>>>>>>>>> WBR >>>>>>>>>>>> Maxim aka solomax >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> -- >>>>>>>>>>> >>>>>>>>>>> *<https://www.redhat.com/wapps/training/certification/verify.html?certNumber=805010942448935&verify=Verify> >>>>>>>>>>> 805010942448935<https://www.redhat.com/wapps/training/certification/verify.html?certNumber=805010942448935&verify=Verify> >>>>>>>>>>> * >>>>>>>>>>> >>>>>>>>>>> LinkedIn Profile <http://www.linkedin.com/in/mohammedarafa> >>>>>>>>>>> >>>>>>>>>>> Latest Resume <http://www.in-egypt.net/MArafaCV.pdf> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> VoIP: sip:[email protected] >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> WBR >>>>>>>>>> Maxim aka solomax >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> >>>>>>>>> *<https://www.redhat.com/wapps/training/certification/verify.html?certNumber=805010942448935&verify=Verify> >>>>>>>>> 805010942448935<https://www.redhat.com/wapps/training/certification/verify.html?certNumber=805010942448935&verify=Verify> >>>>>>>>> * >>>>>>>>> >>>>>>>>> LinkedIn Profile <http://www.linkedin.com/in/mohammedarafa> >>>>>>>>> >>>>>>>>> Latest Resume <http://www.in-egypt.net/MArafaCV.pdf> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> VoIP: sip:[email protected] >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> WBR >>>>>>>> Maxim aka solomax >>>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> WBR >>>>>> Maxim aka solomax >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> >>>>> *<https://www.redhat.com/wapps/training/certification/verify.html?certNumber=805010942448935&verify=Verify> >>>>> 805010942448935<https://www.redhat.com/wapps/training/certification/verify.html?certNumber=805010942448935&verify=Verify> >>>>> * >>>>> >>>>> LinkedIn Profile <http://www.linkedin.com/in/mohammedarafa> >>>>> >>>>> Latest Resume <http://www.in-egypt.net/MArafaCV.pdf> >>>>> >>>>> >>>>> >>>>> VoIP: sip:[email protected] >>>>> >>>>> >>>> >>>> >>>> -- >>>> >>>> *<https://www.redhat.com/wapps/training/certification/verify.html?certNumber=805010942448935&verify=Verify> >>>> 805010942448935<https://www.redhat.com/wapps/training/certification/verify.html?certNumber=805010942448935&verify=Verify> >>>> * >>>> >>>> LinkedIn Profile <http://www.linkedin.com/in/mohammedarafa> >>>> >>>> Latest Resume <http://www.in-egypt.net/MArafaCV.pdf> >>>> >>>> >>>> >>>> VoIP: sip:[email protected] >>>> >>>> >>> >>> >>> -- >>> WBR >>> Maxim aka solomax >>> >> >> >> >> -- >> >> *<https://www.redhat.com/wapps/training/certification/verify.html?certNumber=805010942448935&verify=Verify> >> 805010942448935<https://www.redhat.com/wapps/training/certification/verify.html?certNumber=805010942448935&verify=Verify> >> * >> >> LinkedIn Profile <http://www.linkedin.com/in/mohammedarafa> >> >> Latest Resume <http://www.in-egypt.net/MArafaCV.pdf> >> >> >> >> VoIP: sip:[email protected] >> >> > > > -- > WBR > Maxim aka solomax > -- *<https://www.redhat.com/wapps/training/certification/verify.html?certNumber=805010942448935&verify=Verify> 805010942448935<https://www.redhat.com/wapps/training/certification/verify.html?certNumber=805010942448935&verify=Verify> * LinkedIn Profile <http://www.linkedin.com/in/mohammedarafa> Latest Resume <http://www.in-egypt.net/MArafaCV.pdf> VoIP: sip:[email protected]
yum -y install php-common php-cli php-pear screen apr apr-util httpd-tools httpd mysql perl-DBD-MySQL mysql-server php php-pdo php-mysql libXpm php-gd php-xml php-mbstring php-xmlrpc php-intl php-soap mkdir -p /var/www/moodledata/ chmod -R ug=rwX,o= /var/www/moodledata/ chown -R root:apache /var/www/moodledata/ cd $HOME wget http://downloads.sourceforge.net/project/moodle/Moodle/stable23/moodle-latest-23.tgz?r=&ts=1348887837&use_mirror=superb-dca3 tar -zxvf moodle-latest-23.tgz rm -rf /var/www/html mv moodle /var/www/html
http://www.huangzhong.ca/linux-openmeetings-install/ ###IPTABLES reconfiguration for port 5080 service iptables stop yum -y update rpm -Uvh http://download1.rpmfusion.org/free/el/updates/6/i386/rpmfusion-free-release-6-1.noarch.rpm http://download1.rpmfusion.org/nonfree/el/updates/6/i386/rpmfusion-nonfree-release-6-1.noarch.rpm http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm mv /etc/yum.repos.d/rpmforge.repo /etc/yum.repos.d/rpmforge.repo.original cat >> /etc/yum.repos.d/rpmforge.repo << EOF [rpmforge] name = RHEL $releasever - RPMforge.net - dag baseurl = http://apt.sw.be/redhat/el6/en/$basearch/rpmforge mirrorlist = http://apt.sw.be/redhat/el6/en/mirrors-rpmforge #mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge enabled = 1 protect = 0 gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag gpgcheck = 1 excludepkgs = * includepkgs = swftools zziplib lame libmad* a52dec faac ffmpeg* librtmp opencore-amr x264 alwaysprompt = 1 EOF #yum -y groupinstall 'Office/Productivity' yum -y install wget 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++ openoffice.org-headless ghostscript lame swftools ImageMagick ffmpeg sox mysql-server ###download openmeetings from http://incubator.apache.org/openmeetings/downloads.html wget http://mirrors.ibiblio.org/apache/incubator/openmeetings/2.0-incubating/apache-openmeetings-incubating-2.0.0.r1361497-14-07-2012_1108.tar.gz mkdir /usr/src/openmeetings mv apache-openmeetings-incubating-2.0.0.r1361497-14-07-2012_1108.tar.gz /usr/src/openmeetings cd /usr/src/openmeetings tar -zxvf apache-openmeetings-incubating-2.0.0.r1361497-14-07-2012_1108.tar.gz cd $HOME wget http://www.mysql.com/get/Downloads/Connector-J/mysql-connector-java-5.1.22.tar.gz/from/http://cdn.mysql.com/ tar -xxvf mysql-connector*tar.gz mv mysql-connector*/mysql*jar /usr/src/openmeetings/webapps/openmeetings/WEB-INF/lib/. rm -rf mysql-connector-java-5.1.22 cd /usr/src/openmeetings/webapps/openmeetings/WEB-INF/classes/META-INF mv persistence.xml persistence.xml.original cp mysql_persistence.xml persistence.xml mysql_secure_installation #if not already done for moodle installation add to /etc/my.cnf the line echo "character-set-server = utf8 " >> /etc/my.cnf mysql -uroot -ppassword -e "CREATE DATABASE openmeetings;" /etc/init.d/mysqld restart vi /usr/src/openmeetings/webapps/openmeetings/WEB-INF/classes/META-INF/persistence.xml for Password and Username if necessary cd $HOME wget http://jodconverter.googlecode.com/files/jodconverter-core-3.0-beta-4-dist.zip unzip jodco*zip mv jodconverter-core-3.0-beta-4/jodconverter-core-3.0-beta-4-javadoc.jar /usr/src/openmeetings/webapps/openmeetings/WEB-INF/lib/. rm -rf jodc* crontab entry: */15 * * * * wget -O - -q -t 1 http://localhost/admin/cron.php today=`date --date "today" +%Y-%m-%d` 0 2 * * * /usr/src/openmeetings/admin.sh -b --file ~/backup.om.$today wget http://www.sohailriaz.com/downloads/red5.txt chmod +x red5.txt mv red5.txt /etc/init.d/openmeetings chkconfig --add openmeetings #edit the file for the correct RED5_HOME variable
cd $HOME wget http://mirror.metrocast.net/apache/incubator/openmeetings/moodle-plugin-1.4-incubating/apache-openmeetings-moodle-plugin-incubating-1.4.tar.gz mkdir -p /var/www/html/mod/openmeetings cd /var/www/html/mod/openmeetings tar -zxvf ~/apache-openmeetings-moodle-plugin-incubating-1.4.tar.gz login to moodle as admin click the button called "upgrade moodle database now" "continue" use defaults then go create a course and add the openmeetings as an activity
