Hosting Apache2 and BBB at the same server

925 views
Skip to first unread message

eric fyp

unread,
Nov 16, 2011, 11:04:06 PM11/16/11
to bigbluebu...@googlegroups.com

Hi all,

I am currently tried to host BBB and host a webserver using the same server, I heard before that, I should change my port for BBB to other port, because nginx and apache2 cannot use in the same time. 
I use bbb-conf --setip 10.106.36.230:81, to configure my server, and let apache2 stay in port 80, it is fine? 
I encountered the message like below. 

root@ubuntu-server1:/home/administrator# bbb-conf --check

BigBlueButton Server 0.8-beta-2
                    Kernel version: 2.6.32-34-server
                      Distribution: Ubuntu 10.04.3 LTS (64-bit)
                            Memory: 3953 MB

/var/www/bigbluebutton/client/conf/config.xml (bbb-client)
                Port test (tunnel): 10.106.36.230
                              Red5: 10.106.36.230

/etc/nginx/sites-available/bigbluebutton (nginx)
                       server name: 10.106.36.230
                              port: 81
                    bbb-client dir: /var/www/bigbluebutton

/var/lib/tomcat6/webapps/bigbluebutton/WEB-INF/classes/bigbluebutton.properties (bbb-web)
                      bbb-web host: 10.106.36.230:81

/var/lib/tomcat6/webapps/demo/bbb_api_conf.jsp (API demos)
                  bbb-web-api host: 10.106.36.230:81

/usr/share/red5/webapps/bigbluebutton/WEB-INF/red5-web.xml (red5)
                  voice conference: FreeSWITCH

/usr/local/bigbluebutton/core/scripts/slides.yml (record and playback)
                     playback host: 81


** Potential problems described below **
# The following properties in /var/lib/tomcat6/webapps/bigbluebutton/WEB-INF/classes/bigbluebutton.properties have no value.
#     bigbluebutton.web.logoutURL
# API URL IPs do not match host:
#                                IP from ifconfig: 10.106.36.230
#  /var/lib/tomcat6/webapps/demo/bbb_api_conf.jsp: 10.106.36.230:81

# The IP address (81) set for playback_host in
#    /usr/local/bigbluebutton/core/scripts/slides.yml
# does not match the local IP address (10.106.36.230).


--
Best Regards -
Eric


Fred Dixon

unread,
Nov 16, 2011, 11:16:35 PM11/16/11
to bigbluebu...@googlegroups.com
Hi Eric,

Is it an option to put BigBlueButton on it's own dedicated server?

We *strongly* recommend this to ensure better performance from
BigBlueButton. It will also eliminate the conflict problems you are
encountering with two applications wanting to use port 80.
Furthermore, it will enable you to easily update your web application
and BigBlueButton independently without conflict.

Regards,... Fred
--
BigBlueButton Developer
http://bigbluebutton.org/
http://code.google.com/p/bigbluebutton

> --
> You received this message because you are subscribed to the Google Groups
> "BigBlueButton-Setup" group.
> To post to this group, send email to bigbluebu...@googlegroups.com.
> To unsubscribe from this group, send email to
> bigbluebutton-s...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/bigbluebutton-setup?hl=en.
>

eric fyp

unread,
Nov 16, 2011, 11:47:08 PM11/16/11
to bigbluebu...@googlegroups.com
Hi Fred,

I am still seeking for another option, to have one more server to host independently, however, worse come to worse, I might need to do so, to have both in same server.
Any recommendation, in case I have to do so?

Thanks Fred.

HostBBB.com

unread,
Nov 17, 2011, 10:19:45 AM11/17/11
to BigBlueButton-Setup
Eric, i agree with Fred it should be standalone if all possible,
however if you change your apache to another port (:81?), and run
NGINX on 80.... it will work, and you can access the apache apps
directly through new port or add a nginx rule like the article below
explains so requests on port 80 with certain /paths get proxied over
to apache.

here is a good article.

http://www.debian-administration.org/article/Speeding_up_dynamic_websites_via_an_nginx_proxy

If used this a couple of times and bbb works just fine with the other
apps.

regards,
Stephen
http://hostbbb.com



On Nov 16, 11:47 pm, eric fyp <myfyp.e...@gmail.com> wrote:
> Hi Fred,
>
> I am still seeking for another option, to have one more server to host
> independently, however, worse come to worse, I might need to do so, to have
> both in same server.
> Any recommendation, in case I have to do so?
>
> Thanks Fred.
>
>
>
> On Thu, Nov 17, 2011 at 12:16 PM, Fred Dixon <ffdi...@gmail.com> wrote:
> > Hi Eric,
>
> > Is it an option to put BigBlueButton on it's own dedicated server?
>
> > We *strongly* recommend this to ensure better performance from
> > BigBlueButton. It will also eliminate the conflict problems you are
> > encountering with two applications wanting to use port 80.
> > Furthermore, it will  enable you to easily update your web application
> > and BigBlueButton independently without conflict.
>
> > Regards,... Fred
> > --
> > BigBlueButton Developer
> >http://bigbluebutton.org/
> >http://code.google.com/p/bigbluebutton
>
> > On Wed, Nov 16, 2011 at 11:04 PM, eric fyp <myfyp.e...@gmail.com> wrote:
>
> > > Hi all,
> > > I am currently tried to host BBB and host a webserver using the same
> > server,
> > > I heard before that, I should change my port for BBB to other port,
> > > because nginx and apache2 cannot use in the same time.
> > > I use bbb-conf --setip 10.106.36.230:81, to configure my server, and let
> > > apache2 stay in port 80, it is fine?
> > > I encountered the message like below.
> > > root@ubuntu-server1:/home/administrator# bbb-conf --check
> > > BigBlueButton Server 0.8-beta-2
> > >                     Kernel version: 2.6.32-34-server
> > >                       Distribution: Ubuntu 10.04.3 LTS (64-bit)
> > >                             Memory: 3953 MB
> > > /var/www/bigbluebutton/client/conf/config.xml (bbb-client)
> > >                 Port test (tunnel): 10.106.36.230
> > >                               Red5: 10.106.36.230
> > > /etc/nginx/sites-available/bigbluebutton (nginx)
> > >                        server name: 10.106.36.230
> > >                               port: 81
> > >                     bbb-client dir: /var/www/bigbluebutton
>
> > /var/lib/tomcat6/webapps/bigbluebutton/WEB-INF/classes/bigbluebutton.proper­ties
> > > (bbb-web)
> > >                       bbb-web host: 10.106.36.230:81
> > > /var/lib/tomcat6/webapps/demo/bbb_api_conf.jsp (API demos)
> > >                   bbb-web-api host: 10.106.36.230:81
> > > /usr/share/red5/webapps/bigbluebutton/WEB-INF/red5-web.xml (red5)
> > >                   voice conference: FreeSWITCH
> > > /usr/local/bigbluebutton/core/scripts/slides.yml (record and playback)
> > >                      playback host: 81
>
> > > ** Potential problems described below **
> > > # The following properties in
>
> > /var/lib/tomcat6/webapps/bigbluebutton/WEB-INF/classes/bigbluebutton.proper­ties

HostBBB.com

unread,
Nov 17, 2011, 10:10:51 AM11/17/11
to BigBlueButton-Setup


On Nov 16, 11:47 pm, eric fyp <myfyp.e...@gmail.com> wrote:
> Hi Fred,
>
> I am still seeking for another option, to have one more server to host
> independently, however, worse come to worse, I might need to do so, to have
> both in same server.
> Any recommendation, in case I have to do so?
>
> Thanks Fred.
>
>
>
> On Thu, Nov 17, 2011 at 12:16 PM, Fred Dixon <ffdi...@gmail.com> wrote:
> > Hi Eric,
>
> > Is it an option to put BigBlueButton on it's own dedicated server?
>
> > We *strongly* recommend this to ensure better performance from
> > BigBlueButton. It will also eliminate the conflict problems you are
> > encountering with two applications wanting to use port 80.
> > Furthermore, it will  enable you to easily update your web application
> > and BigBlueButton independently without conflict.
>
> > Regards,... Fred
> > --
> > BigBlueButton Developer
> >http://bigbluebutton.org/
> >http://code.google.com/p/bigbluebutton
>
> > On Wed, Nov 16, 2011 at 11:04 PM, eric fyp <myfyp.e...@gmail.com> wrote:
>
> > > Hi all,
> > > I am currently tried to host BBB and host a webserver using the same
> > server,
> > > I heard before that, I should change my port for BBB to other port,
> > > because nginx and apache2 cannot use in the same time.
> > > I use bbb-conf --setip 10.106.36.230:81, to configure my server, and let
> > > apache2 stay in port 80, it is fine?
> > > I encountered the message like below.
> > > root@ubuntu-server1:/home/administrator# bbb-conf --check
> > > BigBlueButton Server 0.8-beta-2
> > >                     Kernel version: 2.6.32-34-server
> > >                       Distribution: Ubuntu 10.04.3 LTS (64-bit)
> > >                             Memory: 3953 MB
> > > /var/www/bigbluebutton/client/conf/config.xml (bbb-client)
> > >                 Port test (tunnel): 10.106.36.230
> > >                               Red5: 10.106.36.230
> > > /etc/nginx/sites-available/bigbluebutton (nginx)
> > >                        server name: 10.106.36.230
> > >                               port: 81
> > >                     bbb-client dir: /var/www/bigbluebutton
>
> > /var/lib/tomcat6/webapps/bigbluebutton/WEB-INF/classes/bigbluebutton.proper­ties
> > > (bbb-web)
> > >                       bbb-web host: 10.106.36.230:81
> > > /var/lib/tomcat6/webapps/demo/bbb_api_conf.jsp (API demos)
> > >                   bbb-web-api host: 10.106.36.230:81
> > > /usr/share/red5/webapps/bigbluebutton/WEB-INF/red5-web.xml (red5)
> > >                   voice conference: FreeSWITCH
> > > /usr/local/bigbluebutton/core/scripts/slides.yml (record and playback)
> > >                      playback host: 81
>
> > > ** Potential problems described below **
> > > # The following properties in
>
> > /var/lib/tomcat6/webapps/bigbluebutton/WEB-INF/classes/bigbluebutton.proper­ties
Reply all
Reply to author
Forward
0 new messages