关于 eclipse 和 tomcat under ubuntu14.04

4 篇文章 0 订阅
3 篇文章 0 订阅


Linux Commands To Uninstall Apache Tomcat Server In Ubuntu

if use apt-get install tomcat, this is usually used for a server, can uninstall it with below command, if want it work with eclipse, had better install tomcat manually.

the uninstalling tomcat is very easy, all you have to do is send this command:

SHELL COMMAND:

apt-get remove tomcat6


20p-2941-remove-tomcat.gif

thats it

if for some reason you get an error saying the package is not found, it maybe that you have a different version of tomcat, maybe its tomcat5 or tomcat7



////

How To List Installed Packages In Ubuntu

the command is simple:

SHELL COMMMAND:
dpkg --get-selections |more


lest say i want to know where tomcat6 is installed, this will display the location or path:
dpkg -L tomcat6



////

refer below articles

How should I install Apache Tomcat 7 for use with Eclipse?

`/usr/share/tomcat7/logs/catalina.out': No such file or directory

Which way should I install Apache Tomcat 7 on my Ubuntu:

  1. Using sudo apt-get install tomcat7
  2. From the zip file downloaded from Apache website.

I don't want the server to start on each boot. As most of the time I will be using it in my Eclipse to run simple Web applications. So, do I need to install it any other way to avoid tomcat start automatically?

share improve this question
 

4 Answers

eclipse的plugins目录eclipse的plugins目录eclipse的plugins目录eclipse的plugins目录eclipse的plugins目录

up vote 7 down vote accepted

You can use sudo apt-get install tomcat7 to install Tomcat.

To disable autostarting, run the following command after installing:

sudo update-rc.d tomcat7 disable


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值