Apr 29 2012

CBS – Ready??

I now think I have gotten the last problems sorted out, and CBS is now running perfectly on my CentOS server..

Signing service is now also working..

I’m still missing a few RHEL dependencies, but I hope to get this sorted out soon…

Once again, the installation instructions:

First of all, remember to setup either DNS or /etc/hosts to match hostname of the server…

RHEL6:

wget -O /etc/yum.repos.d/RHEL-CBS.repo http://download.opensuse.org/repositories/home:/martin-juhl:/branches:/openSUSE:/Tools/RHEL_6/home:martin-juhl:branches:openSUSE:Tools.repo

or

CentOS6:

wget -O /etc/yum.repos.d/CentOS-CBS.repo http://download.opensuse.org/repositories/home:/martin-juhl:/branches:/openSUSE:/Tools/CentOS_6/home:martin-juhl:branches:openSUSE:Tools.repo

For dependencies we also need the EPEL repository:

rpm -ivh http://ftp.crc.dk/fedora-epel/6/i386/epel-release-6-5.noarch.rpm

yum install obs-web-httpd obs-server obs-worker obs-api mysql-server

chkconfig obsworker on
chkconfig iptables off
chkconfig mysqld on
service mysqld start

Configure:
/etc/sysconfig/obs-server

Set:
OBS_API_AUTOSETUP=”no”
to:
OBS_API_AUTOSETUP=”yes”

and:
OBS_VM_TYPE=”auto”
to:
OBS_VM_TYPE=”none”

/etc/init.d/obsapisetup start

mv /etc/httpd/conf.d/ssl.conf /etc/httpd/conf.d/ssl.conf.bak

chkconfig httpd on
chkconfig obssignd on

reboot

Now go the servers IP-adresse/Hostname for the web-interface…

Login: Admin

Pass: opensuse