centos7.4安装tomcat

--------------------------------------------------------------------------------
centos7.4安装tomcat
--------------------------------------------------------------------------------


一、安装tomcat


首先安装jdk,再安装tomcat


wget http://mirrors.shu.edu.cn/apache/tomcat/tomcat-8/v8.0.52/bin/apache-tomcat-8.0.52.tar.gz  #下载tomcat
tar xzf apache-tomcat-8.5.23.tar.gz   #解压
mv apache-tomcat-8.5.23 /usr/local/tomcat/ #把解压的文件移到/usr/local/tomcat/
/usr/local/tomcat/bin/startup.sh #启动tomcat


二、用浏览器查看网址 http://localhost:8080,如果显示If you're seeing this, you've successfully installed Tomcat. Congratulations! 则安装成功。


If you're seeing this, you've successfully installed Tomcat. Congratulations!


If you're seeing this, you've successfully installed Tomcat. Congratulations!

If you're seeing this, you've successfully installed Tomcat. Congratulations!

If you're seeing this, you've successfully installed Tomcat. Congratulations!


你可能感兴趣的:(JAVA)