CentOS yum 安装、卸载Tomcat

CentOS版本:CentOS-7-x86_64-Minimal-1511


1、查找安装包名称

[root@localhost~]#yum search tomcat

2、安装

[root@localhost~]#yum install tomcat tomcat-webapps tomcat-admin-webapps

3、启动

[root@localhost~]#systemctl start tomcat.service

3、卸载

[root@localhost~]#yum -y remove tomcat*

4、修改默认8080端口和配置UTF-8字符编码

[root@localhost~]#vi /etc/tomcat/server.xml





你可能感兴趣的:(Linux)