PrivacyIDEA installation CentOS

260 views
Skip to first unread message

Erik Ranby

unread,
Aug 18, 2015, 4:34:10 AM8/18/15
to privacyidea
Hello
I have recently been trying out privacyIDEA and have during this time used a Ubuntu installation which has worked fine.
I have now decided to setup a production environment and would like to run privacyIDEA on CentOS 7. 
However when using the guide found at: https://privacyidea.readthedocs.org/en/latest/installation/pip.html#python-package-index I experience problems with dependencies that could not be installed due to version conflicts.
The CentOS machine is cleanly installed with no previous web server etc. Only things installed are basically python and mysql.
The incomplete installation results in missing dependencies as well as a lot of missing files and folders since the installation is interrupted.
Below are links to the console output.

Do you have any ideas why we are getting these conflicts?

Thanks!

Cornelius Kölbel

unread,
Aug 18, 2015, 4:50:56 AM8/18/15
to priva...@googlegroups.com
Hi,

obviously this is due to the reason that some package maintainers remove
older versions of their packages from pypi.

Please try the attached package in your virtualenv

pip install privacyIDEA-2.6dev0.tar.gz

Kind regards
Cornelius
> --
> You received this message because you are subscribed to the Google
> Groups "privacyidea" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to privacyidea...@googlegroups.com.
> To post to this group, send email to priva...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/privacyidea/2af3183c-d3f4-4ff6-8f00-317050af1fe3%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

--
Cornelius Kölbel
corneliu...@netknights.it
+49 151 2960 1417

NetKnights GmbH
http://www.netknights.it
Landgraf-Karl-Str. 19, 34131 Kassel, Germany
Tel: +49 561 3166797, Fax: +49 561 3166798

Amtsgericht Kassel, HRB 16405
Geschäftsführer: Cornelius Kölbel


privacyIDEA-2.6dev0.tar.gz
signature.asc

Erik Ranby

unread,
Aug 18, 2015, 5:23:13 AM8/18/15
to privacyidea
Thanks!
That solved all our installation issues.
We have now found some configuration issues. pi-manage.py create-signkey is not available.
Is there anything new here that we should know about?
Regards

Cornelius Kölbel

unread,
Aug 18, 2015, 6:02:16 AM8/18/15
to Erik Ranby, privacyidea
oups,
it is

pi-manage.py create_audit_keys

Kind regards
Cornelius
> https://groups.google.com/d/msgid/privacyidea/15b41673-c040-43e9-994a-7a977596428e%40googlegroups.com.
signature.asc

Erik Ranby

unread,
Aug 18, 2015, 6:28:51 AM8/18/15
to privacyidea, erik....@gmail.com
Thanks, I managed to figure that out. 

One last thing, I am now trying to setup privacyidea with Mysql and Apache and when I run:


paster setup-app /etc/privacyidea/pi.cfg


I get an error saying: paster: command not found.

Should paster have been installed, or do you know how I can install it. I have done some searching but haven't found it.


Thanks again!

Erik

Cornelius Kölbel

unread,
Aug 18, 2015, 6:46:42 AM8/18/15
to priva...@googlegroups.com
Where did you get this from?

paster was used with privacyIDEA 1.5.

You are running

pi-manage.py createdb

to create the DB. Forget about paster.

Kind regards
Cornelius
> https://groups.google.com/d/msgid/privacyidea/42ae2a52-3553-4dcd-b7dd-b53253aa7fc0%40googlegroups.com.
signature.asc

Erik Ranby

unread,
Aug 19, 2015, 5:46:32 AM8/19/15
to privacyidea
Thanks for your help!
We have got everything up and running now!
Reply all
Reply to author
Forward
0 new messages