tar -zxvf apache-tomcat-7.0.6.tar.gz
mv apache-tomcat-7.0.6.tar.gz tomcat7
cd tomcat7
vim bin/startup.sh
同时在startup.sh和shutdown.sh中添加(若已经配置好Java环境,此处忽略。)
Jan 15, 2011 9:24:35 PM hudson.TcpSlaveAgentListener <init>
INFO: JNLP slave agent listener started on TCP port 50662
Jan 15, 2011 9:25:19 PM hudson.model.DownloadService$Downloadable doPostBack
INFO: Obtained the updated data file for hudson.tasks.Ant.AntInstaller
Jan 15, 2011 9:25:19 PM hudson.model.DownloadService$Downloadable doPostBack
INFO: Obtained the updated data file for hudson.tasks.Maven.MavenInstaller
Jan 15, 2011 9:25:20 PM hudson.model.DownloadService$Downloadable doPostBack
INFO: Obtained the updated data file for hudson.tools.JDKInstaller
Jan 15, 2011 9:25:27 PM hudson.model.UpdateSite doPostBack
INFO: Obtained the latest update center data file for UpdateSource default