RPM Installation

Skip to end of metadata
Go to start of metadata
Table of Contents

Overview

Artifactory can also be installed as an RPM package on RedHat compatible Linux distributions.
The RPM distribution is available starting with Artifactory 2.3.3.

The RPM package creates a dedicated user, installs a stripped-down distribution of the Apache Tomcat container configured for Artifactory (on port 8081 by default), and registers this Tomcat as a service (but does not start it immediately).
This package effectively replaces the different setup scripts that are included with the Artifactory zip distribution.

Requirements

  • Must be installed using the root user (or sudo).
  • An environment variable named JAVA_HOME pointing to the installation directory of JDK 1.5+ (the latest JDK 1.6 is highly recommended).

Managed Files And Folders

Purpose

Location

Ownership

Artifactory binary and Tomcat home

/opt/artifactory

root

Artifactory startup script

/etc/init.d/artifactory

root

Artifactory home

/var/lib/artifactory

artifactory

Artifactory etc

/etc/artifactory

artifactory

Artifactory logs

/var/log/artifactory

artifactory

Artifactory environment variables

/etc/artifactory/default

artifactory

MySQL Additional Configuration

The RPM includes a small CLI tool that assists with the configuration of Artifactory to use MySQL as a storage method (recommended).
After running the RPM installation process, it will offer you to run the MySQL configuration manually.
The tool is located in /opt/artifactory/bin/configure.mysql.sh and requires MySQL to be pre-installed and running.

Installing Artifactory

To install Artifactory use:

Running Artifactory

To start and stop Artifactory use the init script:

or-

Accessing Artifactory

Artifactory should be available under the following URL:

 http://localhost:8081/artifactory

Labels: