枫叶飞翔 发表于 2018-12-4 10:47:05

centos7 安装tomcat7

  1、在http://tomcat.apache.org下载Tomcat7的ZIP版本,然后解压到/usr目录下
  unzip apache-tomcat-7.0.57
  2、添加执行权限
  chmod 777 -R apache-tomcat-7.0.57
  添加管理账户:
http://s3.运维网.com/wyfs02/M02/5B/B1/wKioL1URFNvTqRn7AAB7fC9Oac8645.jpg
  3、启动
  /usr/apache-tomcat-7.0.57/bin/startup.sh
  4、关闭
  /usr/apache-tomcat-7.0.57/bin/shutdown.sh
  5、打开8080、80、8009端口。

页: [1]
查看完整版本: centos7 安装tomcat7