一、安装文件的信息
/etc/init.d/jenkins文件,文件中有关于Jenkins安装路径、以及运行的PID文件等一些信息。
二、日志文件
/var/log/jenkins该目录下存放的是服务器的日志以及每一个构建的项目的日志。
/var/lib/jenkins 该目录是JENKINS_HOME的默认主目录
/var/cache/jenkins存放的是包相关的信息
- Jenkins will be launched as a daemon on startup. See /etc/init.d/jenkins for more details.
- The 'jenkins' user is created to run this service. If you change this to a different user via the config file, you must change the owner of /var/log/jenkins, /var/lib/jenkins, and /var/cache/jenkins.
- Log file will be placed in /var/log/jenkins/jenkins.log. Check this file if you are troubleshooting Jenkins.
- /etc/sysconfig/jenkins will capture configuration parameters for the launch.
- By default, Jenkins listen on port 8080. Access this port with your browser to start configuration. Note that the built-in firewall may have to be opened to access this port from other computers. (See http://www.cyberciti.biz/faq/disable-linux-firewall-under-centos-rhel-fedora/ for instructions how to disable the firewall permanently)
- A Jenkins RPM repository is added in /etc/yum.repos.d/jenkins.repo
三、服务器的配置文件
/etc/sysconfig/jenkins 该文件中可以设置服务器的端口,等信息
四、访问服务器
启动服务之后在浏览器中访问服务器,如果不能正常的显示,可能是因为防火墙的原因,可以选择把防火墙关掉
service iptables save
service iptables stop
chkconfig iptables off