CentOS 7 yum安装与配置 Tomcat


CentOS 7 yum安装与配置 Tomcat

  • 检测本机是否安装Tomcat
1
2
3
systemctl status tomcat.service
/*或者*/
systemctl status tomcat
  • 查看Tomcat信息
1
yum info tomcat
  • 安装Tomcat
1
yum -y install tomcat
  • 查看Tomcat是否安装成功
1
rpm -q tomcat

Tomcat默认安装路径/usr/share/tomcat/