Tech-Today
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 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.
-
Install Jenkins On Ubuntu
wget -q -O - https://pkg.jenkins.io/debian-stable/jenkins.io.key | sudo apt-key add - Then add the following entry in your /etc/apt/sources.list: deb https://pkg.jenkins.io/debian-stable binary/ sudo apt-get update sudo apt-get install jenkins sudo usermod...
-
Install Java8 In Ubuntu
A set of commands to install Java8 on Ubuntu. sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java8-installer Now set JAVA_HOME in the environment variables. sudo vi /etc/environment // add JAVA_HOME="/usr/lib/jvm/java-8-oracle"...
-
Operating Systems
How to show all startup items in Ubuntu 12.04How to install artifactory and jenkins on ubuntu 12.04How to dual boot Windows 7 and Ubuntu 12.04 on Lenovo G480How to setup an OpenVPN client on an Ubuntu machineHow to setup a DNS Server on ubuntu 12.04How...
-
Repository Management
GITHow to invoke a Jenkins build from Assembla on GIT pushHow to initialize a git repository and linked it to a remote repository providerSVNHow to setup your google code repository to be accessible in mavenMAVENHow to push external jar into artifactory...
-
How To Invoke A Jenkins Build From Assembla On Git Push
This tutorial will try to configure a jenkins job to run when a git push is done on Assembla. This tutorial assumes that your server is running in Ubuntu 12.04.2. Requirements: You must have an assembla account with admin privilege.An external server...
Tech-Today