1, because Jenkins is based on Java development, pre-installation to confirm that the operating system has installed JDK and Tomcat
How to install, please refer to deploying Tomcat server on Windows/linux
2. Download War pack: Http://mirrors.jenkins-ci.org/war/latest/jenkins.war
3. Connect to the Linux server with the CRT. Use the command Ps-ef|grep tomcat to view the Tomcat directory
Again into this directory cd/usr/local/apache-tomcat-7.0.88, this directory has a folder WebApps. Enter this directory
Upload the war package to this directory with Rz-bye this interface indicates that the upload was successful
4, in the browser input http://ip:8080/jenkins (this depends on the number of ports you configured), this interface appears
5, enter this cd/root/.jenkins/secrets, have Initialadminpassword file, edit vi initialadminpassword file
Copy this password into the browser above password
Select the first installation plug-in
6, after the plug-in installation is complete, you need to create the first user
Once you've created a user, you're ready to use Jenkins.
Visit http://ip:8080/jenkins/to
Install and configure Jenkins (War package) under Linux