我正在尝试将一个旧应用程序移植到一个新服务器上,并需要在Tomcat5 6.4上安装CentOS。这显然不是一个简单的任务。
当我尝试:
yum install tomcat5 tomcat5-admin-webapps tomcat5-webapps我收到
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.easynews.com
* extras: centos.mirror.freedomvoice.com
* updates: yum.phx.singlehop.com
Setting up Install Process
No package tomcat5 available.
No package tomcat5-admin-webapps available.
No package tomcat5-webapps available.
Error: Nothing to do如何安装和运行较早版本的Tomcat?
发布于 2013-06-11 20:13:52
Tomcat 5在CentOS回购中不可用,您需要手动安装它。
1. Download the version from the below link
http://archive.apache.org/dist/tomcat/tomcat-5/
2. Extract the downloaded file.
3. Change the permission for the conf folder.
4. start the tomcat from startup.sh file inside the bin directory.确保在服务器上安装了JAVA。
发布于 2013-06-11 20:13:12
CentOS 6附带的是Tomcat 6,而不是Tomcat 5。您可以为Tomcat 5运行CentOS 5,也可以从档案馆下载Tomcat 5以在CentOS 6下运行。不过,您可能会遇到其他错误。YMMV
https://serverfault.com/questions/515087
复制相似问题