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

Vue realizes the function of uploading photos on PC

This article example shares the specific code of ...

Steps to use ORM to add data in MySQL

【Foreword】 If you want to use ORM to operate data...

Detailed explanation of Linux index node inode

1. Introduction to inode To understand inode, we ...

What we have to say about CSS absolute and relative

Written in the opening: Absolute said: "Rela...

How does Vue solve the cross-domain problem of axios request front end

Table of contents Preface 1. Why do cross-domain ...

Data URI and MHTML complete solution for all browsers

Data URI Data URI is a scheme defined by RFC 2397...

Centos7.5 installs mysql5.7.24 binary package deployment

1. Environmental preparation: Operating system: C...

Detailed explanation of the relationship between React and Redux

Table of contents 1. The relationship between red...

The unreasonable MaxIdleConns of MySQL will cause short connections

1 Background Recently, some performance issues ha...

How to display the border when td is empty

Previously, I summarized how to use CSS to achieve...

Introduction to query commands for MySQL stored procedures

As shown below: select name from mysql.proc where...