# Technical Tips

# Installing Apache Tomcat in Debian 11

### Prerrequites

The following prerequisites are assumed:

1. Java is correctly installed in the machine.
2. The machine is correctly updated.
3. wget, vim, unzip are installed in the machine.

### Download and Install Apache Tomcat

Goto [<span class="link-annotation-unknown-block-id--1228322485">https://tomcat.apache.org/download-10.cgi</span>](https://tomcat.apache.org/download-10.cgi) and download the .zip file. Donwload it to a designated directory using wget. In the case of this writing I used the following command to download the .zip file of the latest Tomcat release

```bash
$ cd /opt
$ mkdir download
$ cd download
$ wget https://dlcdn.apache.org/tomcat/tomcat-10/v10.1.9/bin/apache-tomcat-10.1.9.zip
```

The previous commands leaves the apache-tomcat-10.0.23.zip file in the directory `/opt/download`. Unzip it and the result directory move to `/opt`

```bash
$ unzip apache-tomcat-10.1.9.zip
$ mv apache-tomcat-10.1.9 ..
```