Mac+IDEA+Tomcat configuration steps

Mac+IDEA+Tomcat configuration steps

1. Download

Open the Apache Tomcat official website and select the required version to download:

Select version to download

2. Installation and decompression

Unzip to a local path, I put it in /user/計算機名/ directory

Unzip

3. Start Tomcat

Enter the bin directory terminal in the figure above and run the script ./startup.sh
If it appears:

-bash: ./startup.sh: Permission denied

The reason is that the user does not have permission, which leads to failure to execute. You need to use the command chmod to modify the .sh permission in the bin directory. If it does not appear, it means that the startup is successful.

chmod u+x *.sh

After modification, re-execute the startup command: ./startup.sh to start.

Fourth, verify whether the installation is successful

Enter http://localhost:8080 in the browser address bar (or enter the computer IP + port number in the mobile browser to access it) and the following interface will be displayed:

tomcat started successfully

5. Shut down Tomcat

Or the previous ./shutdown.sh

6. IDEA configures tomcat

Enter configuration

Find the configuration path

Finally, click Apply -> OK to complete the configuration.

This is the end of this article about the steps to configure Mac+IDEA+Tomcat. For more relevant Mac IDEA Tomcat configuration content, please search for previous articles on 123WORDPRESS.COM or continue to browse the following related articles. I hope everyone will support 123WORDPRESS.COM in the future!

You may also be interested in:
  • IntelliJ IDEA Tomcat configuration details (picture and text)
  • IntelliJ IDEA Tomcat hot deployment configuration tutorial
  • Detailed configuration of IntelliJ IDEA using tomcat and jetty
  • IDEA2020.1.2 Detailed tutorial on creating a web project and configuring Tomcat
  • Solve the problem of IDEA configuring tomcat startup error
  • idea2017 build jsp project and tomcat configuration tutorial
  • Detailed tutorial on configuring Tomcat in IDEA Ultimate 2020.2
  • Idea configures tomcat to start a web project graphic tutorial

<<:  Web design skills: iframe adaptive height problem

>>:  After reading the introduction of CSS box model, you will not be confused

Recommend

Installation and deployment of MySQL Router

Table of contents 01 Introduction to MySQL Router...

How does MySQL connect to the corresponding client process?

question For a given MySQL connection, how can we...

Detailed usage of Vue timer

This article example shares the specific code of ...

Detailed explanation of the pitfalls of mixing npm and cnpm

Table of contents cause reason Introduction to NP...

How to install MySQL 8.0.17 and configure remote access

1. Preparation before installation Check the data...

Solution to the problem of installing MySQL compressed version zip

There was a problem when installing the compresse...

When MySQL is upgraded to 5.7, WordPress reports error 1067 when importing data

I recently upgraded MySQL to 5.7, and WordPress r...

Problem analysis of using idea to build springboot initializer server

Problem Description Recently, when I was building...

Using CSS3 and JavaScript to develop web color picker example code

The web color picker function in this example use...

The DOCTYPE mode selection mechanism of well-known browsers

Document Scope This article covers mode switching...

MySQL 8.0.18 Installation Configuration Optimization Tutorial

Mysql installation, configuration, and optimizati...

In-depth discussion on auto-increment primary keys in MySQL

Table of contents Features Preservation strategy ...