如何使用xshell在阿里云服务器上安装tomcat

1、首先需要下载tomcat:https://tomcat.apache.org/

2、使用sz:下载,rz上传。

首先需要安装服务:yum -y install lrzsz

 安装完毕之后,使用rz命令将你下载好的tomcat上传到你当前的坐在目录。

3、解压:tar zxvf 文件名

 4、配置环境

首先进入到bin目录:

扫描二维码关注公众号,回复: 9679416 查看本文章

 编辑setclasspath.sh文件:

 加入如下内容:

 5、运行tomcat

回到bin目录下运行startup.sh 文件

猜你喜欢

转载自www.cnblogs.com/Guorisy/p/12446519.html