This documentation explains the steps for automatic installation under Unix on a dedicated tomcat instance.
For manual Installation (on either a dedicated or shared instance) please refer to the Generic WAR Installation documentation.
Automatic Installation on a Dedicated Tomcat Instance
You can use the automated install script to set up a dedicated Tomcat server for Artifactory.
 | These instructions have been verified against Tomcat 6, but should work on Tomcat 5 with minor adjustments.
You can change the directory names to your liking but you'd need to adjust the install scripts accordingly (currently directory names are hard-coded). |
- 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
 | The script will change the default Tomcat configuration files and is intended to be used on a newly installed Tomcat only. |
- Start tomcat:
service artifactory start, or
/etc/init.d/artifactory start
Artifactory will be available on this Tomcat instance on port 8081 for HTTP and 8019 for AJP13.