开发者

Installing Tomcat for my Mac Local Environment [closed]

开发者 https://www.devze.com 2022-12-17 06:47 出处:网络
Closed. This question does not meet Stack Overflow guidelines. It is not开发者_运维问答 currently accepting answers.
Closed. This question does not meet Stack Overflow guidelines. It is not开发者_运维问答 currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 3 years ago.

Improve this question

I need to install Tomcat on my local mac environment. Only tutorials I am finding are from some time ago. Running Snow Leopard. Anyone know of any good resources for this?


Macports is your friend in this case. If you need to get Tomcat up and running quickly and don't want to worry about install details, you can install it with macports using port install tomcat5 (or tomcat6). There should be output from port near the end of the install that tells you how to set Tomcat to start up automatically.


Another option is to go with Pivotal tc Server Developer Edition (http://www.gopivotal.com/products/pivotal-tc-server), which is a free drop-in replacement for Apache Tomcat.

Installing it on OSX straightforward. First, open Terminal then install HomeBrew if you don't have it:

ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"

Next, run the following Homebrew command:

brew tap pivotal/tap && brew install tcserver

This will connect to the Pivotal HomeBrew repository, then download and install tc Server. From there you can follow the instructions in the Terminal.

Full disclosure: I work for Pivotal and am part of the tc Server product team, and one of our goals is to make it super easy to get started with tc Server on OSX. Any questions, you can reach me at @alsargent on Twitter.

0

精彩评论

暂无评论...
验证码 换一张
取 消