Installation#

Download and install Beaker:

$ cd /etc/yum.repos.d/
$ wget https://beaker-project.org/yum/beaker-server-Fedora.repo
$ dnf install beaker-server --nogpgcheck
$ dnf install mysql-server MySQL-python

Database Setup#

Edit /etc/my.cnf:

[mysqld]
character-set-server=utf8

Then execute the following commands:

$ systemctl start mysqld.service
$ mysql
mysql> create database beaker;
mysql> create user beaker;
mysql> grant all on beaker.* to beaker identified by 'beaker';

Edit /etc/beaker/server.cfg:

sqlalchemy.dburi = "mysql://beaker:beaker@localhost/beaker?charset=utf8"

Server Setup#

Execute the following commands:

$ beaker-init -u admin -p testing -e <email>

To run with HTTP port, edit /etc/httpd/conf.d/nss.conf:

NSSEngine off

To run with HTTPS port, edit /etc/httpd/conf.d/nss.conf:

NSSPassPhraseDialog  file:/etc/httpd/alias/pwdfile.txt
$ echo Secret.123 > /etc/httpd/alias/pwdfile.txt

Then execute the following commands:

$ systemctl enable httpd.service
$ systemctl start httpd.service
$ setenforce 0
$ systemctl enable beakerd.service
$ systemctl start beakerd.service

Server UI#

Open http://$HOSTNAME/bkr/.

References#