# 安装JDK
## 下载JDK
## 安装JDK
rpm -ivh 
# 安装Tomcat
## 下载Tomcat

wget http://mirrors.tuna.tsinghua.edu.cn/apache/tomcat/tomcat-9/v9.0.27/bin/apache-tomcat-9.0.27.tar.gz
tar xvf apache-tomcat-9.0.27.tar.gz -C /opt
## 安装Tomcat

# 配置Tomcat
## tomcat 管理员密码
https://jingyan.baidu.com/article/fea4511a1c624ef7bb9125ec.html

/opt/tomcat9/conf/tomcat-users.xml

```
<role rolename="manager-gui"/>
<role rolename="manager-script"/>
<role rolename="manager-jmx"/>
<role rolename="manager-status"/>
<user username="tomcat" password="123456" roles="manager-gui,manager-script,manager-jmx,manager-status"/>
```

# 常见问题处理
