Skip to content

Commit f86c70e

Browse files
committed
updates
1 parent 5d12b58 commit f86c70e

File tree

1 file changed

+12
-34
lines changed
  • docs/els-for-applications/apache-tomcat

1 file changed

+12
-34
lines changed

docs/els-for-applications/apache-tomcat/README.md

Lines changed: 12 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Apache Tomcat is also available for installation as a library for Maven and Grad
1111

1212
## Supported Versions
1313

14-
* Apache Tomcat 8.5.100, 9.0.75, 9.0.83
14+
* Apache Tomcat 8.5.100, 9.0.50, 9.0.83
1515

1616
## Prerequisites
1717

@@ -36,7 +36,7 @@ Apache Tomcat is also available for installation as a library for Maven and Grad
3636
You need username and password to access the TuxCare ELS Apache Tomcat repository. Anonymous access is disabled.
3737
To obtain credentials, please contact [[email protected]](mailto:[email protected]).
3838

39-
Once you have credentials, you can access the repository at: [https://nexus.repo.tuxcare.com/repository/els_tomcat/](https://nexus.repo.tuxcare.com/repository/els_tomcat/)
39+
Once you have credentials, you can access the repository at: [nexus.repo.tuxcare.com/repository/els_tomcat/](https://nexus.repo.tuxcare.com/repository/els_tomcat/).
4040

4141
## Linux Installation
4242

@@ -69,35 +69,25 @@ Once you have credentials, you can access the repository at: [https://nexus.repo
6969
<CodeWithCopy>
7070

7171
```text
72-
curl -u USERNAME:PASSWORD -O https://nexus.repo.tuxcare.com/repository/els_tomcat/org/apache/tomcat/tomcat/8.5.100-tuxcare.3/apache-tomcat-8.5.100-tuxcare.3.tar.gz
72+
curl -u USERNAME:PASSWORD -O https://nexus.repo.tuxcare.com/repository/els_tomcat/org/apache/tomcat/tomcat/8.5.100-tuxcare.3/tomcat-8.5.100-tuxcare.3.tar.gz
7373
```
7474

7575
</CodeWithCopy>
7676

7777
Replace `USERNAME` and `PASSWORD` with your actual credentials.
7878

79-
2. The archive provided by TuxCare contains a container archive with metadata and the actual Tomcat package. Extract the container archive:
80-
81-
<CodeWithCopy>
82-
83-
```text
84-
tar -xvzf v8.5.100-tuxcare.3.tar.gz
85-
```
86-
87-
</CodeWithCopy>
88-
89-
3. Create the `/opt/tomcat` directory and extract the Apache Tomcat archive into it:
79+
2. Create the `/opt/tomcat` directory and extract the Apache Tomcat archive into it:
9080

9181
<CodeWithCopy>
9282

9383
```text
9484
sudo mkdir -p /opt/tomcat
95-
sudo tar -xvzf v8.5.100-tuxcare.3/bin/apache-tomcat-8.5.100-tuxcare.3.tar.gz -C /opt/tomcat --strip-components=1
85+
sudo tar -xvzf tomcat-8.5.100-tuxcare.3.tar.gz -C /opt/tomcat --strip-components=1
9686
```
9787

9888
</CodeWithCopy>
9989

100-
4. Change to the Tomcat installation directory:
90+
3. Change to the Tomcat installation directory:
10191

10292
<CodeWithCopy>
10393

@@ -204,11 +194,7 @@ Update permissions so that the `tomcat` user has access to the Tomcat installati
204194
205195
</CodeWithCopy>
206196
207-
Successful output should include:
208-
209-
```text
210-
<h2>If you're seeing this, you've successfully installed Tomcat.</h2>
211-
```
197+
Successful output will be an HTML page from Tomcat.
212198
213199
3. To stop Tomcat run:
214200
@@ -224,33 +210,25 @@ Update permissions so that the `tomcat` user has access to the Tomcat installati
224210

225211
### Step 1: Download Apache Tomcat
226212

227-
Download the Apache Tomcat archive from [https://nexus.repo.tuxcare.com/repository/els_tomcat/](https://nexus.repo.tuxcare.com/repository/els_tomcat/) using your credentials. The archive provided by TuxCare contains a container archive with metadata and the actual Tomcat package.
213+
Download the Apache Tomcat .zip archive from [https://nexus.repo.tuxcare.com/repository/els_tomcat/](https://nexus.repo.tuxcare.com/repository/els_tomcat/) using your credentials.
228214

229215
### Step 2: Extract and Install
230216

231-
1. Extract the downloaded archive.
232-
233-
2. Inside the extracted directory, find the actual Tomcat archive, for example, version 8.5.100:
234-
235-
```text
236-
bin\apache-tomcat-8.5.100-tuxcare.3.zip
237-
```
238-
239-
3. Extract it to the installation directory, e.g., `C:\Tomcat`.
217+
1. Extract the downloaded archive, for example, apache-tomcat-8.5.100-tuxcare.3.zip, to the installation directory, e.g., `C:\Tomcat`.
240218

241219
### Step 3: Configure Environment Variables
242220

243221
1. Right-click *This PC**Properties**Advanced system settings**Environment Variables*.
244222

245-
2. Add a new system variable named `CATALINA_HOME` with the value `C:\Tomcat` (or your installation path).
223+
2. Add a new system variable named `CATALINA_HOME` with the value `C:\Tomcat\apache-tomcat-8.5.100-tuxcare.3` (or your installation path).
246224

247225
### Step 4: Run Tomcat
248226

249-
1. Start Tomcat by double-clicking `C:\Tomcat\bin\startup.bat`
227+
1. Start Tomcat by double-clicking `C:\Tomcat\apache-tomcat-8.5.100-tuxcare.3\bin\startup.bat`.
250228

251229
2. Verify installation. Go to [http://localhost:8080/](http://localhost:8080/) in your browser. You should see the default Tomcat homepage.
252230

253-
3. Stop Tomcat by double-clicking `C:\Tomcat\bin\shutdown.bat`.
231+
3. Stop Tomcat by double-clicking `C:\Tomcat\apache-tomcat-8.5.100-tuxcare.3\bin\shutdown.bat`.
254232

255233
## Upgrading to a Newer TuxCare Version
256234

0 commit comments

Comments
 (0)