Skip to end of metadata
Go to start of metadata
You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 2
Next »
Table of Contents
|
"Drop the War" (Dedicated or Shared Instance)
Artifactory can be installed under Tomcat by simply dropping the artifactory.war file into Tomcat's webapps folder.
It is recommended you also set the $ARTIFACTORY_HOME environment variable (otherwise $HOME/.artifactory will be used).
The $ARTIFACTORY_HOME directory will be created automatically the first time you run Artifactory and populated with default configuration files.
Automatic Installation (Dedicated Instance Only)
Alternatively, you can use the automated install script to set up a dedicated Tomcat server for Artifactory.
- Extract the Apache Tomcat download under
/opt/tomcat/artifactory .
- Extract Artifactory standalone
/opt/artifactory/current
- Run (or edit and run) the
$ARTIFACTORY_HOME/bin/tomcat-install.sh script.
The script will do the following:
- Run the
$ARTIFACTORY_HOME/bin/install.sh script.
- Replace
/etc/init.d/artifactory with $ARTIFACTORY_HOME/misc/Tomcat/artifactory .
- Replace tomcat's
conf/server.xml with $ARTIFACTORY_HOME/misc/Tomcat/server.xml (change its ports if you wish)
- Create under Tomcat the
conf/Catalina/localhost directory and copy the $ARTIFACTORY_HOME/misc/Tomcat/artifactory.xml into it.
- Replace tomcat's
bin/setenv.sh with $ARTIFACTORY_HOME/misc/Tomcat/setenv.sh
- Change the Tomcat home owner :
chown -R artifactory /opt/tomcat/artifactory
- Start tomcat
service artifactory start or /etc/init.d/artifactory start
|
#trackbackRdf ($trackbackUtils.getContentIdentifier($page) $page.title $trackbackUtils.getPingUrl($page))