How do I install Jenkins on CentOS 7 with no internet access?

1,353 views
Skip to first unread message

Kiran

unread,
Aug 6, 2016, 2:07:19 PM8/6/16
to Jenkins Users

I am using CentOS 7.2. I cannot set up a local repository for policy reasons (not because I don't know how). I am behind a firewall with no direct internet access and trying to install Jenkins.

I ran this command:

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

This times out. This command seems to update a repo file on a Linux server.  I have no Internet access.  Is there a way for me to download a .tar file with Jenkins for CentOS 7.2 to a Windows machine?  I need a standalone file for an offline installation of Jenkins.

Baptiste Mathus

unread,
Aug 6, 2016, 2:44:50 PM8/6/16
to jenkins...@googlegroups.com

Wait a minute. You say you're on a machine without internet access, and trying to access internet times out? Seems like things work quite as expected here ;).

Or do you mean you have to go though a proxy?

On a more serious mode, your error is unrelated to Jenkins, but the fact wget just can't access internet.

If you don't have access, IMO it'd be simpler to just download the plain .war (granted you install before a JDK 8, or 7 less greatly) and run it where needed.

Then you'll have issues with plugins.

Please read https://wiki.jenkins-ci.org/display/JENKINS/Offline+Jenkins+Installation


--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/c558a034-b028-4380-87af-c63fa3e89677%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Daniel Beck

unread,
Aug 6, 2016, 3:05:27 PM8/6/16
to jenkins...@googlegroups.com
Download the RPM packages from http://pkg.jenkins-ci.org/redhat-stable/ and install them without going through the repo.
> --
> You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages