Avatar of MichaelBalack
MichaelBalackFlag for Singapore

asked on 

How to setup Jenkins on a linux system?

This is planning to setup Jenkins on a Red Hat Enterprise Linux 6.9. We are plan to setup a new jenkins server on linux os. We are thinking to make use of the yum package. However, I heard that some other packages, such as, Java with certain version need to be installed before Jenkins can be setup.

Please show step-by-step how to get Jenkins setting up and configure to use.
LinuxJava* Jenkins

Avatar of undefined
Last Comment
MichaelBalack
ASKER CERTIFIED SOLUTION
Avatar of arnold
arnold
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

We are thinking to make use of the yum package.
Yum is not a package - it's a package manager - which you need to start to learn. It won't be difficult
Avatar of David Favor
David Favor
Flag of United States of America image

Unless things have changed, yum does no dependency checking. So with CentOS, you'll have to install a package + then when the installation fails, install each dependency manually till all dependencies are installed.

With Debian/Ubuntu this is simplified, as the APT system auto-installs all dependencies, so a command like the following will install Jenkins + all required dependencies + likely integrate Jenkins into Apache, so you have a test system up + running (a guess, as I never use Jenkins).

apt-get install python-jenkins python-jenkinsapi

Open in new window


If you're starting a new project, you might consider using Ubuntu (easier than Debian), so you're up + running faster.
Avatar of arnold
arnold
Flag of United States of America image

David, yum does indeed perform a dependency check which are part of the package install requirement, I think you are confusing yum with rpm.
Avatar of MichaelBalack
MichaelBalack
Flag of Singapore image

ASKER

Thanks for expert - Arnold in suggesting the article. Finally, Jenkins server is up and running
Java
Java

Java is a platform-independent, object-oriented programming language and run-time environment, designed to have as few implementation dependencies as possible such that developers can write one set of code across all platforms using libraries. Most devices will not run Java natively, and require a run-time component to be installed in order to execute a Java program.

102K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo