Search

Mittwoch, 3. März 2021

2: Actual installation of Gluu server

 2: Actual installation of Gluu server

Read this documentation and follow specified instructions in the documentation bellow (for each Linux distro your experience can be very different): 

So Gluu server installed what’s next?!

Then at this point you need to run after install setup describe here 

Run with command setup.py  -c
Reference youtube video: 
You will be ask about your hostname: don’t provide stuff like localhost or ip address, write something creative like:

tuxatwork.gluu.org or pinguineattack.gluu.org 

Please notice that it should be qualified domain name , if you plan to have in future own domain , well use this domain name!

THIS IS VERY IMPORTANT OR OTHERWISE IT WOULD NOT WORK AS YOU EXPECTED!
Make sure that your fully qualified domain name is listed in /etc/hosts

Here you can find good example

So this my last warning use proper hostname: like mainframe.gluu.org or mainframe.info.org Basically it should look like this ip-address yourhostname.gluu.org I would provide some further screens, because it’s hard to explain ;)

this is what you see when you run setup Python script for the first time (this would you see without parameter running setup without –c parameter!)

Then on the next screen you will see some boring info,

just type orga name which you represents, email , city name and etc. next screen you need to pick the services which you want to install, I choosen

Apache Server and the Admin GUI Gluu product services web page, there you would get information about each of
possible service ;) (this would you see without parameter running setup without –c parameter!):

Next finally you see following:

Or with running with parameter –c

This is somehow tricky, my best advise use this default,
because installing way to many services is not sane and before you install
them think about your production case in any case my best advice look up what those services doing
and if you find them useful only then install,
in my case of single page application I use default settings ;)

Don’t forget to setup a oxTrust password for your login: which should pretty complex
and not brute forceable and shouldn’t be easy “hackable”!

The following steps are optional, follow them
with caution:

Then you can pick the persistence which in the case of Gluu  Server is a Couchbase and set the password for the admin of couchbase!

If Couchbase is not installed, well then use following guide https://gluu.org/docs/cb/,
well that wasn’t really helpful!!

Use the official Couchdb guide

Don’t forget to check that you install community version of couchdb!

Try https://access.redhat.com/solutions/10154  and download package in chrooted environment

/opt/dist/couchbase/ rename  couchbase community to enterprise edition example like following:

mv couchbase-server-community-6.6.0-centos8.x86_64.rpm \ couchbase-server-enterprise-6.6.0-centos8.x86_64.rpm

Oh my good it’s so difficult to setup the couchbase, well in my case I start from this point i do all steps without couchdb!!!!!

After many times of failure with couchbase setup I finally   decided to give up on couchbase usage in such small test case!

Here you actually select what you prefer to store in OpenDJ , I decided to stay with default settings, but even if you unselected , as you can see on following  screenshot those properties would be save in the Couchbase (If of course you was able to connect to it).

The following steps are important, follow them
with caution:

This is what you see if you selected install couchbase!
(this what would you see without parameter -c):

Wasn’t so difficult afterwards?! ;) Nope it is DIFFICULT!!!!!
After that confirm your packages selection! (this what would you see without parameter -c):

Now, if all packages as presented display , then hit next , finally the Gluu server installation begins and hopefully nothing brakes!
If you trying to use couchbase you can experience following errors, the Gluu setup wasn’t able to resolve them, because couchbase have pretty complex configuration
setup, but overall for my case I don’t use couchbase.


Finally after like 6 installation “trials” I have completely and successfully installed the Gluu server.


Man that’s was a lot of work, but it  was worth it ,

don’t forget you creating your own identity access provider service  , which allows you to have complete independence
from the famous identity cloud providers!!
Check what runs on your box: netstat –tulnp

You will see active open ports on your Linux box, Gluu Server takes a few minutes so wait like 10 minutes before running this command.

Keine Kommentare:

Kommentar veröffentlichen

All comments are pre moderated be polite and respectful!

Blog-Archiv

Blog readers favorites