4.4、tomcat7.0.5的端口(一般tomcat7.0.5的端口默认为8080),如果发生冲突,则可以在以下文件修改。
tomcat7/conf/server.xml 文件里的:
<Connector port="9090" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
4.5、这里已经进入了Java/tomcat7/bin文件夹内了。
输入:
sudo ./starup.sh
启动Tomcat 7。
若出现
Using CATALINA_BASE: /home/administrator/Java/tomcat7
Using CATALINA_HOME: /home/administrator/Java/tomcat7 Using CATALINA_TMPDIR: /home/administrator/Java/tomcat7/temp
Using JRE_HOME: /home/administrator/Java/jdk1.6.0_23
Using CLASSPATH: /home/administrator/Java/tomcat7/bin/bootstrap.jar:/home/administrator/Java/tomcat7/bin/tomcat-juli.jar
Using CATALINA_HOME: /home/administrator/Java/tomcat7 Using CATALINA_TMPDIR: /home/administrator/Java/tomcat7/temp
Using JRE_HOME: /home/administrator/Java/jdk1.6.0_23
Using CLASSPATH: /home/administrator/Java/tomcat7/bin/bootstrap.jar:/home/administrator/Java/tomcat7/bin/tomcat-juli.jar
则成功。
即如图: