3) 现在在终端运行命令:
$ /tools/tomcat*/bin/startup.sh #开启TOMCAT服务器
然后打开浏览器,输入http://localhost:8080或者 http://127.0.0.1:8080 如果你看到那只可爱的小猫了,就证明安装成功了!
备注:安装过程中遇到几个问题 问题1 : can't find the file 'setclasspath.sh'
在网络上找到如下解释,意思就是需要再设置
Then all you need to do is to include the complete paths for the BASEDIR and CATALINA_HOME variables in the files setclasspath.sh and catalina.sh respectively.
This should be done even if CATALINA_HOME has been defined and exported previously on the command line and/or in /etc/profile as well. Moreover, this error message persists even though the file setclasspath.sh is present in Tomcat's bin directory.