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.
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.

Commonly, best is to use the resources offered.
Their documentation shoukd address the consideration.

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
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
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.
David, yum does indeed perform a dependency check which are part of the package install requirement, I think you are confusing yum with rpm.
MichaelBalackAuthor Commented:
Thanks for expert - Arnold in suggesting the article. Finally, Jenkins server is up and running
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

From novice to tech pro — start learning today.