linux安装tomcat + jdk
时间: 2023-08-18 16:06:01 浏览: 139
要在Linux系统中安装Tomcat和JDK,可以按照以下步骤进行操作:
1. 首先,确保已经下载了Tomcat和JDK的安装包。可以参考引用和引用中提供的资源链接进行下载。
2. 解压Tomcat和JDK的安装包。可以使用以下命令进行解压:
```
tar -zxvf <tomcat安装包名称>.tar.gz
tar -zxvf <jdk安装包名称>.tar.gz
```
3. 设置环境变量。打开`~/.bashrc`文件,将以下内容添加到文件末尾:
```
export CATALINA_HOME=<tomcat解压目录的路径>
#### 引用[.reference_title]
- *1* [linux安装教程+oracle的安装+jdk安装+tomcat安装.docx](https://download.csdn.net/download/hetiedan123/12047279)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *2* [tomcat8+jdk1.8.zip](https://download.csdn.net/download/sunny_sailor/21107718)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *3* [Java零基础(JDK13) - 常用DOS命令 - cd回到上级以及回到根.md](https://download.csdn.net/download/qq_42431718/88205481)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
[ .reference_list ]
阅读全文