Installation

Latest Release

Community Release 19

Pulp Build 0.254
Released December 15th, 2011
Builds Fedora 15 (i386, x86_64), Fedora 16 (i386, x86_64), Red Hat Enterprise Linux 5 (i386, x86_64), Red Hat Enterprise Linux 6 (i386, x86_64)

Repository: http://repos.fedorapeople.org/repos/pulp/pulp/

Testing Builds

Community Releases are built and tested at the end of each Pulp sprint (roughly every three weeks). Testing builds are created more frequently (currently every Wednesday and Friday afternoon) and contain in progress features and bug fixes. While it is recommended that users try to stick with the Community Releases, there may be times where a feature or bug fix is desired before a CR is built.

The repo files for  Fedora and  RHEL contain definitions for both the community releases and our testing build repository, however the latter is disabled by default. To install or update to a testing build, simply edit the Pulp repo file and set the testing repo's enabled flag to 1. The next time yum downloads Pulp, it will use the testing build.


Prerequisites


Installation

Server

  1. Download the necessary repository configuration files:
Fedora
$ wget -O /etc/yum.repos.d/fedora-pulp.repo http://repos.fedorapeople.org/repos/pulp/pulp/fedora-pulp.repo


Red Hat Enterprise Linux 5

Pulp Repository
$ wget -O /etc/yum.repos.d/rhel-pulp.repo http://repos.fedorapeople.org/repos/pulp/pulp/rhel-pulp.repo
Install EPEL
$ rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
Subscribe the Pulp server to the RHN channels:
  • MRG Messaging v. 1
  • MRG Messaging Base v. 1


Red Hat Enterprise Linux 6

Pulp Repository
$ wget -O /etc/yum.repos.d/rhel-pulp.repo http://repos.fedorapeople.org/repos/pulp/pulp/rhel-pulp.repo
Install EPEL for RHEL 6
$ rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-5.noarch.rpm
  1. Install Pulp and its dependencies:
CentOS

QPID RPMs are not available in the default CentOS repositories. Instructions on building those RPMs can be found here.
$ yum install pulp
  1. Update /etc/pulp/pulp.conf to reflect the hostname of the Pulp server.
    • Change localhost in the below to the hostname of the Pulp server.
      [server]
      server_name: localhost
      ...
      ...
      [messaging]
      url:        tcp://localhost:5672
      
Red Hat Enterprise Linux 5

The RHEL WSGI installation does not automatically enable the Apache module. This must be explicitly done by editing the /etc/httpd/conf.d/wsgi.conf file and uncommenting the LoadModule line. If Apache is already running when this change is made, it will need to be restarted. If it is not running, the pulp-server start script will start it automatically.

SELinux needs to be disabled or set to permissive for RHEL-5.
  1. Initialize Pulp, which starts and configures database:
Red Hat Enterprise Linux 5

SELinux needs to be disabled or set to permissive for RHEL-5.
$ service pulp-server init
  1. Start Pulp, which starts the database, message bus broker, and web server:
    $ service pulp-server start
    
  1. (optional) Configure Pulp to automatically start system startup:
    $ chkconfig pulp-server on
    

Installation Notes


Admin Client

The Pulp Admin Client is used for administrative commands on the Pulp server, such as the manipulation of repositories and content. The Pulp Admin Client can be run on any machine that can access the Pulp server, including the server itself. It is not a requirement that the admin client be run on a machine that is configured as a Pulp consumer.

Pulp admin commands are accessed through the pulp-admin script.

  1. Download the repository configuration file to /etc/yum.repos.d:
    $ wget -O /etc/yum.repos.d/fedora-pulp.repo http://repos.fedorapeople.org/repos/pulp/pulp/fedora-pulp.repo
    
  1. Install the Pulp admin client packages:
CentOS

QPID RPMs are not available in the default CentOS repositories. Instructions on building those RPMs can be found here.
$ yum install pulp-admin
  1. Update the admin client configuration to point to the Pulp server. Keep in mind that because of the SSL verification, this should be the fully qualified name of the server, even if it is the same machine (localhost will not work with the default apache generated SSL certificate). For more information see the FAQ page. This change must be done in the following places:
    • host
$ vi /etc/pulp/admin/admin.conf

Consumer Client

The Pulp Consumer Client is present on all systems that wish to act as a consumer of a Pulp server. The Pulp Consumer Client provides the means for a system to register and configure itself with a Pulp server. Additionally, the Pulp Consumer Client runs an agent that will receive messages and commands from the Pulp server.

Pulp consumer commands are accessed through the pulp-consumer script. This script must be run as root to permit access to add references to the Pulp server's repositories. More information can be found in the Pulp Consumer Client User Guide.

  1. Download the repository configuration file to /etc/yum.repos.d:
    $ wget -O /etc/yum.repos.d/fedora-pulp.repo http://repos.fedorapeople.org/repos/pulp/pulp/fedora-pulp.repo
    
  1. Install the Pulp consumer client packages:
CentOS

QPID RPMs are not available in the default CentOS repositories. Instructions on building those RPMs can be found here.
$ yum install pulp-consumer
  1. Update the consumer client configuration to point to the Pulp server. Keep in mind that because of the SSL verification, this should be the fully qualified name of the server, even if it is the same machine (localhost will not work with the default apache generated SSL certificate). For more information see the FAQ page. This change must be done in four places:
    • host
    • baseurl
    • keyurl
    • ksurl
$ vi /etc/pulp/consumer/consumer.conf
  1. Start the agent:
    $ service pulp-agent start
    

Content Delivery Server

  1. Download the necessary repository configuration files:
Fedora
$ wget -O /etc/yum.repos.d/fedora-pulp.repo http://repos.fedorapeople.org/repos/pulp/pulp/fedora-pulp.repo


Red Hat Enterprise Linux 5 and 6
$ wget -O /etc/yum.repos.d/rhel-pulp.repo http://repos.fedorapeople.org/repos/pulp/pulp/rhel-pulp.repo
  1. Install the CDS RPM and its dependencies:
    $ yum install pulp-cds
    
  1. Configure the CDS to connect to the Pulp server's message broker by editing /etc/pulp/cds.conf and changing the host property.
  1. Ensure the appropriate messaging port is open on the CDS instance (see Prerequisites above for information on the port number).
  1. Start the Pulp CDS daemon:
    $ service pulp-cds start