我正在生产一台运行Ubuntu 12.04的机器。我需要在上面设置Jenkins。我试图遵循这个教程 -
https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+Ubuntu https://www.digitalocean.com/community/tutorials/how-to-install-and-use-jenkins-on-ubuntu-12-04
但是我无法让它工作,因为我试图执行它的第一行根本不起作用 -
wget -q -O - https://jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add -
此行只是挂起而且没有做任何事情。这让我觉得有防火墙,我们无法访问任何外部链接。
这是我运行wget时所得到的 -
david@machineA:~$ wget https://jenkins-ci.org/debian/jenkins-ci.org.key
--2015-03-30 13:21:20-- https://jenkins-ci.org/debian/jenkins-ci.org.key
Resolving jenkins-ci.org... 199.193.196.24
Connecting to jenkins-ci.org|199.193.196.24|:443... failed: Connection timed out.
Retrying.
--2015-03-30 13:21:44-- (try: 2) https://jenkins-ci.org/debian/jenkins-ci.org.key
Connecting to jenkins-ci.org|199.193.196.24|:443... failed: Connection timed out.
Retrying.
--2015-03-30 13:22:07-- (try: 3) https://jenkins-ci.org/debian/jenkins-ci.org.key
Connecting to jenkins-ci.org|199.193.196.24|:443... failed: Connection timed out.
Retrying.
--2015-03-30 13:22:31-- (try: 4) https://jenkins-ci.org/debian/jenkins-ci.org.key
Connecting to jenkins-ci.org|199.193.196.24|:443...
那么现在还有其他方法可以干净利落地在我的生产机器中设置jenkins吗?
非常感谢任何一步一步的指导。
答案 0 :(得分:1)
如果您未连接到Internet,则可以修复Internet连接或手动下载jenkins .deb文件并将其复制到生产计算机。