Windows下的apache tomcat安装与配置

  1. 在官网http://tomcat.apache.org下载apache tomcat,我下载的是7可以自行选择版本;Windows下的apache tomcat安装与配置

  2. 解压缩,把解压文件放入C盘根目录下Windows下的apache tomcat安装与配置

  3. 配置环境变量,变量名位CATLINA_HOME,变量值为tomcat文件夹所在路径Windows下的apache tomcat安装与配置

  4.  

    打开apache-tomcat-7.0.92\conf\server.xml,在8080端口配置UTF-8字符编码,添加圈中的文字,保存退出Windows下的apache tomcat安装与配置

     

  5. win + r打开运行窗口,输入cmd,进入apache-tomcat文件下的bin文件夹,运行server.batWindows下的apache tomcat安装与配置

    出现如下窗口:Windows下的apache tomcat安装与配置

     

  6. 然后打开浏览器,输入localhost:8080,弹出如下界面则成功:Windows下的apache tomcat安装与配置

     

posted on 2019-01-09 15:44 简志睿 阅读(...) 评论(...) 编辑 收藏