Tuesday, September 1, 2015

Build Automation and Continuous Integration with Oracle SOA Suite 12c: Installation

Ensure you have read the Introduction.

In this post, we will install the requisite software to achieve build automation and continuous integration.
First, a directory to store the build and integration tools (excluding Oracle SOA Suite 12c) needs to be created. Login as the root user.

mkdir /ci
chown oracle:oinstall /ci

Login as the oracle user.

cd /ci
mkdir apps
cd apps


Oracle JDeveloper 12c

For whatever reason, Oracle decided that you can no longer install the SOA extension in JDeveloper and build a composite. Instead, the only way to obtain a JDeveloper 12c instance that can be used for SOA development is to install the SOA Suite Quick Start.

Once installed, navigate to ORACLE_HOME and rename the jdeveloper folder. Copy the Quick Start ../jdeveloper folder into the ORACLE_HOME.

Maven

Login as the oracle user.

Download Maven.

cd /ci/apps
tar -xzvf apache-maven-3.3.3-bin.tar.gz
ln -s /ci/apps/apache-maven-3.3.3 /ci/maven

Add the following to .bash_profile

vi /home/oracle/.bash_profile

M2_HOME="/ci/apps/apache-maven-3.3.3"
export M2_HOME

PATH=$M2_HOME/bin:$HOME/bin:$PATH

Reload the profile or logout/login and check the Maven version.

mvn -v
Apache Maven 3.3.3 (7994120775791599e205a5524ec3e0dfe41d4a06; 2015-04-22T07:57:37-04:00)
Maven home: /ci/apps/apache-maven-3.3.3
Java version: 1.7.0_75, vendor: Oracle Corporation
Java home: /usr/java/jdk1.7.0_75/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.8.13-55.1.2.el6uek.x86_64", arch: "amd64", family: "unix"


Archiva


cd /ci/apps
tar -xzvf apache-archiva-2.2.0-bin.tar.gz
ln -s /ci/apps/apache-archiva-2.2.0 /ci/archiva

Change the port that Archiva will listen on:

vi /ci/archiva/conf/jetty.xml

<SystemProperty name="jetty.port" default="8080"/> 

to 

<SystemProperty name="jetty.port" default="8081"/>

Start Archiva

cd /ci/archiva/bin
./archiva start

Open a browser and navigate to http://[host]:8081.

You should see the Archiva landing page.

Git

Git is installed via yum.

Login as the root user.

yum install git -y

Login as the oracle user.

cd /ci
mkdir git
cd /ci/git

Verify the installation.

git --version

git version 1.7.1

Jenkins

Jenkins is installed via yum.

Login as the root user.

wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat/jenkins.repo

rpm --import https://jenkins-ci.org/redhat/jenkins-ci.org.key

yum install jenkins -y

Start Jenkins

service jenkins start

Stop Jenkins

service jenkins stop

Change the user that Jenkins runs as.

vi /etc/sysconfig/jenkins


JENKINS_USER="oracle"

Change ownership of jenkins home, webroot, and logs.

chown -R oracle:oinstall /var/lib/jenkins
chown -R oracle:oinstall /var/cache/jenkins
chown -R oracle:oinstall /var/log/jenkins

Start Jenkins

service jenkins start

Login as the oracle user.

Open a browser and navigate to http://[host]:8080.

You should see the Jenkins landing page.

7 comments:

  1. Are you looking to earn money from your websites or blogs via popup ads?
    If so, did you know about PopCash?

    ReplyDelete
  2. Het was fantastisch. Ik denk dat je je verkeer kunt vergroten op basis van je inhoud.

    Als u uw websiteverkeer, SEO en website laten maken, of app laten maken wilt vergroten, of grafische ontwerp diensten nodig heeft, kunt u contact opnemen met het Nexoz team.

    Nexoz services:

    Website maken
    Application
    SEO

    ReplyDelete
  3. فکر میکنم زیباترین مطبی بود که خوندم.

    هدف ما در تیم دو سوت تعمیر همیشه حفظ رضایتمندی مشتری و تعمیر تمامی لوازم خانگی در حضور مشتریان، بدون جابجایی لوازم خانگی بوده و با عنایت حق، با افتخار دارا بودن ۱۰۰% رضایتمندی مشتریان تا به اینجا به این مهم دست یافتیم.

    کافیست فقط یک بار با کارشناسان شرکت دو سوت تعمیر تماس بگیرید تا از تفاوت در نوع خدمت رسانی و سرویس دهی آنی سرویس مطلع و برای همیشه یکی از مشتریان راضی ما شوید.

    اگر لوازم خانگی شما نیاز به تعمیرات دارد، همین حالا فرم مشاوره رایگان تعمیرات لوازم خانگی را پر کنید، کارشناسان ما در کوتاهترین زمان ممکن با شما تماس خواهند گرفت.

    ReplyDelete
  4. مرکز تخصصی تعمیر من در سال 1400 تأسیس شد و راه حل های تهویه مطبوع را در بیش از 300 مکان به صاحبان خانه در سراسر ایالات متحده ارائه می دهد.

    ReplyDelete
  5. بسیار پست با کیفیتی بود.

    در صورت نیاز به خدمات طراحی گرافیک، تبلیغات و یا طراحی و توسعه می توانید به شرکت ریوال ایجسنی اعتماد کنید.

    تیم ریوال با سابقه ای درخشان و با در اختیار داشتن کادری مجرب و حرفه ای در عرصه گرافیک و تبلیغات آماده همکاری با شرکت های داخلی و خارجی می باشد.

    ReplyDelete
  6. سفارش طراحی لوگو در ریوال آنلاین

    ریوال آنلاین مجموعه کاملی از همه چیزهایی را که یک برند برای برجسته شدن و مورد توجه قرار گرفتن نیاز دارید، ارائه می دهند.

    طراحی لوگو و آرم در تیم خلاق ما کاملا حرفه ای و متمایز انجام می شود.

    ما بر این باوریم که ایجاد نماد بصری یک برند مستلزم یک دید استراتژیک و علمی است.

    ReplyDelete
  7. The presence of professional specialists in the collection of logowiin company has made it one of the most appreciated graphic and advertising collections in the country.

    https://logowiin.ir/

    ReplyDelete