An existing environment
Python 2.6.6
JDK 1.7
-tomcat-
Version: 7.0
The suspected Tomcat version needs to be consistent with the JDK (no textual research
Website:
http://tomcat.apache.org/
· Unzip to/usr/local/after downloading the package
(See Mood Create soft Connect
· Create environment variables (suspected./startup.sh are created automatically after
Tomcat_home=/usr/local/tomcatcatalina_home=/usr/local/tomcatpath=/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin :/USR/LOCAL/TOMCAT/BIN:/USR/LOCAL/JDK/BIN:/USR/LOCAL/JDK/JRE/BIN:/USR/LOCAL/TOMCAT/BIN:/USR/LOCAL/JDK/BIN:/USR /local/jdk/jre/bin:/root/binclasspath=.:/ Usr/local/tomcat/lib:/usr/local/jdk/lib:/usr/local/jdk/jre/lib
· Configuration (Conf/server.xml):
You can modify the port number used by your app: port (default port 8080
To modify the default app load path: appname
-jenkins-
Website:
Https://jenkins.io/index.html
· Copy Jenkins.war (note 1) to Tomcat's WebApps directory and restart Tomcat
· Access: HTTP://IP: Port/jenkins
· First time you need to enter a default password, select a plugin, and create a new user
Keng:
Visit 404, because the war package has a problem, the resolution re-official website next good, do not use the local!
Note
1. War pack: A Web module that can be run directly, usually a Web site, which is deployed into a container in a package. It can be put into Tomcat's WebApps directory, boot tomcat, the package can be automatically decompressed, equivalent to the release.
Linux Common Environment Construction