Jenkins build on centos

Jenkins build on centos

Jenkins can provide continuous integration services, and its operating environment (runtime) requires Tomcat and JDK

To make Jenkins start the service with Tomcat, and Tomcat needs JDK environment

For detailed configuration, see:

http://www.cnblogs.com/frankielf0921/p/5398334.html

1 2 Before that, remember to turn off the firewall to avoid inaccessibility on the web page! ! !

I am the dividing line

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 Jenkins configuration official website address: https://jenkins.io/download/ Select the required version to download [root@localhost ~]# cd /usr/local/src [root@localhost src]# rz /* If the download is rpm */ [root@localhost src]# rpm -ivh jenkins-2.7.4-1.1.noarch.rpm #Query the path where the downloaded package files are stored [root@localhost src]# rpm -ql jenkins-2.7.4-1.1 .noarch.rpm #Put Java into Jenkins configuration file[root@frankie ~]# vi /etc/init.d/jenkins //Find /etc/alternatives/java /usr/lib/jvm/java-1.6.0 /bin/java /usr/lib/jvm/jre-1.6.0/bin/java /usr/lib/jvm/java-1.7.0/bin/java /usr/lib/jvm/jre-1.7.0/bin /java /usr/lib/jvm/java-1.8.0/bin/java /usr/lib/jvm/jre-1.8.0/bin/java /usr/bin/java /usr/local/jdk1.8/bin /java <-- Add your own configured Java path#Start Jenkins [root@frankie ~]# /etc/init.d/jenkins start #Enter tomcat's webapps path to see if Jenkins already has Jenkins [root@frankie ~]# cd /usr/local/tomcat/webapps/ #If not, just link [root@frankie ~]# ln -s /usr/lib/jenkins/jenkins.war jenkins.war # Then use Tomcat to start Jenkins, it will Automatically generate files [root@frankie ~]# curl -I localhost:8080/jenkins

I am the dividing line

( adsbygoogle = window.adsbygoogle || []).push({});

Recommended Posts

Jenkins build on centos
CentOS7 build jenkins
Build k8s1.9.9 on centos7
Install Jenkins on centos7
Build MariaDB replication on CentOS
CentOS + Jenkins
How to install Jenkins on CentOS 8
How to install Jenkins on CentOS 8
Build Elasticsearch 6.2.4 (centos) based on docker
Build Nginx environment on Linux (CentOS)
Build Discuz Forum based on CentOS
Centos build lnmp
Centos7 build python3.8.5+scrapy+gerapy
Install Jenkins on linux centos (non-docker way)
CentOS7 build FastDFS distributed file system (on)
CentOS7.3 64 bit, build Zabbix3.4
Install Docker on Centos7
CentOS build private git
Build Nginx based on Centos 7 (including virtual host)
install LNMP on centos7.4
Linux (centos7) build gitlab
Install Java on Centos 7
Xfs configuration on centos7
CentOS6.7 build LNMP environment
Configure Ocserv on CentOS 6
Centos6.9 build rabbitmq 3.6.8 cluster
Nodejs install on centos7
Install FFmpeg on CentOS 8
Centos7.6 build LNMP environment
Install RabbitMQ on CentOS 7
Install Node.js on Centos
Centos7 build Kubernetes cluster
Maven install on centos7
Install MongoDB on CentOS 7
Install Surelog on CentOS8
Build Hadoop in CentOS
Install Jenkins under Centos 7
Deploy vuepress on centos7
How to use Jenkins to build automatically on Ubuntu
Openjdk install on centos7
Centos7 build DNS service
Use RapidSVN on CentOS7
install RabbitMQ on centos
Install RabbitMQ on CentOS 7
install Docker on centos6.5
How to build a LAMP environment on centos7.2
install oracle on centos
Install Elasticsearch 6 on centos7
Install RabbitMQ on CentOS7
Deploy Jenkin on centos7
CentOS 7 build LNMP environment
3 minutes to teach you to build gitea on Centos server
Build docker environment under Centos6.5
CentOs7.3 build Solr stand-alone service
Build OpenV** Server under CentOS7
CentOs7.3 build RabbitMQ 3.6 stand-alone service
Install mysql online on centos
Build zabbix monitoring zabbix4.2 in CentOS7.6
Install ElasticSearch 7.x on CentOS 7
Build OpenLDAP server under CentOS7
Glusterfs cluster installation on Centos7