LogoopenSUSE Build Service > Projects
Sign Up | Log In

Preconfigured OpenSUSE Build Service for "localhost" (latest)

OpenSUSE Build Service preconfigured for a private local host.

Select the obs-config-mysql-apache package for a preconfigured install.


* database setup.
* SSL key generation.
* Apache2 setup

The service will use the `hostname -f` as system name, so this command has to work correctly BEFORE installing the packages. Please make sure your DNS is working.
Add the <fqdn> and obs.<fqdn> to your DNS records and/or to your /etc/hosts file.

OBS can be reached at: http://obs.<fqdn>

User:     Admin
Password: opensuse

Use the 'obsctl' command to control the services:

obsctl enable
obsctl disable
obsctl status
obsctl start
obsctl stop

Other users/passwords used:
User:     root
Password: opensuse
User:     obs
Password: obspassword


This is not a safe setup.
Do NOT use this setup for a public OBS.


KNOWN bugs / problems:

* obs-config-mysql-apache hangs during install. Gpg key generation is hanging.
    There is not enough entropy for it to generate a key. You can try running:
      dd if=/dev/sda of=/dev/zero
    for a few minutes.
    (Did not help on one of my systems, still searching for another solution)

  Try using obs-config-mysql-apache-nokeys. You can try to generate the keys 
  using the commandline tool obs-keygen

* passenger / webui does not start:
   sudo /usr/sbin/obs restart

   or reboot the system.

* Workers / architecture not starting:
    Check your qemu-xxx setup
    or change the OBS_VM_TYPE into "none" in /etc/sysconfig/obs-server

* Editing the repository to add a repo / path does not work
    Workaround: Use the meta tab to edit the project config directly.

    <path project="Packman:Essentials" repository="openSUSE_Leap_42.3"/>
    <path project="Packman:Extra" repository="openSUSE_Leap_42.3"/>
    <path project="Packman:Multimedia" repository="openSUSE_Leap_42.3"/>
    <path project="Packman:Games" repository="openSUSE_Leap_42.3"/>

Hints and tips:

* If you want to relink the apache2 directories,
  edit the file /etc/apache2/httpd.conf and
  add in the section <Directory /> the statement "Options FollowSymLinks"

Comments for home:Ximi1970:Servers:OBS:latest (0)