jitsi-admin icon indicating copy to clipboard operation
jitsi-admin copied to clipboard

Installation Guide

Open SpiderChat opened this issue 3 years ago • 15 comments

Dear Team

Any installation guide?

SpiderChat avatar Aug 13 '21 05:08 SpiderChat

Hello @SpiderChat,

here is the instruction: https://github.com/H2-invent/jitsi-admin/wiki/Get-Started-English

h2Entwicklung avatar Aug 16 '21 08:08 h2Entwicklung

on a linux machine, you can just run bash install.sh after cloning

h2Entwicklung avatar Aug 16 '21 08:08 h2Entwicklung

How to get this information:

Enter the base url of the Jitsi-Admin: Enter the URL to keycloak with /auth at the end: Keycloak realm: Keycloak Client Id: Keycloak Client Secret:

SpiderChat avatar Aug 17 '21 11:08 SpiderChat

Hello @SpiderChat,

The Jitsi-Adin uses the keycloak Identityprovider to Sign in. This is an FOSS Single Sign On System, which has to be installed. https://www.keycloak.org

In this app you can create a new Client and this values has to bes set there.

h2Entwicklung avatar Aug 17 '21 11:08 h2Entwicklung

Using nginx or apache2?

SpiderChat avatar Aug 18 '21 21:08 SpiderChat

Keycloak has been installed on my server.

How to create? Keycloak realm: Keycloak Client Id: Keycloak Client Secret:

SpiderChat avatar Aug 18 '21 22:08 SpiderChat

hello @SpiderChat

We use only apache2 for our Jitsi-Admin.

To create a Realm and a client you have to follow these guidlines https://www.keycloak.org/docs/latest/getting_started/ https://wjw465150.gitbooks.io/keycloak-documentation/content/authorization_services/topics/resource-server/create-client.html

Best regards

h2Entwicklung avatar Aug 19 '21 09:08 h2Entwicklung

@SpiderChat Is your issue solved?

h2Entwicklung avatar Aug 22 '21 09:08 h2Entwicklung

https://www.keycloak.org/getting-started

I have install Keycloak on OpenJDK Right?

SpiderChat avatar Aug 22 '21 18:08 SpiderChat

@SpiderChat correct, and then just start with the command.

h2Entwicklung avatar Aug 22 '21 18:08 h2Entwicklung

I was a bit confused about the database. What is the database used, mysql, mariadb or postgersql? I just want to make sure before install

SpiderChat avatar Aug 23 '21 07:08 SpiderChat

@SpiderChat you mean in the keycloak app? there is an internal h2 database used. But when you want to use it in production I recommend to use mySQL.

h2Entwicklung avatar Aug 23 '21 17:08 h2Entwicklung

Can you give me an example for this?

Keycloak realm: Keycloak Client Id: Keycloak Client Secret:

Thank you.

SpiderChat avatar Aug 29 '21 04:08 SpiderChat

Keycloak realm is the realm you add when installing keycloak via https://www.keycloak.org/docs/latest/getting_started/ in section https://www.keycloak.org/docs/latest/getting_started/#creating-a-realm-and-a-user. you can choose a string like your company name or something. Client ID is a free string you enter when configuring client application in keycloak. i chose jitsiadmin here ;) it's this section in the getting started guide: https://www.keycloak.org/docs/latest/getting_started/#registering-the-wildfly-application Client Secret is a generated GUID you can see after adding the client to keyclok unter "credentials": image

Hope it helps

AlexanderGabriel avatar Aug 29 '21 10:08 AlexanderGabriel

Hello @SpiderChat, Since the last version we have a docker version for the jitsiadmin. The docker Installation already includes everything like keycloak, the new Mercure hub, async services and a database. The installation instructions can be found here. https://github.com/H2-invent/jitsi-admin/wiki/Install-jitsi-admin-in-docker

So this is much easier to deploy the complete jitsiadmin stack.

holema avatar Jul 23 '22 08:07 holema

pls help me after cloning code and running bash ,also setting up keycloak client id,realm,password ,when opening base url of jitsiadmin which i provide during installation i am getting 500 internal server eroor how to fix it, also while setting keycloak we have to make realm, client nd obtain its secreat . Do we also have to setup user in keycloak ?

297297sid avatar May 01 '23 10:05 297297sid

This is fixed in the latest version

holema avatar May 28 '23 08:05 holema