Support Engineering Group : build-server.shore.mbari.org Artifactory Install This page last changed on Jun 26, 2012 by brian. ## Installing Artifactory ### Get Artifactory and Move in Place
    cd /opt/tmp
    wget http://sourceforge.net/projects/artifactory/files/artifactory/2.6.1/artifactory-2.6.1.zip/download
    jar -xvf artifactory-2.6.1.zip
    cd /opt
    mkdir artifactory-2.6.1
    sudo chown -R brian artifactory-2.6.1
    cp -R tmp/artifactory-2.6.1/* artifactory-2.6.1/
### Configure Artifactory Look for open ports
    nmap -sT build-server.shore.mbari.org
The result of the scan:
    Starting Nmap 6.00 ( http://nmap.org ) at 2012-06-26 10:49 PDT
    Nmap scan report for build-server.shore.mbari.org (134.89.10.13)
    Host is up (0.0011s latency).
    Not shown: 978 closed ports
    PORT     STATE SERVICE
    22/tcp   open  ssh
    25/tcp   open  smtp
    111/tcp  open  rpcbind
    4444/tcp open  krb524
    5222/tcp open  xmpp-client
    5269/tcp open  xmpp-server
    5901/tcp open  vnc-1
    5902/tcp open  vnc-2
    5903/tcp open  vnc-3
    6001/tcp open  X11:1
    6002/tcp open  X11:2
    6003/tcp open  X11:3
    6004/tcp open  X11:4
    6005/tcp open  X11:5
    6006/tcp open  X11:6
    6007/tcp open  X11:7
    6009/tcp open  X11:9
    7070/tcp open  realserver
    7443/tcp open  oracleas-https
    7777/tcp open  cbt
    8443/tcp open  https-alt
    9091/tcp open  xmltec-xmlmail

    Nmap done: 1 IP address (1 host up) scanned in 1.17 seconds
| Artifactory by default runs on port 8081. There's no conflicts so we'll leave that as the working port
Run Artifactory once so that it creates the data directory
    cd /opt/artifactory-2.6.1/bin
    sudo chmod u+x artifactory.sh
    ./artifactory.sh
Move the data directory so that we don't clobber it on upgrades
    sudo mkdir /data/Artifactory
    sudo chown brian /data/Artifactory
    cp -R /opt/artifactory-2.6.1/data/* /data/Artifactory
    rm -rf /opt/artifactory-2.6.1/data
    cd /opt/artifactory-2.6.1
    ln -s /data/Artifactory data
Fix permissions
    sudo chown -R root:root /opt/artifactory-2.6.1/
    sudo chown -R DB_Collaboration:DB_Collaboration /opt/artifactory-2.6.1/backup
    sudo chown -R DB_Collaboration:DB_Collaboration /opt/artifactory-2.6.1/etc
    sudo chown -R DB_Collaboration:DB_Collaboration /opt/artifactory-2.6.1/logs
    sudo chown -R DB_Collaboration:DB_Collaboration /opt/artifactory-2.6.1/work
    sudo chown -R DB_Collaboration:DB_Collaboration /data/Artifactory/
### Configure Service
    cp /opt/artifactory-2.6.1/bin/artifactoryctl /etc/init.d/artifactory
    sudo chmod a+x /etc/init.d/artifactory
Edit /etc/init.d/artifactory and add the following:
    ARTIFACTORY_HOME=/opt/artifactory-2.6.1
    ARTIFACTORY_USER=DB_Collaboration
    JETTY_PORT=8081
    JAVA_HOME=/usr/java/latest
Fix permission
    sudo chown root:root /etc/init.d/artifactory
Install Service
    sudo /sbin/chkconfig --add artifactory
    sudo /sbin/chkconfig artifactory on
    sudo /sbin/service artifactory start

Document generated by Confluence on Feb 03, 2026 16:22