Centos7 installation and configuration of Jenkins

  1. Preparation:

One centos7, jdk8, Jenkins installation package.

Jenkins download address: https://jenkins.io/index.html

  1. Installation:

Transfer the downloaded file to centos, the path is arbitrary. Go to the corresponding path and execute the installation command:

rpm -ih jenkins-.rpm ---- is the version number

File Directory:

/usr/lib/jenkins/jenkins.war WAR package

/etc/sysconfig/jenkins configuration file

/var/lib/jenkins/ The default JENKINS_HOME directory

/var/log/jenkins/jenkins.log Jenkins log file

/etc/rc.d/init.d/jenkins Jenkins startup script

Start command:

service jenkins start

Error:

View detailed error information:

Solution:

Modify the Jenkins startup script: vim /etc/rc.d/init.d/jenkins

Perform start again: service jenkins start

Enter the password as prompted:

Download plugin: recommended plugin by default

success:

Recommended Posts

Centos7 installation and configuration of Jenkins
Installation and configuration of redis under centos7
Centos mysql installation and configuration
Centos7 installation and configuration prometheus
CentOS 7 installation and configuration PPTP
CentOS installation and configuration cmake
Centos7.5 installation and configuration MongoDB4.0.4
CentOS 7 installation and configuration PPTP
Installation and configuration of JDK in CentOS 7 system
Installation and configuration of rsync server under CentOS 6.5
Installation and configuration of CentOS 7 in VMware Workstation
Centos6.5 installation and deployment of KVM
Installation under centos6.9 of jenkins learning
Centos7 hadoop cluster installation and configuration
CentOS7 installation and maintenance of Gitlab
Java-JDK installation and configuration under CentOS
CentOS 7 Tomcat service installation and configuration
CentOS NTP server installation and configuration
Centos7 mysql database installation and configuration
Detailed explanation of Spark installation and configuration tutorial under centOS7
CentOS 7 system installation and configuration graphic tutorial
Installation and use of Mysql under CentOS
Tomcat installation and configuration under CentOS 7 (Tomcat startup)
MySQL 8.0 installation, deployment and configuration under CentOS 6/7
Centos-6.5 installation and deployment of LNMP environment
Centos7 installation and deployment of gitlab server
Centos7 hive stand-alone mode installation and configuration
Jenkins installation and deployment tutorial under CentOS 7
Centos7 installation and deployment of Airflow detailed
OpenMPI-Ubuntu installation and configuration
Graphical installation of CentOS8
Mysql8.0.15 installation configuration (centos7)
CentOS 6.5 system installation and configuration graphic tutorial (detailed graphic)
CentOS 7 installation and configuration graphic tutorials under VMware10
Centos7 installation of PHP and Nginx tutorial detailed
Installation, configuration and uninstallation of GitLab in Ubuntu19.1
MySQL 8.0 installation, deployment and configuration tutorial on CentOS 8
Ubuntu16.04 installation and simple configuration
centos7 kvm installation and use
Centos7 silent installation of Oracle11g
CentOS7 postgresql installation and use
Implementation of CentOS8.0 Network Configuration
CentOS environment installation of Docker
Ubuntu PostgreSQL installation and configuration
Centos7 elk7.1.1 installation and use
Installation and cracking of confluence6.3 operation records under Centos
Installation and cracking of Jira7 operation records under Centos
Environment configuration of JDK, mysql and tomcat under Centos7
Happy installation of Jenkins in ubuntu
Analysis of Hyper-V installation CentOS 8 problem
CentOS 8 install Git and basic configuration
Centos7 installation of Dameng database tutorial
CentOS 8 installation of MariaDB detailed tutorial
CentOS7 installation and maintenance of nginx from entry to master
CentOS + Jenkins
CentOS7.2 and Nginx configuration virtual host
Detailed examples of Centos6 network configuration
CentOS 7.X system installation and optimization
Centos 7 RAID 5 detailed explanation and configuration
001. Installation of enterprise-level CentOS7.6 operating system
Ubuntu 19.1 installation and configuration Chinese environment