MAC系统中使用brew install tomcat 安装tomcat

MacBook-Pro:~ sunyifeng$ brew install tomcat

Updating Homebrew...

==> Auto-updated Homebrew!

Updated 1 tap (homebrew/core).

==> New Formulae

php-code-sniffer                                   phpunit

==> Renamed Formulae

php56 -> [email protected]


==> Downloading https://www.apache.org/dyn/closer.cgi?path=/tomcat/tomcat-9/v9.0.6/bin/apache-tomcat

==> Best Mirror http://mirrors.shu.edu.cn/apache/tomcat/tomcat-9/v9.0.6/bin/apache-tomcat-9.0.6.tar.

######################################################################## 100.0%

==> Caveats

To have launchd start tomcat now and restart at login:

  brew services start tomcat

Or, if you don't want/need a background service you can just run:

  catalina run

==> Summary

发布了57 篇原创文章 · 获赞 59 · 访问量 36万+

猜你喜欢

转载自blog.csdn.net/mrsyf/article/details/79777240