Linux安装Tomcat

葛大爷 互联网 2015-08-03 1650
  1. 下载Tomcat

    root@gemaolin:/usr/java# wget http://gghui.qiniudn.com/apache-tomcat-6.0.44.zip

    root@gemaolin:/usr/java# unzip apache-tomcat-6.0.44.zip

  2. 授权

    root@gemaolin:/usr/java# cd apache-tomcat-6.0.44/bin

    root@gemaolin:/usr/java/apache-tomcat-6.0.44/bin# chmod +755 *.sh

  3. 启动、停止Tomcat

    root@gemaolin:/usr/java/apache-tomcat-6.0.44/bin# ./catalina.sh start

    root@gemaolin:/usr/java/apache-tomcat-6.0.44/bin# ./catalina.sh stop