In addition to the other Artifactory installation options, Artifactory can also be installed as an RPM package on RedHat compatible Linux distributions.
The RPM distribution is available from Artifactory version 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 included with the Artifactory Zip distribution.
Managed Files And Folders
Artifactory, when installed via RPM retains the FHS (Filesystem Hierarchy Standard) format.
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 provides you with the option to run the MySQL configuration manually.
The tool is located in /opt/jfrog/artifactory/bin/configure.mysql.sh and requires MySQL 5.5+ to be pre-installed and running.
To install Artifactory use:
To start and stop Artifactory use the init script accordingly:
Artifactory can be found using the following URL:
Backup and Recover
When un-installing Artifactory 3.x RPM, Artifactory will save the $ARTIFACTORY_HOME folder and create a backup folder at /var/opt/jfrog/ while preserving simlinks to remote filestores.
NOTE! When dealing with external DB, please keep in mind that the backup process described above will not backup the database itself - just the external DB definitions in Artifactory. Therefore, a manual dump should be performed and re-import when starting a new installation.
This Backup and Recover section referred only for re-installing RPM in the same machine and not a for moving to a new machine. If installing / upgrading on new machine, you will need to use import, as described here.