Friday 14 February 2014

Artifactory Repository Notes

Url link on how to install Artifactory:

1. Downloaded the binary file from sourceforge:
 $ wget http://sourceforge.net/projects/artifactory/files/latest/download

2. Rename the file [ It will be named as download ]
$ mv download artifactory-3.1.1.zip

3. For my use I moved the same file to /opt dir.
$ sudo mv artifactory-3.1.1.zip /opt

4. Extracted the zip file
$ unzip artifactory-3.1.1.zip

Documentation I am following as of now:

http://www.jfrog.com/confluence/display/RTF/Installing+on+Linux+Solaris+or+Mac+OS

http://www.jfrog.com/confluence/display/RTF/Installing+on+Linux+Solaris+or+Mac+OS#InstallingonLinuxSolarisorMacOS-ManualInstallation










*) What you need: 

NOTE: You need to hava java 1.7. So if you don't have the java 1.7, download the jre tar file from oracle site [ We prefer to have oracle java then openjava. ]. Need not to have JDK. JRE should be enough.

*) lets say you don't have java1.7: on that case:

5a. Download the jar1.7 from oracle site.
5b. I have extracted the same at /opt/ [ you can do at your wish. ]


6a. Go to your the artifactory extracted path [ example /opt/artifactory-3.1.1 for me] then "bin" dir and run "sudo sh installService.sh" ... This will install the artifactory as a service... so that you can use... sudo service artifactory {start|stop}

6b. After the above command: [ do the following: NOTE: if you don't have JAVA1.7 only. ]
sudo vi /etc/opt/jfrog/artifactory/deault

and update the JAVA_HOME [ For me as per the example: export JAVA_HOME=/opt/jre1.7.0 ]

Then you can do: sudo service artifactory start.

Do a netstat: and you can do a quick check on what port your artifactory is running. 

For me it started on port 8081 [ Make sure you don't have any firewall blocking that port.]

http://localhost:8081/artifactory   <--- here you have your artifactory running.



log in to artifactory at the above url: default login [ admin / password ]


Default log location: [ tail -f $ARTIFACTORY_HOME/logs/artifactory.log ]



*) How do I configure rest at artifactory:

URL: http://www.jfrog.com/confluence/display/RTF/Administering+Artifactory

7a. Once you login to the artifactory UI page, you can select "ADMIN" tab to configure rest of the conigurations.



No comments:

Post a Comment