Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install Apache Tomcat in mac's terminal

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

The first is to download Apache Tomcat

The web address is http://tomcat.apache.org/download-70.cgi

After downloading, decompress it to your usual directory, here I put it in desktop

Enter the bin package of the apache file by entering the following command line

Cd / Users/akilyu/Desktop/apache-tomcat-7.0.78/bin1

Then enter. / startup.sh to start tomcat

. / startup.sh2

If Permission denied appears at this time, it indicates that the current permission cannot make this command. One of the solutions is to enter

Chmod uplix * .sh2

Description:

Chmod is an acronym for change the permission mode of a file (changing a file's permission). U stands for user,x for execution permission, and + for increasing permission.

Chmod ubix *. Sh means to add executable permissions to the owners of .sh files in the current directory.

Enter again

. / startup.sh2

The following code is displayed, followed by a prompt for Tomcat started

Enter the web page behind the terminal port when http://localhost:8080/ appears in the browser indicating that the installation is successful

The above is the editor to introduce to you the method of installing Apache Tomcat in mac's terminal. I hope it will be helpful to you. If you have any questions, you are welcome to leave a message. The editor will reply you in time!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report