简体   繁体   English

如何在Ubuntu 12.04中重新安装tomcat7

[英]How to reinstall tomcat7 in ubuntu 12.04

I had tomcat7.Removed it and now am tryinh to reinstall it but am having an error.I have tried 我有tomcat7.Removed它,现在是tryinh重新安装它,但出现错误。

apt-get purge tomcat7

with no success. 没有成功。 Here is the screenshot of the terminal. 这是终端的屏幕截图。 在此处输入图片说明

I got the error,there are some packages that need to be remove before reinstalling. 我收到了错误消息,有些软件包在重新安装之前需要删除。 You should run this command 您应该运行此命令

sudo apt-get purge libtomcat7-java tomcat6 tomcat6-admin tomcat6-docs tomcat6-examples tomcat7 tomcat7-admin tomcat7-common tomcat7-docs tomcat7-examples tomcat7-user

before 之前

sudo apt-get install tomcat7

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM