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.
LVL 1
MichaelBalackAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

arnoldCommented:
Commonly, best is to use the resources offered.
Jenkins.io wiki.jenkins.io
Their documentation shoukd address the consideration.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
CEHJCommented:
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
0
David FavorLinux/LXD/WordPress/Hosting SavantCommented:
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.
0
arnoldCommented:
David, yum does indeed perform a dependency check which are part of the package install requirement, I think you are confusing yum with rpm.
1
MichaelBalackAuthor Commented:
Thanks for expert - Arnold in suggesting the article. Finally, Jenkins server is up and running
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.