January 11, 2013

How to Install Artifactory on RHEL 6.3

In this blog I will show you how to install Artifactory on Red Hat Enterprise Linux 6.3.

Artifactory comes in two flavours:

In this blog I will show you how to install the Artifactory Open Source version. So lets get started. First download the latest RPM package from sourceforge - http://sourceforge.net/projects/artifactory/files/artifactory/. Then install it as root.

$ yum localinstall /home/magkar/Downloads/artifactory-2.6.6.rpm

You can read more about what files are installed and where in the Artifactory Installation Guide chapter RPM Installation - http://wiki.jfrog.org/confluence/display/RTF/RPM+Installation. Or list all installed files with rpm command.

$ rpm -ql artifactory

If you want more information about how to work with yum and rpm commands, please read my previous blog - http://magnus-k-karlsson.blogspot.se/2013/01/quickguide-to-most-common-yum-and-rpm.html.

If you are not happy with artifactory, you uninstall it with yum.

$ yum erase artifactory

Now lest test our Artifactory installation. Lets first start it. After started you can access it from http://your_server_ip:8081/artifactory.

$ service artifactory start

And to login use:
username: admin
password: password

And if you are happy with the installation, you can set the artifactory to start automatically when booting, by reading my previous blog here http://magnus-k-karlsson.blogspot.se/2013/01/how-to-autostart-program-at-bootup.html.

No comments: