阿里云linux主机安装启动Jenkins
时间:2014-08-07 23:27:45
收藏:0
阅读:2188
1、安装
网上查到的关于安装Jenkins的文章,都是需要先安装JDK和Tomcat,然后把war包丢进去运行。但是官方的介绍里面没有说要用Tomcat。
事实证明是不需要Tomcat的。而且Jenkins默认使用的也是8080端口,如果之前有启动默认配置的Tomcat,还需要先停掉。
我的服务器系统版本是CentOS 6.3,对应的说明是
按照官方说明依次输入如下命令
#wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat/jenkins.repo #rpm --import http://pkg.jenkins-ci.org/redhat/jenkins-ci.org.key #yum install jenkins
最后显示 Complete!说明安装成功。
2、启动
#service jenkins start
3、测试
访问 http://ip:8080
评论(0)