Discussion:
[arangodb-google] Unattended Installation of ArangoDB on CentOS/ Fedora/ SuSELEAP
Monosij Dutta-Roy
2018-06-11 12:56:07 UTC
Permalink
I am trying the ArangoDB installation also on CentOS/ Fedora/ SuSELEAP.

Works great on all three, except trying to set the password there as well
by this line:

ARANGODB_DEFAULT_ROOT_PASSWORD=NEWPASSWORD arango-secure-installation;

But somehow it does not seem to set it - it completely ignores the command,
no errors though, as I see this post installation:

----------------------------------------------------------------------------------
systemctl enable arangodb3.service
SECURITY HINT:
run 'arango-secure-installation' to set a root password
the current password is '1967f9f2c4b8d9698b8f46b23eeeeb8f'
(You should do this for a FRESH install! For an UPGRADE the password does
not need to be changed)
Running as unit: run-re044fe5c931a48f0b91d7ac32fe6f6c3.service
Verifying : arangodb3-3.3.9-1.x86_64
1/1


Installed:
arangodb3.x86_64 3.3.9-1

Complete!
----------------------------------------------------------------------------------

I am trying to understand if I should be running the set password a
different way.
I did not find anything here:
https://github.com/arangodb/arangodb/tree/devel/Installation

Or do you think perhaps it sets it ok.

Please let me know when you get a chance.

Thank you.

Mono
--
You received this message because you are subscribed to the Google Groups "ArangoDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to arangodb+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Monosij Dutta-Roy
2018-06-11 15:41:01 UTC
Permalink
Hi Wilfried -

I do not have much experience building RPMs.

However I do see in the link you sent the following line:
echo "run 'arango-secure-installation' to set a root password"

Thus I assume I should be able to run. post-installating, the following
line as I run currently?
ARANGODB_DEFAULT_ROOT_PASSWORD=NEWPASSWORD arango-secure-installation;

However, I am not sure it is working as it does not provide any
feedback,such as 'new Password Now Set' or something to that effect.
Also would be very helpful if running *arango-secure-installation -h* could
give us all options avail as part of the script and how to best run them in
automated mode.

If that could happen as part of the RPM would be great.

More importantly I am trying to confirm if that script
*arango-secure-installation* is functional? Or if I am running it from bash
the right way.

Thank you again for your help.

Mono
Hi,
the rpm installation isn't able to set a password by default, since there
are no dialog options.
Therefore the dummy password will allways be created, and you will read
the message.
Your setting of your own password should follow that.
If you have any hints howto improve the rpms (they're built from
https://github.com/arangodb/arangodb/blob/devel/Installation/rpm/arangodb.spec.in
) let us know!
Cheers,
Willi
Post by Monosij Dutta-Roy
I am trying the ArangoDB installation also on CentOS/ Fedora/ SuSELEAP.
Works great on all three, except trying to set the password there as well
ARANGODB_DEFAULT_ROOT_PASSWORD=NEWPASSWORD arango-secure-installation;
But somehow it does not seem to set it - it completely ignores the
----------------------------------------------------------------------------------
systemctl enable arangodb3.service
run 'arango-secure-installation' to set a root password
the current password is '1967f9f2c4b8d9698b8f46b23eeeeb8f'
(You should do this for a FRESH install! For an UPGRADE the password does
not need to be changed)
Running as unit: run-re044fe5c931a48f0b91d7ac32fe6f6c3.service
Verifying : arangodb3-3.3.9-1.x86_64
1/1
arangodb3.x86_64 3.3.9-1
Complete!
----------------------------------------------------------------------------------
I am trying to understand if I should be running the set password a
different way.
https://github.com/arangodb/arangodb/tree/devel/Installation
Or do you think perhaps it sets it ok.
Please let me know when you get a chance.
Thank you.
Mono
--
You received this message because you are subscribed to the Google Groups "ArangoDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to arangodb+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...