Ubuntu 安装 Tomcat 运行 war包

前提需要安装apach
ubuntu下安装tomcat

sudo apt-get install tomcat7

打包好的war包移动到 /var/lib/tomcat7/webapps/下面
重启服务器后就好啦

sudo /etc/init.d/tomcat7 restart

启动成功后就可以访问了 http:localhost:8080/包名

猜你喜欢

转载自blog.csdn.net/qq_27623521/article/details/79144750
今日推荐