This post will look at how we can install the apache tomcat server on mac and window using some very simple steps.
Let’s look at them one by one.
Installing Apache Tomcat on Mac
- Go to https://tomcat.apache.org/download-80.cgi.
- Click on the zip link to download the compressed file.
![Click on the zip link to download apache tomact zip file](https://www.codekru.com/wp-content/uploads/2022/08/Screenshot-1944-06-06-at-3.25.02-PM.png)
- Uncompress the downloaded file and move it to any convenient location.
- Go to the apache tomcat folder.
- There, you will see a bunch of folders.
![](https://www.codekru.com/wp-content/uploads/2022/08/Screenshot-1944-06-06-at-3.28.27-PM.png)
- Make the scripts in the bin subfolder executable by running the command: chmod +x bin/*.sh
- Launch Tomcat using the catalina.sh script. Use command bin/catalina.sh run
- Tomcat runs on the 8080 port by default. Go to http://localhost:8080/ to check whether it’s working.
You should see the below page.
![Apache introduction page](https://www.codekru.com/wp-content/uploads/2022/08/Screenshot-1944-06-06-at-3.35.48-PM.png)
Installing Apache Tomcat on Windows
- Go to https://tomcat.apache.org/download-80.cgi
- Click on 32-bit/64-bit Windows Service Installer
![Click on the service installer to download apache](https://www.codekru.com/wp-content/uploads/2022/08/Screenshot-1944-06-06-at-3.32.09-PM.png)
- Launch and complete the installation.
- Tomcat runs on the 8080 port by default. Go to http://localhost:8080/ to check whether it’s working.
We hope that you will be able to run the apache tomcat server on your machine now. If you have any doubts or concerns, please feel free to write us in the comments or mail us at admin@codekru.com.