linux tomcat配置

--解压tomcat
unzip apache-tomcat-7.0.65.zip
--修改tomcat默认字符集为UTF-8
vi apache-tomcat-7.0.65/conf/server.xml
--server的配置的Connetor节点可以自行修改tomcat的端口号,在此节点添加一个属性 URIencoding="utf-8"
--给tomcat的对应文件设置可执行权限
chmod 777 apache-tomcat-7.0.65/bin/*.sh

posted @ 2017-05-23 10:04  车祸现场  阅读(131)  评论(0编辑  收藏  举报