本文介绍了空的var/lib/jenkins目录在CentOS 5.8上安装Jenkins的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在安装Jenkins时遇到问题.到目前为止,我已经在不同的计算机和不同的平台(Win XP,Win 7,Ubuntu 11.04,Ubuntu 12.04,CentOS 6)上安装了很多次Jenkins.

I have a problem with Jenkins installation. I've installed Jenkins many times on different machines and different platforms (Win XP, Win 7, Ubuntu 11.04, Ubuntu 12.04, CentOS 6) always with no problem until now.

现在,我必须在CentOS 5.8机器上安装Jenkins,我按照 http://上的步骤进行操作pkg.jenkins-ci.org/redhat/

Now I have to install Jenkins on a CentOS 5.8 machine, I follow the steps from http://pkg.jenkins-ci.org/redhat/

一切似乎都很好,但是当我导航到

everything seems OK, but when I navigate to

/var/lib/jenkins

文件夹为空(我运行ls -l命令).它假定有一些默认文件和文件夹,例如

folder is empty (I run a ls -l command). It supose to have some default files and folders like

  • config.xml(文件)
  • 指纹(文件夹)
  • 工作(文件夹)
  • 插件(文件夹)
  • 工作区(文件夹)

我尝试安装不同的jenkins版本,但是结果是相同的 jenkins 文件夹

I've tried installing different jenkins versions, but the result is the same an empty jenkins folder

有人知道如何解决此问题吗?预先感谢

Does anybody know how to solve this issue?Thanks in advance

推荐答案

我想我已经找到了答案.

I think I've found the answer.

我正在尝试安装最新版本的jenkins,我安装了Java 5,但最新的jenkins版本不适用于Java 5.

I was trying to install latest version of jenkins, I have java 5, but latest jenkins version doesn't work with java 5.

然后,我尝试安装较旧的jenkins版本,并且Everythig都能完美运行

I tried, then, install an older jenkins version, and everythig works perfect

抱歉给您带来的不便

这篇关于空的var/lib/jenkins目录在CentOS 5.8上安装Jenkins的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-31 04:29