You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@openmeetings.apache.org by ratatouille <ra...@bitclusive.de> on 2020/04/15 13:01:51 UTC
Installing Kurento
Hello!
For me it seems to be nearly impossible to install KMS on a CentOS 7.
I have no clue how to achive that. The steps to do it are completely
opaque to me.
I read it can be done via docker but I have no experience with docker.
Don't know what steps to take and what is nessesary to do it.
Sadly if I can't install Kurento I can't use openmeetings as far as I
understand it.
Can someone provide help with this?
Andreas
Re: Installing Kurento
Posted by df...@gmx.de.
Am Mittwoch, 15. April 2020, 17:51:29 CEST schrieb Juan Antonio Moreno Carmona:
> Hi all.
>
> @Andreas, I dont use Centos but if you can install docker, then it's
> easy to install kurento.
Every way what is mentioned here (include docker) is only available for 64bits. My server
runs Debian stretch 32 bits.
Regards
Andreas
Re: Installing Kurento
Posted by ratatouille <ra...@bitclusive.de>.
Hello!
Juan Antonio Moreno Carmona <ja...@gmail.com> schrieb am 16.04.20 um 10:42:34 Uhr:
> Well, if you have docker installed, what is the result of the below
> command? Copy all four lines at once and paste them into a terminal. The
> result should be that docker downloads the latest available version of
> kurento, installs it and runs it.
> Take care of changing the installation path of openmeetings if it's not
> /opt/open504.
>
> ------------------------------------------------------------------------------------------
>
> sudo docker run -d --name kms -p 8888:8888 --mount type=bind,\
> source=/opt/open504/webapps/openmeetings/data,\
> target=/opt/open504/webapps/openmeetings/data \
> kurento/kurento-media-server
>
> -----------------------------------------------------------------------------------------
>
> If the above command works, then you can check that kurento is started
> and listening with the following command
>
> curl -i -N \
> -H "Connection: Upgrade" \
> -H "Upgrade: websocket" \
> -H "Host: 127.0.0.1:8888" \
> -H "Origin: 127.0.0.1" \
> http://127.0.0.1:8888/kurento
>
> Once again, copy all six lines at once and paste them into a terminal.
> The result should be:
>
> HTTP/1.1 500 Internal Server Error
> Server: WebSocket++/0.7.0
>
> I suppose you have curl installed. If not, you can install it with:
>
> yum install curl
Thank you, very helpfull! I'll do this this evening on the real
openmeetingsserver and see how it goes.
Andreas
Re: Installing Kurento
Posted by Juan Antonio Moreno Carmona <ja...@gmail.com>.
Well, if you have docker installed, what is the result of the below
command? Copy all four lines at once and paste them into a terminal. The
result should be that docker downloads the latest available version of
kurento, installs it and runs it.
Take care of changing the installation path of openmeetings if it's not
/opt/open504.
------------------------------------------------------------------------------------------
sudo docker run -d --name kms -p 8888:8888 --mount type=bind,\
source=/opt/open504/webapps/openmeetings/data,\
target=/opt/open504/webapps/openmeetings/data \
kurento/kurento-media-server
-----------------------------------------------------------------------------------------
If the above command works, then you can check that kurento is started
and listening with the following command
curl -i -N \
-H "Connection: Upgrade" \
-H "Upgrade: websocket" \
-H "Host: 127.0.0.1:8888" \
-H "Origin: 127.0.0.1" \
http://127.0.0.1:8888/kurento
Once again, copy all six lines at once and paste them into a terminal.
The result should be:
HTTP/1.1 500 Internal Server Error
Server: WebSocket++/0.7.0
I suppose you have curl installed. If not, you can install it with:
yum install curl
El 16/4/20 a las 9:19, ratatouille escribió:
> Hello!
>
> Juan Antonio Moreno Carmona <ja...@gmail.com> schrieb am 15.04.20 um 17:51:29 Uhr:
>
>> @Andreas, I dont use Centos but if you can install docker, then it's
>> easy to install kurento.
>>
>> So, can you do following?
>>
>> yum install docker
> I have docker installed like that. But I struggle on understanding
> what is needed then. As I understand, docker is a containersolution
> like virtualbox for example.
>
> But how do I call docker to install kurento? I assume I need an image
> of kurento but where to get it from. The kurento site only discribes
> installation with apt. Like Zenon mentioned they are focused on
> Ubuntu.
>
> Can someone describe the steps to install via docker and what is
> needed?
>
> Andreas
Re: Installing Kurento
Posted by ratatouille <ra...@bitclusive.de>.
HelloE
Maxim Solodovnik <so...@gmail.com> schrieb am 16.04.20 um 14:58:57 Uhr:
> Just run in terminal
>
> `docker run --name kms -d -p 8888:8888 kurento/kurento-media-server`
ah fine. That worked.
# ps aux |grep kurento
root 7329 5.8 0.3 386428 23476 ? Ssl 10:40 0:00 /usr/bin/kurento-media-server
Thank you very much! I'll see how to proceed.
Andreas
Re: Installing Kurento
Posted by Maxim Solodovnik <so...@gmail.com>.
Just run in terminal
`docker run --name kms -d -p 8888:8888 kurento/kurento-media-server`
On Thu, 16 Apr 2020 at 14:20, ratatouille <ra...@bitclusive.de> wrote:
> Hello!
>
> Juan Antonio Moreno Carmona <ja...@gmail.com> schrieb am 15.04.20 um
> 17:51:29 Uhr:
>
> > @Andreas, I dont use Centos but if you can install docker, then it's
> > easy to install kurento.
> >
> > So, can you do following?
> >
> > yum install docker
>
> I have docker installed like that. But I struggle on understanding
> what is needed then. As I understand, docker is a containersolution
> like virtualbox for example.
>
> But how do I call docker to install kurento? I assume I need an image
> of kurento but where to get it from. The kurento site only discribes
> installation with apt. Like Zenon mentioned they are focused on
> Ubuntu.
>
> Can someone describe the steps to install via docker and what is
> needed?
>
> Andreas
>
--
Best regards,
Maxim
Re: Installing Kurento
Posted by ratatouille <ra...@bitclusive.de>.
Hello!
Juan Antonio Moreno Carmona <ja...@gmail.com> schrieb am 15.04.20 um 17:51:29 Uhr:
> @Andreas, I dont use Centos but if you can install docker, then it's
> easy to install kurento.
>
> So, can you do following?
>
> yum install docker
I have docker installed like that. But I struggle on understanding
what is needed then. As I understand, docker is a containersolution
like virtualbox for example.
But how do I call docker to install kurento? I assume I need an image
of kurento but where to get it from. The kurento site only discribes
installation with apt. Like Zenon mentioned they are focused on
Ubuntu.
Can someone describe the steps to install via docker and what is
needed?
Andreas
Re: Installing Kurento
Posted by Juan Antonio Moreno Carmona <ja...@gmail.com>.
Hi all.
@Andreas, I dont use Centos but if you can install docker, then it's
easy to install kurento.
So, can you do following?
yum install docker
El 15/4/20 a las 15:01, ratatouille escribió:
> Hello!
>
> For me it seems to be nearly impossible to install KMS on a CentOS 7.
> I have no clue how to achive that. The steps to do it are completely
> opaque to me.
>
> I read it can be done via docker but I have no experience with docker.
> Don't know what steps to take and what is nessesary to do it.
>
> Sadly if I can't install Kurento I can't use openmeetings as far as I
> understand it.
>
> Can someone provide help with this?
>
> Andreas
Re: Installing Kurento
Posted by Maxim Solodovnik <so...@gmail.com>.
Wow,
I would share your work at
https://groups.google.com/forum/#!forum/kurento might
get a lot of interest
On Wed, 15 Apr 2020 at 23:02, Zenon Panoussis <or...@provocation.net>
wrote:
>
> > For me it seems to be nearly impossible to install KMS on a CentOS 7.
> > I have no clue how to achive that. The steps to do it are completely
> > opaque to me.
>
> The folks at Kurento have tried to make things really easy,
> but they are totaly focused on ubuntu. For anything else
> you need to use the docker image and then you run into a
> completely new set of problems with opaque configuration,
> NAT traversal etc.
>
> I am running on centos8 and had the same problem as you.
> I installed the docker image (running under packman) and
> it worked out of the box, but with NAT traversal problems
> that a TURN server did not solve.
>
> I detest this sort of convoluted setups forced upon me, so
> I set out to repackage kurento in native rpms. It's a long
> and tedious process, not least because kurento has made its
> own versions of gstreamer and openwebrtc and other such
> instead of using upstream with patches when needed, but
> I'm making progress.
>
> You will find everything I make (thrown in in complete
> disorder) on http://www.provocation.net/rpms/. So far
> I have all direct dependencies and part of kurento core.
> What's still left to do is
>
> kms-filters-chroma
> kms-filters-crowddetector
> kms-filters-platedetector
> kms-filters-pointerdetector
> kms-filters
> kms-libs3
> kurento-media-server
>
> You could try to rebuild my srpms on centos7 and see how it
> goes. This would certainly require you to upgrade some of
> kurento's dependencies to newer versions than the distro's,
> but that's a small price to pay. Many of the off-distro
> audio and video stuff is already there in el7 builds, so
> that makes it easier.
>
> Cheers,
>
> Z
>
>
--
Best regards,
Maxim
Re: Installing Kurento
Posted by Zenon Panoussis <or...@provocation.net>.
> For me it seems to be nearly impossible to install KMS on a CentOS 7.
> I have no clue how to achive that. The steps to do it are completely
> opaque to me.
The folks at Kurento have tried to make things really easy,
but they are totaly focused on ubuntu. For anything else
you need to use the docker image and then you run into a
completely new set of problems with opaque configuration,
NAT traversal etc.
I am running on centos8 and had the same problem as you.
I installed the docker image (running under packman) and
it worked out of the box, but with NAT traversal problems
that a TURN server did not solve.
I detest this sort of convoluted setups forced upon me, so
I set out to repackage kurento in native rpms. It's a long
and tedious process, not least because kurento has made its
own versions of gstreamer and openwebrtc and other such
instead of using upstream with patches when needed, but
I'm making progress.
You will find everything I make (thrown in in complete
disorder) on http://www.provocation.net/rpms/. So far
I have all direct dependencies and part of kurento core.
What's still left to do is
kms-filters-chroma
kms-filters-crowddetector
kms-filters-platedetector
kms-filters-pointerdetector
kms-filters
kms-libs3
kurento-media-server
You could try to rebuild my srpms on centos7 and see how it
goes. This would certainly require you to upgrade some of
kurento's dependencies to newer versions than the distro's,
but that's a small price to pay. Many of the off-distro
audio and video stuff is already there in el7 builds, so
that makes it easier.
Cheers,
Z
Re: Installing Kurento
Posted by Maxim Solodovnik <so...@gmail.com>.
Have you tried guide for CentOS7 from here
https://cwiki.apache.org/confluence/display/OPENMEETINGS/Tutorials+for+installing+OpenMeetings+and+Tools
?
On Wed, 15 Apr 2020 at 20:02, ratatouille <ra...@bitclusive.de> wrote:
> Hello!
>
> For me it seems to be nearly impossible to install KMS on a CentOS 7.
> I have no clue how to achive that. The steps to do it are completely
> opaque to me.
>
> I read it can be done via docker but I have no experience with docker.
> Don't know what steps to take and what is nessesary to do it.
>
> Sadly if I can't install Kurento I can't use openmeetings as far as I
> understand it.
>
> Can someone provide help with this?
>
> Andreas
>
--
Best regards,
Maxim