1.将tomcat安装包放置到/user/tomcat/目录下,解压
2.配置环境变量
设置TOMCAT 编辑/etc/profile在末尾添加export TOMCAT=/user/tomcat/**
设置PATH 编辑/etc/profile在末尾添加export PATH=TOMCAT/bin:PATH
3.运行source /etc/profile文件
liunx下绿色版Tomcat安装
最新推荐文章于 2025-08-13 02:10:03 发布
1.将tomcat安装包放置到/user/tomcat/目录下,解压
2.配置环境变量
设置TOMCAT 编辑/etc/profile在末尾添加export TOMCAT=/user/tomcat/**
设置PATH 编辑/etc/profile在末尾添加export PATH=TOMCAT/bin:PATH
3.运行source /etc/profile文件