From Mageia wiki
Jump to: navigation, search
m (added note on qemu-kvm)
m (fixed sed command)
Line 13: Line 13:
  
 
use fake authentication for development/testing purposes
 
use fake authentication for development/testing purposes
   sudo sed -i 's:^#method = Fake|OpenID|iChain:method = Fake:g /etc/openqa/openqa.ini
+
   sudo sed -i 's:^# method = Fake|OpenID|iChain:method = Fake:g' /etc/openqa/openqa.ini
  
 
create a new webserver configuration from the template
 
create a new webserver configuration from the template

Revision as of 20:36, 23 December 2015

--doktor5000 22:33, 19 December 2015 (UTC)

I've used the instructions at: https://github.com/os-autoinst/openQA/blob/master/docs/Installing.asciidoc

For a new installation of openqa on cauldron, I used the following commands to get a basic config.
You need the openqa package installed, it should require apache webserver via the httpd package
and also all it's other dependencies (various perl modules and os-autoinst)
If you don't use sudo, then simply omit it from the commands and run them as root:

use only http for testing purposes, avoids configuring an https certificate

 echo -e "[openid]\nhttpsonly = 0" | sudo tee -a /etc/openqa/openqa.ini

use fake authentication for development/testing purposes

 sudo sed -i 's:^# method = Fake|OpenID|iChain:method = Fake:g' /etc/openqa/openqa.ini

create a new webserver configuration from the template

 sudo cp /etc/httpd/conf.d/openqa.conf.template /etc/httpd/conf.d/openqa.conf

adapt as necessary

 sudo vi /etc/httpd/conf.d/openqa.conf

start the openQA web UI

 sudo systemctl start openqa-webui

check the status and logs

 sudo systemctl status openqa-webui -a

reload webserver

 sudo systemctl reload httpd.service

OpenQA should then be listening at: http://localhost:9526/

--doktor5000 22:33, 19 December 2015 (UTC)


Please note qemu-kvm dependency issue on User Page ---(User:vzawalin1 09:10 21 December 2015 (EASST]

qemu-kvm is a required binary, in Mageia that is contained in qemu package, see my mail - adjusted dependency in the packages --doktor5000 23:33, 20 December 2015 (UTC)