Centos7Linux

CentOS安装Tomcat

2016-02-21  本文已影响113人  onweer

  1. 下载Tomcat
    http://tomcat.apache.org
  2. 使用xftp上传Tomcat压缩包到服务器/download目录
  3. 解压Tomcat
    tar xzvf apache-tomcat-7.0.68.tar.gz
    并重命名mv apache-tomcat-7.0.68/ tomcat
  4. 拷贝tomcat到/usr/local/
  5. 进入/bin目录,
  6. 启动tomcat 执行: sh startup.sh
    输出:
Using CATALINA_BASE:   /usr/local/tomcat
Using CATALINA_HOME:   /usr/local/tomcat
Using CATALINA_TMPDIR: /usr/local/tomcat/temp
Using JRE_HOME:        /usr
Using CLASSPATH:       /usr/local/tomcat/bin/bootstrap.jar:/usr/local/tomcat/bin/tomcat-juli.jar
Tomcat started.


给个github follow me的链接,上面有很多初学者可供学习的资料,项目.

<a>https://github.com/SuperZee</a>

上一篇下一篇

猜你喜欢

热点阅读