LTS

    Innovation Version

      Installing the OBS Tool

      Description

      Open Build Service (OBS) is a general tool for building source packages into RPM packages or Linux images. obs-server is the software package of OBS.

      Supported Architectures

      OBS supports x86_64 and AArch64 architectures.

      OBS Installation

      openEuler 22.03 LTS SP2 for the AArch64 architecture is used as an example to demonstrate how to install the multi-architecture obs-server packages.

      1. Check whether the OS is openEuler 22.03 LTS SP2.

        $ cat /etc/openEuler-release
        openEuler release 22.03 LTS SP2
        
      2. Configure the Yum source. The repo source for the multi-architecture obs-server must be placed before the everything repo source. An example Yum source configuration is as follows:

        [everything]
        name=everything
        baseurl=https://repo.openeuler.org/openEuler-22.03-LTS-SP2/everything/aarch64/
        enabled=1
        gpgcheck=0
        

        RUn the following command to open the repo source file and add the preceding content.

        sudo vi /etc/yum.repos.d/xxx.repo
        
      3. Enable the Yum source.

        sudo yum clean all
        sudo yum makecache
        
      4. Check whether OBS packages of other versions exist.

        sudo rpm -qa obs-server obs-common obs-api mod_passenger obs-api-deps obs-bundled-gems passenger ruby ruby-help ruby-irb rubygem-bundler rubygem-io-console rubygem-json rubygem-openssl rubygem-psych rubygem-rake rubygem-rdoc rubygems rubygem-bigdecimal rubygem-did_you_mean
        
      5. (Optional) To prevent conflicts, uninstall OBS packages of other versions.

        sudo yum remove -y obs-server obs-common obs-api mod_passenger obs-api-deps obs-bundled-gems passenger ruby ruby-help ruby-irb rubygem-bundler rubygem-io-console rubygem-json rubygem-openssl rubygem-psych rubygem-rake rubygem-rdoc rubygems rubygem-bigdecimal rubygem-did_you_mean
        

        Note

        • The example repo source is the multi-architecture version of obs-server released with openEuler 22.03 LTS SP2.
        • Installation dependency packages of different versions may conflict, causing installation failure. You are advised to uninstall the preceding software packages before installation.
      6. Install obs-server packages.

        sudo yum install -y obs-api obs-server
        
      7. Check whether obs-server packages are successfully installed.

        $ rpm -qa | grep obs-server
        obs-server-2.10.11-6.oe2203.noarch
        $ rpm -qa | grep obs-api
        obs-api-2.10.11-6.oe2203.noarch
        

      OBS Deployment

      1. Obtain the deployment script at https://gitee.com/openeuler/infrastructure/tree/master/obs/tf/startup.

      2. Run the restart_service.sh script to deploy the OBS tool.

      Usage Instructions

      You can build RPM packages using the OBS web UI or the osc CLI tool. For details, see Building an RPM Package.

      Bug Catching

      Buggy Content

      Bug Description

      Submit As Issue

      It's a little complicated....

      I'd like to ask someone.

      PR

      Just a small problem.

      I can fix it online!

      Bug Type
      Specifications and Common Mistakes

      ● Misspellings or punctuation mistakes;

      ● Incorrect links, empty cells, or wrong formats;

      ● Chinese characters in English context;

      ● Minor inconsistencies between the UI and descriptions;

      ● Low writing fluency that does not affect understanding;

      ● Incorrect version numbers, including software package names and version numbers on the UI.

      Usability

      ● Incorrect or missing key steps;

      ● Missing prerequisites or precautions;

      ● Ambiguous figures, tables, or texts;

      ● Unclear logic, such as missing classifications, items, and steps.

      Correctness

      ● Technical principles, function descriptions, or specifications inconsistent with those of the software;

      ● Incorrect schematic or architecture diagrams;

      ● Incorrect commands or command parameters;

      ● Incorrect code;

      ● Commands inconsistent with the functions;

      ● Wrong screenshots.

      Risk Warnings

      ● Lack of risk warnings for operations that may damage the system or important data.

      Content Compliance

      ● Contents that may violate applicable laws and regulations or geo-cultural context-sensitive words and expressions;

      ● Copyright infringement.

      How satisfied are you with this document

      Not satisfied at all
      Very satisfied
      Submit
      Click to create an issue. An issue template will be automatically generated based on your feedback.
      Bug Catching
      编组 3备份