no

How to install artifactory and jenkins on ubuntu 12.04

This page is a summary of commands that need to be executed in order to install and setup artifactory and jenkins on Ubuntu 12.04. Install...

This page is a summary of commands that need to be executed in order to install and setup artifactory and jenkins on Ubuntu 12.04.

Install artifactory
1.) Download the zipped file from artifactory:
>wget http://sourceforge.net/projects/artifactory/files/artifactory/2.6.4/artifactory-2.6.4.zip

2.) Install openjdk
>sudo apt-get install openjdk-7-jdk

3.) Set JAVA_HOME to /etc/environment
>sudo vi /etc/environment
//and add the following line:
JAVA_HOME= /usr/lib/jvm/java-6-openjdk-amd64/

4.) Unzip artifactory in your desired location:
>unzip artifactory-2.6.4.zip

5.) Go to the where you extract artifactory/bin, make the install.sh file executable and execute it:
>sudo chmod +x install.sh
>./install.sh

6.) Tell artifactory where java is, by editing /etc/artifactory/default and add JAVA_HOME
JAVA_HOME= /usr/lib/jvm/java-6-openjdk-amd64/

7.) Check your artifactory's configuration:
>sudo service artifactory check

8.) Start artifactory:
>sudo service artifactory start

9.) Artifactory is now accessible in its default port 8081, http://localhost:8081/artifactory

The second part, how to install and configure Jenkins. Well it's pretty easy all you have to do is install and change the default port if you want :-)
//install
>sudo apt-get install jenkins

*To change the port edit the file /etc/default/jenkins and change the key HTTP_PORT to whatever open port you like.

Related

ubuntu 4227464684111604315

Post a Comment Default Comments

1 comment

Unknown said...

From jenkins wiki
https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+Ubuntu

is is suggested to install from theis ppa http://pkg.jenkins-ci.org/debian/

item